ps -ef|grep detailed explanation
ps command displays a certain process
The grep command is to find the | in the middle of
. The pipe command means that the ps command and grep are executed at the same time.
PS is the most commonly used and very powerful process viewing command under LINUX
The grep command is search, a powerful text search tool that uses regular expressions to search for text and prints matching lines.
The full name of grep is Global Regular Expression Print, which represents the global regular expression version. Its usage permissions are for all users.
Recommended learning:Linux operating system tutorial
The following command is to check whether the java process exists: ps -ef |grep java
Field meaning As follows:
UID PID PPID C STIME TTY TIME CMD
zzw 14124 13991 0 00:38 pts/0 00:00:00 grep --color=auto dae
UID : The program is owned by the UID
PID : It is the ID of this program
PPID : It is the ID of its superior parent program
C : Percentage of resources used by the CPU
STIME : System startup time
TTY : Login terminal location
TIME : Used CPU time .
CMD: What command was issued
ps -e|grep dae
ps -f|grep dae
[zzw@localhost network design operation]$ ps -ef|grep dae
The above is the detailed content of Detailed explanation of ps ef grep command. For more information, please follow other related articles on the PHP Chinese website!