Hitachi

uCosminexus Application Server Command Reference Guide


cjgetsysinfo (get OS status)

Organization of this page

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.

The following are the OS status information acquisition commands for Windows:

netstat -e

netstat -s

netstat -an

set

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

Linux

df -k

ps -elf

ps -A -m -o THREAD

vmstat -t 1 1

vmstat -s

lsps -s

netstat -i

netstat -m

netstat -an

iostats

svmon -P

svmon -G

sar -A 1

instfix -i

lslpp -hac

uname -a

env

set

ipcs -a

df

ps -eflm

vmstat

netstat -s

netstat -an

iostat#

top -b -n 1

sysctl -a

sar -A 1 1#

rpm -qa

rpm -qai

uname -a

env

set

ipcs

ipcs -t

ipcs -p

ipcs -c

ipcs -u

ipcs -l

#

The sysstat package must be installed.

Arguments

-f path-of-OS-state-information-output-file

Specifies the file path used to output the OS state information.

In UNIX, you cannot specify a file path that includes a single-byte space.

Output examples

An example for AIX is shown below:

[Figure]

Return values

0:

The command terminated normally.

1 or higher:

The command terminated abnormally.

Notes