Linux system status commands and utilities

uptime

This command displays a one line summary showing...

Example: uptime
11:42pm up 18 days, 8:45, 1 user, load average: 0.00, 0.00, 0.00

  • Current time (11.42pm)
  • Number of days since last boot (up 18 days)
  • Number of users logged in (1 user)
  • System utilization for the last 1, 5 and 15 minute intervals (load average)

who

This command will display...

Options:

Example: who -iH

USER LINE LOGIN-TIME IDLE FROM
roger ttyp0 Jun 5 23:27 . (omni)

id

This command displays a one line summary for the current user listing...


free

This command displays statistics on memory usage. The values represent KB's.


du

This command stands for disk usage and will print the size of the current directory and subdirectories in 1 KB sizes.


df

This command displays information for each file system.


env

This command lists all shell (environment) variables and their contents for the current user.

top of page


ps

This command lists process status. There are many options for this command. Below are the two most common.

Example: ps u (process status for current user)

Example: ps ax (process status of all processes for all users and system)


top

This command display a full screen of information of the top processes. It will update automatically until the program is stopped. To stop the display, enter  q

 


System Info - procinfo

procinfo gathers some system data from the /proc directory and prints it formatted on the screen.

Some of the information displayed is

procinfo -fn30
To exit, simply press q