cjgetsysinfo (get OS status)
Format
cjgetsysinfo [-f path-of-OS-status-information-output-file]
Function
This command obtains information about the status of the OS. The execution results of the OS status information acquisition commands are output to the standard output or to the file specified by the -f option.
# For versions earlier than the version 08-00, the netstat -a command is used.
The OS status information acquisition commands for UNIX are shown in the table below.
Table 2-3 List of OS status information acquisition commands
AIX | HP-UX | Linux | Solaris |
---|---|---|---|
df -k ps -elf ps -A -m -o THREAD vmstat -t 1 1 vmstat -s lsps -s netstat -i netstat -m netstat -an#1 iostats svmon -P svmon -G sar -A 1 instfix -i lslpp -hac uname -a env set ipcs -a | df -kt top -s 1 -d 1 ps -efl vmstat vmstat -s netstat -i netstat -an#1 iostat sar -A 1 swapinfo -a kmtune swlist swlist -l product uname -a env set ipcs -a | df ps -eflm vmstat netstat -s netstat -an#1 iostat#2 top -b -n 1 sysctl -a sar -A 1 1#2 rpm -qa rpm -qai uname -a env set ipcs ipcs -t ipcs -p ipcs -c ipcs -u ipcs -l | df -k ps -eflL vmstat vmstat -s netstat -i netstat -m netstat -an#1 iostat mpstat swap -l sar -A 1 sysdef pkginfo patchadd -p uname -a env set |
Arguments
Output examples
An example for AIX is shown below:
Return values
Notes