[Turn] Linux command: ps -ef | grep java

Transfer: https://www.cnblogs.com/feizifeiyu/p/8492550.html

A, ps -ef | grep java

View contains "java" all processes

Second, involve command Detailed

ps command displays a process (under LINUX is the most commonly used is also very powerful process view command)

grep command is to find (the text search is a powerful tool that can use regular expressions to search text, and print out the matching rows, grep stands for Global Regular Expression Print, represents the global regular expression version, its usage rights all users)

Middle | pipeline command refers to the ps command with grep executed simultaneously

 

ps -ef | grep java each data represents the meaning of the query command:

UID: The program is owned UID

PID: is the ID of this program 

PPID: the parent program is the ID of its parent

C: the percentage of CPU resources used

STIME: system startup time

TTY: terminal's location Login

TIME: use out of CPU time.

CMD: The command issued what

Guess you like

Origin www.cnblogs.com/wjqhuaxia/p/11844862.html