Troubleshoot > HP Service Manager Doctor > Command References > Operating System commands (os)

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
  • AIX: prtconf
  • HPUX PA-RISC: model
  • HPUX ITATIUM: machinfo
  • Solaris: isainfo -kv
  • 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.

  • Solaris: sysdef
  • Linux: sysctl -n
  • HPUX: kctune -v
  • AIX: Not available

os -sharedmemory

-udpbuffer

Retrieves the UDP buffer size.

  • Solais: ndd -get
  • Linux: sysctl -n
  • AIX: no -o
  • HPUX: ndd -get

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.