1. Process: Running Program
2. Role of Process Management: (1) Determine the health status of the server (2) View all processes in the system (3) Kill process
3. View all the process Linux commands
(1) PS aux (2) Ps-le
Option: A: Displays all processes of a terminal, except session leader
U: Show the user and memory usage of the process
x: Show process without control terminal
-L: Long format display for more detailed information
-e: Show All Processes
Output of the 4.ps command
(1) User: Who generated the process
(2) PID: ID number of the process
(3)%CPU: The process consumes a percentage of CPU resources, the higher the consumption, the more resources the process consumes
(4)%MEM: The process consumes the percentage of physical memory, the higher the consumption, the more resources the process consumes
(5) VSZ: The size of the virtual memory that the process occupies, in kilobytes
(6) RSS: The process consumes the actual physical memory size, in kilobytes
(7) TTY: Which terminal the process is running on
(8) STAT: Process status,
(9) Start: The start time of the process
(10) Time: The process takes up the CPU's operating hours
(11) Command: Produces the name of this process
5.pstree Viewing the process tree
Option:-P: Show PID of the process
-U: Shows the user who owns the process
Linux Process Management