Search Kernel version
UNAME-A//Uname-r
Process Snapshot
PS Report a snapshot of the processes
User Process Owner
Pid Process ID Process number
%CPU process consumes CPU percentage
%MEM Percentage of process consuming memory
VSZ Virtual memory
RSS Real Memory
Tty Terminal Terminal
STAT Status of the process
Main state (note: Host status one process only one)
D Non-disruptive sleep
S interruptible Sleep
X dead process (not visible)
R is executing or is going to execute the process
Z Defunct (zombie)
T Stop Program paused
Secondary status (note: can be multiple)
S process leader Session leader
L Multi-thread Multithreading
L Page-lock page Lock
< high priority but not precedence over other processes
N low-priority but takes precedence over other processes
+ Foreground Front Desk
Start Opening time
Time Runtime
Command process run instructions (inter-process relationships)
Usage:
1. Simple dot PS xf//note:ps-xf is isn't right
2.ps AUXF Full of
Process monitoring
Top Monitor
Pid Process ID Process number
User Process Owner
PR System priority
NI True priority
VIRT Virtual memory
Res Real memory
Shr Shared memory
SRunning state
%cpu CPU Usage
%MEM Memory utilization
time+ Time
COMMAND Command
You can press h for help
You can adjust the instructions you need.
How to drop a program into the background
./xxxxx & Drop the XXXXX program into the background execution
./xxxxx
CTRL + Z drop the program into the background and pause the program
View background tasks
Jobs
Drop the background task to the foreground to execute
FG + Drop the background with the + sign program to the foreground
FG-Drop the program in the background with the sign in the foreground
FG 1 Drop the background task number 1 program to the foreground
Linux process Snapshot related knowledge