generate report on system configuration for diagnostic use
/etc/sysinfo [-b | -h | -t] [-cdr] [-f filename] [-l lines] [-q | -v] [-s seconds] [command_list]
The sysinfo command gathers information about system configuration,
setup, and usage, and builds a report to help diagnose system problems.
sysinfo executes a series of UNIX commands and incorporates their
The report can be generated in either HTML or Text formats and provides
an execution summary, listing any commands that fail or timeout.
The sysinfo command creates a system information report, scanning
either the entire system or specific subsystems as directed by the
You can also use sysinfo to create a live system dump, and
can specify any executable as part of command_list.
The default behavior with no options is to create an HTML report
The command does not return any output to the screen unless -q
or -v are specified.
The available options are:
Create both html and text reports.
Create an html report only (default).
Create a text report only.
Creates a report and archives the new report (plus any previous reports
found in the report directory) in a
If specified with -d, a live system dump is also taken
and archived in the tar file.
Create and archive a live system dump in
Link the new HTML report to any previous reports found in the report
Specify different report pathname or filename (default is
/var/adm//sysinfo.html); if relative path is given, it is
evaluated relative to the current working directory of the invoking process.
Sets the maximum length of command/log listings (default is 200 lines; maximum
is 999 lines).
Quiet - display minimal progress indicators.
Verbose - display each UNIX command as it is executed.
Sets the timeout for individual commands (default is 30 seconds; maximum is
Option defaults can be changed in the file
(with the exception of the file names used for the -c
and -d options).
The provided commands for command_list are:
basic configuration information
networking configuration and statistics
NFS and NIS statistics
Point-to-Point (PPP) protocol statistics
serial and UUCP configuration
filesystem information and statistics
The following commands work only if the indicated product is installed:
Advanced File and Print Server (AFPS)
Linux Kernel Personality (LKP)
NonStop Clustering (NSC)
Online Data Manager (ODM)
A report summary shows commands that failed with a non-zero exit status.
To generate an HTML report named /var/adm/status.html,
generate alive system dump, and watch as each command is executed:
sysinfo -dvf /var/adm/status.html
To generate an HTML report specific to networking and performance:
sysinfo -v net perf
To generate a report for a PPP configuration problem:
sysinfo -v net ppp uucp
To generate a text report called current.txt in
sysinfo -tf /home/admin/reports/current
If you have a slow system or if some commands are taking more than 30
seconds to complete, extend the timeout to one minute:
sysinfo -s 60
© 2007 The Santa Cruz Operation, Inc. All rights reserved
OpenServer 6 and UnixWare (SVR5) HDK - 05 June 2007