Struct procinfo::pid::Status [−][src]
Process status information.
See man 5 proc and Linux/fs/proc/array.c.
Fields
command: StringFilename of the executable.
umask: mode_tFile mode creation mask (since Linux 4.7).
state: StateCurrent state of the process.
pid: pid_tProcess ID (i.e., Thread Group ID).
numa_gid: pid_tNUMA group ID.
tid: pid_tThread ID.
ppid: pid_tProcess ID of parent process.
tracer_pid: pid_tProcess ID of the process tracing this process (0 if not being traced).
uid_real: uid_tReal user ID.
uid_effective: uid_tEffective user ID.
uid_saved: uid_tSaved user ID.
uid_fs: uid_tFilesystem user ID.
gid_real: gid_tReal group ID.
gid_effective: gid_tEffective group ID.
gid_saved: gid_tSaved group ID.
gid_fs: gid_tFilesystem group ID.
fd_allocated: u32Number of file descriptor slots currently allocated.
groups: Vec<gid_t>Supplementary group list.
ns_pids: Vec<pid_t>Process IDs for each namespace which the process belongs to.
ns_tids: Vec<pid_t>Thread IDs for each namespace which the process belongs to.
ns_pgids: Vec<pid_t>Process group IDs for each namespace which the process belongs to.
ns_sids: Vec<pid_t>Session IDs of the process for each namespace to which it belongs.
vm_peak: usizePeak virtual memory size (kB).
vm_size: usizeVirtual memory size (kB).
vm_locked: usizeLocked memory size (kB) (see mlock(3)).
vm_pin: usizePinned memory size (since Linux 3.2). These are pages that can’t be moved because something needs to directly access physical memory.
vm_hwm: usizePeak resident size (kB) (“high water mark”).
vm_rss: usizeResident set size (kB). Comprised of vm_rss_anon, vm_rss_file,
and vm_rss_shared.
vm_rss_anon: usizeSize of resident anonymous memory (kB) (since Linux 4.5).
vm_rss_file: usizeSize of resident file mappings (kB) (since Linux 4.5).
Size of resident shared memory (kB) (since Linux 4.5). Includes SysV shm, mapping of tmpfs and shared anonymous mappings.
vm_data: usizeSize of data segments (kB).
vm_stack: usizeSize of stack segments (kB).
vm_exe: usizeSize of text (executable) segments (kB).
vm_lib: usizeShared library code size (kB).
vm_pte: usizePage table entries size (since Linux 2.6.10).
vm_pmd: usizeSize of second-level page tables (since Linux 4.0).
vm_swap: usizeSwapped-out-virtual memory size (since Linux 2.6.34).
hugetlb_pages: usizeSize of hugetlb memory portions (since Linux 4.4).
core_dumping: boolProcess’s memory is currently being dumped (since Linux 4.15).
threads: u32Number of threads in process containing this thread.
sig_queued: u64The number of currently queued signals for this real user ID (see the description of RLIMIT_SIGPENDING in getrlimit(2)).
sig_queued_max: u64The resource limit on the number of queued signals for this process.
sig_pending_thread: u64Number of signals pending for the thread (see pthreads(7)).
sig_pending_process: u64Number of signals pending for the process (see signal(7)).
sig_blocked: u64Mask indicating signals being blocked.
sig_ignored: u64Mask indicating signals being ignored.
sig_caught: u64Mask indicating signals being caught.
cap_inherited: u64Mask of capabilities enabled in inheritable sets (see capabilities(7)).
cap_permitted: u64Mask of capabilities enabled in permitted sets.
cap_effective: u64Mask of capabilities enabled in effective sets.
cap_bounding: u64Capability Bounding set (since Linux 2.6.26).
cap_ambient: u64Ambient capability set (since Linux 4.3).
no_new_privs: boolWhether the process can acquire new privileges (since Linux 4.10)
seccomp: SeccompModeSecure Computing mode of the process (since Linux 3.8, see seccomp(2)).
This field is provided only if the kernel was built with the
CONFIG_SECCOMP kernel configuration option enabled.
cpus_allowed: Box<[u8]>CPUs on which this process may run (since Linux 2.6.24, see cpuset(7)).
The slice represents a bitmask in the same format as BitVec.
mems_allowed: Box<[u8]>Memory nodes allowed to this process (since Linux 2.6.24, see cpuset(7)).
The slice represents a bitmask in the same format as BitVec.
voluntary_ctxt_switches: u64Number of voluntary context switches.
nonvoluntary_ctxt_switches: u64Number of involuntary context switches.
speculation_store_bypass: StringTrait Implementations
impl Debug for Status[src]
impl Default for Status[src]
impl Eq for Status[src]
impl Hash for Status[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<Status> for Status[src]
impl StructuralEq for Status[src]
impl StructuralPartialEq for Status[src]
Auto Trait Implementations
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,