Menu

How to check the status of system resources

Login to the real-time system of the industrial intelligent computer

Log in to the real-time system of the industrial intelligent computer, full name of iComputer, refer to the documentation.

 


Command "htop" to view real-time system CPU and memory resource status

htop

Blue area

  • Which core of the CPU is represented by 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, and 15 respectively
  • Mem represents the status of physical memory
  • Swp represents the status of exchange partition

Green area

  • Tasks represent the total number of processes and the current number of running processes
  • Load average refers to the average load situation, which is 1-minute load, 5-minute load, and 15 minute load, respectively
  • Uptime refers to the running time of the system from startup to now

Red area

  • PID: Process identifier, which is a non-zero positive integer
  • User: The username of the process owner
  • PR: Priority level of processes
  • NI: Priority level value of the process
  • VIRT: Virtual memory value occupied by processes
  • RES: The physical memory value occupied by the process
  • SHR: Shared memory value used by processes
  • S: The state of the process, where S represents sleep, R represents running, Z represents dead state, and N represents a
  • negative priority value for the process
  • %CPU: The CPU usage rate occupied by the process
  • %MEM: The percentage of physical memory and total memory occupied by the process
  • TIME+: The total CPU time occupied by the process after startup
  • COMMAND: The name of the startup command used to start the process

Yellow area

The shortcut function defined in the F1-F10 function keys in the picture is the bottom menu bar.

Function Key Description
F1 Invoke htop Help
F2 Htop Setup Menu
F3 Search for a Process
F4 Incremental process filtering
F5 Tree View
F6 Sort by a column
F7 Nice - (change priority)
F8 Nice + (change priority)
F9 Kill a Process
F10 Quit htop

 


Command "df" to view real-time system disk status

1.df - h displays the disk space usage of the file system.

df -h

Last modified: 2024-11-14