Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed explanation of the use of ps ef grep command

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Today Xiaobian to share with you is the use of ps ef grep command detailed explanation, I believe many people do not know, in order to let everyone know more ps ef grep command, so to summarize the following content, look down together. I'm sure you'll find something.

ps -ef| Grep Details

The ps command displays a process

grep command is Find

the middle| A pipe command means that the ps command is executed simultaneously with grep

PS is LINUX under the most commonly used is also a very powerful process view command

The grep command is lookup, a powerful text search tool that searches text using regular expressions and prints out matching lines.

grep stands for Global Regular Expression Print, which represents the version of a global regular expression that is available to all users.

The following command checks if Java processes exist: ps -ef| grep java

The fields have the following meanings:

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 this UID

PID: This is the ID of the program.

PPID: ID of its parent program

C: Percentage of resources used by CPU

STIME: System startup time

TTY: Logged-in terminal location

TIME: CPU time used.

CMD: What orders were given?

ps -e|grep dae

ps -f|grep dae

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

The above is a brief introduction to the detailed use of ps ef grep command, of course, the detailed use of the above differences have to be used by everyone to understand. If you want to know more, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report