What is the specific meaning of the Ps-ef |grep output?

Source: Internet
Author: User

Q:

Like what:
[Email protected] ~]# Ps-ef | grep apachejetspeed
Root 18887 18828 0 08:09 pts/0 00:00:00 grep apachejetspeed
is the process running or not running? Which of the list is 18887 and 18828 which is the meaning of pid,0, which can explain the specific meanings of each output item in detail.

A:

PS: Show a process
-a displays all programs.
-E The effect of this parameter is the same as specifying the "A" parameter.
-F Displays Uid,ppip,c and Stime fields.
The grep command is to find
The Middle | is a pipeline command that refers to the PS command executing concurrently with grep
This order means that the process related to Apachejetspeed is displayed.
UID PID PPID C stime TTY time CMD
The meaning of the relevant information:

The UID program is owned by the UID.

PID is the ID of this program.

PPID is the ID of its parent program

Percentage of resources used by the C CPU

Stime system Start-up time

TTY Login Terminal Location

Time used to consume the CPU.

What are the commands that CMD has issued?

What is the specific meaning of the Ps-ef |grep output?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.