Home >Operation and Maintenance >Linux Operation and Maintenance >Detailed explanation of ps ef grep command

Detailed explanation of ps ef grep command

藏色散人
藏色散人Original
2020-02-12 11:22:2316683browse

Detailed explanation of ps ef grep command

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

Detailed explanation of ps ef grep command

ps -f|grep dae

Detailed explanation of ps ef grep command

[zzw@localhost network design operation]$ ps -ef|grep dae

Detailed explanation of ps ef grep command

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn