Linux Command ps aux | grep xxx detailed description to monitor and control the Process, the first must understand the current Process, that is, to view the current Process, and ps command (Process Status) is the most basic and very powerful process view command. you can use this command to determine which processes are running and running, whether the processes are finished, whether the processes are botnets, and which processes are occupying excessive resources. in short, most of the information can be obtained by executing this command. ps provides a one-time View of the process. The results are not dynamically consecutive. To monitor the process time, use the top tool. If you use the ps command directly, the status of all processes is displayed. Generally, you can use the grep command to view the status of a process. Grep (global search regular expression (RE) and print out the line, full search for regular expressions and print out rows) is a powerful text search tool, it can use regular expressions to search for text and print matching rows. Example: [root @ node20 updateDB] # ps aux | grep./update_stockroot 14232 0.0 0.0 5928 724 pts/1 S + grep./update_stockroot 25021 0.0 0.0 3056 816? S Apr12 0: 03. /update_stock ps aux output format: user pid % CPU % mem vsz rss tty stat start time command Format Description: USER: Travel owner PID: pid % CPU: occupied CPU usage % MEM: occupied memory usage VSZ: occupied virtual memory size RSS: occupied memory size TTY: terminal secondary device number (minor device number of tty) STAT: status of the trip, linux processes have five statuses: D cannot be interrupted. uninterruptible sleep (usually IO) R runs runnable (on run queue) S interrupts sleepingT to stop traced or stoppedZ freezes a defunct ("zombie ") process Note: other statuses include W (no resident page), <(high-priority process), N (low-priority process), and L (Memory Lock page ). START: start time of the trip TIME: execution time command: executed COMMAND