sysinfo

Gather system information for troubleshooting purposes (QNX Neutrino)


Note: You must run this script as root.

Syntax:

sysinfo [options]

Runs on:

QNX Neutrino, Microsoft Windows, Linux

Options:

-l
Use logging mode (loops gathering data in a cycled mode).
-s
Suppress the prompt.
-F dir
Specify a target directory for output files. The default is /tmp.
-D delay
Specify a delay in seconds between cycles in logging mode.
-P priority
Specify the priority at which to gather the data, in the range 0–254. The default is 10.

These options indicate what information to gather:

Option Information gathered
-A All
-a Audio
-f Filesystem
-g Graphics
-h HID
-m Modem
-n Network
-p PCCard
-u USB

Description:

The sysinfo script gathers system information based on the options you specify, and then stores the output in a sysinfo.tar.gz file located in the target directory specified by the -F option (the default is /tmp). QNX Technical Support might ask you to use this script to gather information to help them solve a problem on your system.

The sysinfo script offers a logging mode, which runs at the specified priority (default 10) and logs general system information. It logs the files in a ring mode, such that it keeps the last four entries, so that there is some system history for a problem that's being tracked. This is good for systems that are rebooting because of an error on the system; a running log of what happened in the system last could give some hints as to what went wrong.

Examples:

Fetch all system information that pertains to audio, graphics, and HID, and place it in the default /tmp/sysinfo.tar.gz file:

sysinfo -a -g -h

See also:

qbinaudit, qconfig, QWinCfg, showlicense