About/proc/Pid/STAT

Source: Internet
Author: User

[Root @ localhost ~] # Cat/proc/6873/STAT
6873 (. out) r 6723 6873 6723 34819 6873 8388608 77 0 0 41958 31 0 0 25 0 0 0 5882654 1409024 56 4294967295 134512640 134513720 0 3215579040 0 0 0 0 0 0 0 0 17 0 0 0 0 0 0 [root @ localhost ~] #

Each parameter means:
Parameter description
PID = 6873 process (including Lightweight Process, namely thread) Number
Comm = A. out application or command name
Task_state = R Task status, R: Runnign, S: Sleeping (task_interruptible), D: disk sleep (task_uninterruptible), T: stopped, T: Tracing stop, Z: zombie, x: Dead
Ppid = 6723 ID of the parent process
Pgid = 6873 thread group no.
SID = 6723 session Group ID of the task
Tty_nr = 34819 (pts/3) device number of the tty terminal of the task, INT (34817/256) = master device number, (34817-master device number) = secondary device number
Tty_pgrp = Process Group Number of the 6873 terminal, PID of the foreground task (including Shell application) currently running on the terminal where the task is located.
Task-> flags = 8388608 process flag, view the features of the task
Min_flt = 77 Number of page missing (page missing) times that the task does not need to copy data from the hard disk
Cmin_flt = 0 indicates the total number of times that the waited-for process of this task has occurred
Maj_flt = 0 Number of page missing (master page missing) times when the task needs to copy data from the hard disk
Cmaj_flt = 0 total number of Master missing pages that occurred by all waited-for processes of the task
Utime = 1587 time when the task runs in user mode, in jiffies
Stime = 1 time when the task runs in the core State, in jiffies
Cutime = 0 indicates the total number of waited-for processes of the task that were run in user mode. The unit is jiffies.
Cstime = 0 indicates the time when all waited-for processes of the task were run in the core State, in jiffies.
Priority = 25 dynamic priority of a task
Nice = 0 static task priority
Num_threads = 3 Number of threads in the thread group of the task
It_real_value = 0 delay of the next sigalrm sending process due to timing interval, in jiffy.
Start_time = 5882654 start time of the task, in jiffies
Vsize = 1409024 (PAGE) the virtual address space of the task
RSS = 56 (PAGE) Size of the physical address space that the task currently occupies
Number of pages the process has in real memory, Minu 3 for administrative purpose.
These pages may be used for code, data, and stack.
Rlim = 4294967295 (bytes) Maximum number of physical address spaces that the task can reside in
Start_code = 134512640 start address of the code segment of the task in the virtual address space
End_code = 134513720 end address of the code segment of the task in the virtual address space
Start_stack = 3215579040 end address of the stack of the task in the virtual address space
The current value of kstkesp = 0 ESP (32-bit Stack pointer) is consistent with that obtained on the kernel stack page of the process.
Kstkeip = 2097798 points to the pointer of the command to be executed, and the current value of EIP (32-bit command pointer.
Pendingsig = 0 bitmap of the signal to be processed, record the normal signal sent to the Process
Block_sig = 0 blocking signal bitmap
Sigign = 0 indicates the bitmap of the ignored signal.
Sigcatch = 082985 bitmap of captured Signals
Wchan = 0 if the process is in sleep state, this value indicates the scheduled call point.
Number of pages swapped by nswap, Which is useless currently
Sum of the number of pages swapped by all sub-processes in cnswap.
Exit_signal = 17 signal sent to the parent process when the process ends
Task_cpu (task) = 0 indicates the CPU on which the task runs
Task_rt_priority = 0 relative priority of Real-Time Processes
Task_policy = scheduling policy of 0 processes, 0 = non-real-time process, 1 = FIFO real-time process; 2 = RR real-time 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.