Memory, smaps (KiB)
PSfd -- Proportional File Memory, smaps (KiB)
PSsh -- Proportional Shmem Memory, smaps (KiB)
As was true for ‘PSS’ above (total proportional resident memory), these fields represent the proportion of this task’s share of each type of memory divided by the number of processes sharing it.
Accessing smaps values is 10x more costly than other memory statistics and data for other users requires root privileges.
RES -- Resident Memory Size (KiB)
A subset of the virtual address space (VIRT) representing the non‐swapped physical memory a task is currently using. It is also the sum of the ‘RSan’, ‘RSfd’ and ‘RSsh’ fields.
It can include private anonymous pages, private pages mapped to files (including program images and shared libraries) plus shared anonymous pages. All such memory is backed by the swap file represented separately
under SWAP.
Lastly, this field may also include shared file‐backed pages which, when modified, act as a dedicated swap file and thus will never impact SWAP.
See ‘OVERVIEW, Linux Memory Types’ for additional details.
RSS -- Resident Memory, smaps (KiB)
Another, more precise view of process non‐swapped physical memory. It is obtained from the ‘smaps_rollup’ file and is generally slightly larger than that shown for ‘RES’.
Accessing smaps values is 10x more costly than other memory statistics and data for other users requires root privileges.
RSan -- Resident Anonymous Memory Size (KiB)
A subset of resident memory (RES) representing private pages not mapped to a file.
RSfd -- Resident File‐Backed Memory Size (KiB)
A subset of resident memory (RES) representing the implicitly shared pages supporting program images and shared libraries. It also includes explicit file mappings, both private and shared.
RSlk -- Resident Locked Memory Size (KiB)
A subset of resident memory (RES) which cannot be swapped out.
RSsh -- Resident Shared Memory Size (KiB)
A subset of resident memory (RES) representing the explicitly shared anonymous shm*/mmap pages.
RUID -- Real User Id
The real user ID.
RUSER -- Real User Name
The real user name.
S -- Process Status
The status of the task which can be one of:
D = uninterruptible sleep
I = idle
R = running
S = sleeping
T = stopped by job control signal
t = stopped by debugger during trace
Z = zombie
Tasks shown as running should be more properly thought of as ready to run -- their task_struct is simply represented on the Linux run‐queue. Even without a true SMP machine, you may see numerous tasks in this
state depending on top’s delay interval and nice value.
SHR -- Shared Memory Size (KiB)
A subset of resident memory (RES) that may be used by other processes. It will include shared anonymous pages and shared file‐backed pages. It also includes private pages mapped to files representing program
images and shared libraries.
See ‘OVERVIEW, Linux Memory Types’ for additional details.
SID -- Session Id
A session is a collection of process groups (see PGRP), usually established by the login shell. A newly forked process joins the session of its creator. By convention, this value equals the process ID (see PID)
of the first member of the session, called the session leader, which is usually the login shell.
STARTED -- Start Time Interval
The length of time since system boot when a process started. Thus, the most recently started task will display the largest time interval.
The value will be expressed as ‘MM:SS’ (minutes:seconds). But if the interval