Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   pcp-htop    ( 1 )

интерактивный просмотрщик процессов (interactive process viewer)

COLUMNS

The following columns can display data about each process. A
       value of '-' in all the rows indicates that a column is
       unsupported on your system, or currently unimplemented in htop.
       The names below are the ones used in the "Available Columns"
       section of the setup screen. If a different name is shown in
       htop's main screen, it is shown below in parenthesis.

Command The full command line of the process (i.e. program name and arguments).

If the option 'Merge exe, comm and cmdline in Command' (toggled by the 'm' key) is active, the executable path (/proc/[pid]/exe) and the command name (/proc/[pid]/comm) are also shown merged with the command line, if available.

The program basename is highlighted if set in the configuration. Additional highlighting can be configured for stale executables (cf. Exe column below).

Comm The command name of the process obtained from /proc/[pid]/comm, if readable.

Exe The abbreviated basename of the executable of the process, obtained from /proc/[pid]/exe, if readable. htop is able to read this file on linux for ALL the processes only if it has the capability CAP_SYS_PTRACE or root privileges.

The basename is marked in red if the executable used to run the process has been replaced or deleted on disk since the process started. This additional markup can be configured.

PID The process ID.

STATE (S) The state of the process: S for sleeping (idle) R for running D for disk sleep (uninterruptible) Z for zombie (waiting for parent to read its exit status) T for traced or suspended (e.g by SIGTSTP) W for paging

PPID The parent process ID.

PGRP The process's group ID.

SESSION (SID) The process's session ID.

TTY The controlling terminal of the process.

TPGID The process ID of the foreground process group of the controlling terminal.

MINFLT The number of page faults happening in the main memory.

CMINFLT The number of minor faults for the process's waited-for children (see MINFLT above).

MAJFLT The number of page faults happening out of the main memory.

CMAJFLT The number of major faults for the process's waited-for children (see MAJFLT above).

UTIME (UTIME+) The user CPU time, which is the amount of time the process has spent executing on the CPU in user mode (i.e. everything but system calls), measured in clock ticks.

STIME (STIME+) The system CPU time, which is the amount of time the kernel has spent executing system calls on behalf of the process, measured in clock ticks.

CUTIME (CUTIME+) The children's user CPU time, which is the amount of time the process's waited-for children have spent executing in user mode (see UTIME above).

CSTIME (CSTIME+) The children's system CPU time, which is the amount of time the kernel has spent executing system calls on behalf of all the process's waited-for children (see STIME above).

PRIORITY (PRI) The kernel's internal priority for the process, usually just its nice value plus twenty. Different for real-time processes.

NICE (NI) The nice value of a process, from 19 (low priority) to -20 (high priority). A high value means the process is being nice, letting others have a higher relative priority. The usual OS permission restrictions for adjusting priority apply.

STARTTIME (START) The time the process was started.

PROCESSOR (CPU) The ID of the CPU the process last executed on.

M_VIRT (VIRT) The size of the virtual memory of the process.

M_RESIDENT (RES) The resident set size (text + data + stack) of the process (i.e. the size of the process's used physical memory).

M_SHARE (SHR) The size of the process's shared pages.

M_TRS (CODE) The text resident set size of the process (i.e. the size of the process's executable instructions).

M_DRS (DATA) The data resident set size (data + stack) of the process (i.e. the size of anything except the process's executable instructions).

M_LRS (LIB) The library size of the process.

M_DT (DIRTY) The size of the dirty pages of the process.

M_SWAP (SWAP) The size of the process's swapped pages.

M_PSS (PSS) The proportional set size, same as M_RESIDENT but each page is divided by the number of processes sharing it.

M_M_PSSWP (PSSWP) The proportional swap share of this mapping, unlike M_SWAP this does not take into account swapped out page of underlying shmem objects.

ST_UID (UID) The user ID of the process owner.

PERCENT_CPU (CPU%) The percentage of the CPU time that the process is currently using. This is the default way to represent CPU usage in Linux. Each process can consume up to 100% which means the full capacity of the core it is running on. This is sometimes called "Irix mode" e.g. in top(1).

PERCENT_NORM_CPU (NCPU%) The percentage of the CPU time that the process is currently using normalized by CPU count. This is sometimes called "Solaris mode" e.g. in top(1).

PERCENT_MEM (MEM%) The percentage of memory the process is currently using (based on the process's resident memory size, see M_RESIDENT above).

USER The username of the process owner, or the user ID if the name can't be determined.

TIME (TIME+) The time, measured in clock ticks that the process has spent in user and system time (see UTIME, STIME above).

NLWP The number of Light-Weight Processes (=threads) in the process.

TGID The thread group ID.

CTID OpenVZ container ID, a.k.a virtual environment ID.

VPID OpenVZ process ID.

VXID VServer process ID.

RCHAR (RD_CHAR) The number of bytes the process has read.

WCHAR (WR_CHAR) The number of bytes the process has written.

SYSCR (RD_SYSC) The number of read(2) syscalls for the process.

SYSCW (WR_SYSC) The number of write(2) syscalls for the process.

RBYTES (IO_RBYTES) Bytes of read(2) I/O for the process.

WBYTES (IO_WBYTES) Bytes of write(2) I/O for the process.

CNCLWB (IO_CANCEL) Bytes of cancelled write(2) I/O.

IO_READ_RATE (DISK READ) The I/O rate of read(2) in bytes per second, for the process.

IO_WRITE_RATE (DISK WRITE) The I/O rate of write(2) in bytes per second, for the process.

IO_RATE (DISK R/W) The I/O rate, IO_READ_RATE + IO_WRITE_RATE (see above).

CGROUP Which cgroup the process is in.

OOM OOM killer score.

CTXT Incremental sum of voluntary and nonvoluntary context switches.

IO_PRIORITY (IO) The I/O scheduling class followed by the priority if the class supports it: R for Realtime B for Best-effort id for Idle

PERCENT_CPU_DELAY (CPUD%) The percentage of time spent waiting for a CPU (while runnable). Requires CAP_NET_ADMIN.

PERCENT_IO_DELAY (IOD%) The percentage of time spent waiting for the completion of synchronous block I/O. Requires CAP_NET_ADMIN.

PERCENT_SWAP_DELAY (SWAPD%) The percentage of time spent swapping in pages. Requires CAP_NET_ADMIN.

COMM The command name for the process. Requires Linux kernel 2.6.33 or newer.

EXE The executable file of the process as reported by the kernel. Requires CAP_SYS_PTRACE and PTRACE_MODE_READ_FSCRED.

AGRP The autogroup identifier for the process. Requires Linux CFS to be enabled.

ANI The autogroup nice value for the process autogroup. Requires Linux CFS to be enabled.

All other flags Currently unsupported (always displays '-').