Process
1. Process definition
process is the work that the CPU does not complete
2.ps command
PS A is also displayed for all processes in the current environment, not your own
x all processes unrelated to the current environment
F Show Process dependencies
e Displays all processes in the current user environment
L long list shows details of the process
U display user information for the process
PS Ax-o%cpu,%mem,user,group,comm,nice Specify some information for the display process
%CPU load
MEM Memory Load
User users
Group groups
Comm Name
Nice priority
PS ax-o%cpu,com--sort <+|-%cpu><+|-%mem> Sort by process information
+ Positive Sequence-flashback
3. Process priority
1 "Process priority range -20~19
2 "Priority View"
PS Ax-o Pid,nice,comm
3> specify a priority to open a process
Nice-n Priority Numeric Process name
Nice-n 5 Vim
4> Change Process Priority
Reince-n Priority Digital Process PID
Reince-n 5 18026 Change Process 18026 priority is 5
0 for recovery
Vim & Watch background, no use of terminal
4. Front and back calls to processes in the environment
Jobs view the process of being driven back into the environment
CTRL + Z takes the terminal process into the background
FG back the backstage process to the foreground
BG turns on the background pause process
Comm & let Commands run in the background
5. Signal process
1 "Common signal class
1 Process Reload configuration shell can not reload
2 and CTRL + C effect the same
3 Hidden processes
9 forcing the shutdown process
15 Normal shutdown process
18 Let the process run in the background
19 Let the process stop in the background
20 Push the process into the background and pause
Man 7 signal View signal details
Kill-Signal Process PID
Killall-Signal Process name
Pkill-u name (student)-Signal batch processing user's process
6. User Login Audit
1. W See what the current user of the system is using
W-f see where to use
2. Last View User Login success History
3. LASTB View User Login failure History
7.top command
? /h Help
1 CPU First Core load
Monitoring System Load Tool
This article from the "12147236" blog, reproduced please contact the author!
Introduction to Linux Rookie process detailed