Linuxpsaux command? Solution

Source: Internet
Author: User
Linuxpsaux command? There are five statuses for resolving processes on linux: 1. running (running or waiting in the running queue) 2. interruption (sleep, blocked, waiting for the formation of a condition or receiving a signal) 3. non-disruptive (do not wake up when receiving the signal or do not run, the process must wait until there is... linux ps aux command? There are five statuses for resolving processes on linux: 1. running (running or waiting in the running queue) 2. interruption (sleep, blocked, waiting for the formation of a condition or receiving a signal) 3. do not interrupt (do not wake up when receiving the signal or do not run, the process must wait until an interruption occurs) 4. dead (the process has been terminated, but the process descriptor exists until the parent process calls wait4 () released after the system call) 5. stop (the process stops running after receiving signals from SIGSTOP, SIGSTP, SIGTIN, and SIGTOU) www.2cto.com 1) ps a displays all programs under the current terminal, including those of other users. 2) ps-A shows all programs. 3) when listing programs in ps c, the real command name of each program is displayed without the path, parameter or resident service identifier. 4) the effect of this parameter is the same as that of the specified "A" parameter. 5) when listing programs, ps e displays the environment variables used by each program. 6) ps f uses ASCII characters to display the tree structure and express the relationship between programs. 7) the ps-H tree structure is displayed, indicating the relationship between programs. 8) ps-N shows all programs, except the programs under the ps command terminal. 9) ps displays the program status in the program signal format. 10) when listing programs in ps, it includes interrupted subroutines. 11) ps-t <终端机编号> Specify the terminal number and list the status of the program that belongs to the terminal. 12) ps u displays the program status in user-based format. 13) ps x shows all programs, which are not distinguished by terminals. 14) ps-l ??,????? PID information www.2cto.com # ps-lA | moreF s uid pid ppid c pri ni addr sz wchan tty time limit 4 S 0 1 0 0 76 0-1193 109952? 00:00:03 init1 S 0 2 1 0-40--0 migrat? 00:00:03 migration/01 S 0 3 1 0 94 19-0 ksofti? 00:00:00 ksoftirqd/01 S 0 4 1 0-40--0 migrat? 00:00:02 migration/11 S 0 5 1 0 94 19-0 ksofti? 00:00:00 ksoftirqd/11 S 0 6 1 0-40--0 migrat? 00:00:02 migration/21 S 0 7 1 0 94 19-0 ksofti? 00:00:00 ksoftirqd/2 phase? What is the meaning of the information?: F?? Su I (flag), 4 indicates using ?? Male ?? Use ?? /Div> S? ?? B (stat). What does each STAT mean ?? PID below? What is the idc cpu usage of Cheng? SOURCE percentage PRI priority (?? First ?) ???, NI Nice value, ADDR core function, points out ?? Cheng zai? But why? Why? Qin? Generally, it is used by "-" SZ? But why? /Div> WCHAN? Before? Is the process in progress? Line, if ?? Ldquo;-"indicates being? TTY login?? What is the CPU used by the end location TIME? R? CMD? Why? /Div> # ps aux | moreUSER PID % CPU % mem vsz rss tty stat start time COMMANDroot 1 0.0 0.0 4772 564? S Sep22 init [3] root 2 0.0 0.0 0 0? S Sep22 [migration/0] root 3 0.0 0.0 0 0? SN Sep22 [ksoftirqd/0] root 4 0.0 0.0 0 0? S Sep22 [migration/1] root 5 0.0 0.0 0 0? SN Sep22 [ksoftirqd/1] root 6 0.0 0.0 0 0? Ss + Sep22 [migration/2] root 7 0.0 0.0 0 0? SN Sep22 [ksoftirqd/2] root 8 0.0 0.0 0 0? S Sep22 [migration/3] root 9 0.0 0.0 0 0? SN Sep22 [ksoftirqd/3] root 10 0.0 0.0 0 0? S <Sep22 0: 00 [migration/4] above? What do you call?: Owner of the USER process; PID process ID; PPID parent process; % CPU percentage occupied by the CPU process; % MEM memory usage; NICE value of the NI process, a large value, indicates that the CPU usage is less time; VSZ? What is the virtual machine used by the process? But why? B); RSS ?? What is the fixed occupation? But why? B) (number of resident pages); TTY ?? Where is Cheng ??? Terminal? Line (login?? End location), if ?? End? O ?,? T? (?).
If ?? Ts/0, etc ,? T indicates ??? Master? C? Cheng WCHAN? Before? Is the process in progress? Line, if ?? Indicating being? Line; START ?? Cheng Bei ?? Start TIME; TIME? Process ??? CPU usage? Line Time; COMMAND name and parameter; STAT ?? B often? ?? Sleep state (usually IO process) where the B character D cannot be interrupted; R is running and can be crossed in the queue; S is in sleep state; T is stopped or tracked; W enters the memory switch (which is invalid since kernel 2.6); X dead processes (basically few ?); Z-Zombie process;

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.