How to view the PS-Aux command of all processes in Linux

Source: Internet
Author: User

 

Many Commands, such as CD, mkdir, rmdir, and RM, are often seen during Linux learning. If you want to view the processes in the system, what commands should you use? In Linux, you can use PS-Aux to view all processes. I hope you can learn the usage of PS-Aux.

The W parameter indicates the command line for widening display. The w parameter can be written multiple times. Generally, it can be written three times at most, indicating that the command line is widened three times, which is enough to display a long command line. Example: PS-auxwww

Top: displays the system memory and CPU usage, and the process list can be automatically refreshed in j AE hijnc.

Vmstat: displays the current memory usage

Netstat: displays network conditions. You can use the p parameter to view the corresponding process number and program name,

Generally, parameters a (display all connections) and N (do not reverse query the domain name and service name), such as netstat-ANP.

To view the server listening status, use netstat-an | grep listen.

Check the connection established on the server. Use netstat-an | grep established.

Ifconfig: view (or set) network device information

Ifconfig-A: view all network settings

Last: displays the logon status to the server and server restart status.

DF: displays the hard disk space and usage. @ bgctjjbchlinux can contain the parameter H, and the display result is more user-friendly. For example:

DF-H hard drive space display by user

DF-K hard disk space is displayed in KB

DF-M hard disk space is displayed in MB

W: displays the list of users logging on to the server.

The above is a collection of PS-Aux commands.

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.