Operating System commands (os)

Operating System commands collect basic information about the current operating system.

The timeout for Operating System commands is 180 seconds.

Option

Description

Usage

-ip

Retrieves the server IP addresses.

os -ip

-diskspace

Retrieves the disk space on the server, including the total space and free space.

os -diskspace

-sys

Retrieves server system information.

  • Windows: systeminfo
  • Linux: uname -a

os -sys

-openfile

Retrieves the open file limit as returned by the ulimit -n command.

Note Only for UNIX.

os -openfile

process

Retrieves all processes that are currently running.

  • Unix: ps -ef
  • Windows: wmic process get executablepath

os -process

-ipcs

Retrieves the status of inter-process communication

os -ipcs

-sharedmemory

Retrieves the maximum size of shared memory and the count of shared memory segments.

  • Linux: sysctl -n

os -sharedmemory

-udpbuffer

Retrieves the UDP buffer size.

  • Linux: sysctl -n

os -udpbuffer

-all

Runs all Operating System commands at one time and returns the result in the output.

os -all

-help

Displays Help information.

Note If the -help option is used together with other options, only Help information is returned.

os -help

-dlog

Outputs the command result to html and txt files.

os -all -dlog

Note For Windows platforms, x86 represents the 32-bit version and x64 represents the 64-bit version.