Linux ps commands

Source: Internet
Author: User

PS display instructions:
Linux @ Ubuntu ::~ $ PS auxwf | less
User PID % CPU % mem vsz RSS tty stat Start Time Command
Root 2 0.0 0.0 0 0? S [kthreadd]
Root 3 0.0 0.0 0 0? S/_ [ksoftirqd/0]
Root 5 0.0 0.0 0 0? S/_ [kworker/u: 0]
Root 6 0.0 0.0 0 0? S/_ [migration/0]
=-=
User: running user
PID: process ID
% CPU: CPU usage
% Mem: memory usage
Vsz: virtual memory used (KB)
RSS: memory used (KB)
TTY: The running Terminal ,? Daemon
Stat: the status of the process.
Start: process start time
Time: execution time
Command: name of the running command

=-=

Process status flag:
D // an uninterrupted static state
R // executing
S // blocked (sleep)
T // pause execution
Z // does not exist but cannot be eliminated temporarily (zombie)
W // not available in sufficient memory Paging
<// Process with high priority
N // process with low priority
L // memory allocated by PAGE and locked in memory

 

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.