Common CentOS commands and explanations

Source: Internet
Author: User

Ps-ef|grep Java

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?

Uptime

The results of the uptime command include how long the server has been running, how many logged-in users, and the overall evaluation of server performance (load average)

Top

The top command shows the actual CPU usage, which by default shows the CPU-intensive task information on the server and refreshes every 5 seconds. You can categorize them in a number of ways, including PID, time, and memory usage.

Common CentOS commands and explanations

Related Article

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.