ps: Add OOM and OOMADJ fields
top has had the OOMs and OOMa fields since 2011. Ten years its
probably time that ps had these fields added too.
ps output options have oom and oomadj for OOM Score and OOM Adjustment
respectively.
References:
procps-ng/procps#198
commit 367fd902da
https://www.freelists.org/post/procps/PATCH-12-Add-missed-oom-support-to-libproc
This commit is contained in:
13
ps/ps.1
13
ps/ps.1
@ -4,7 +4,7 @@
|
||||
.\" Quick hack conversion by Albert Cahalan, 1998.
|
||||
.\" Licensed under version 2 of the Gnu General Public License.
|
||||
.\"
|
||||
.TH PS "1" "2020-06-04" "procps-ng" "User Commands"
|
||||
.TH PS "1" "2021-03-05" "procps-ng" "User Commands"
|
||||
.\"
|
||||
.\" To render this page:
|
||||
.\" groff -t -b -man -X -P-resolution -P100 -Tps ps.1 &
|
||||
@ -1421,6 +1421,17 @@ address of the kernel function where the process is sleeping (use
|
||||
if you want the kernel function name).
|
||||
T}
|
||||
|
||||
oom OOM T{
|
||||
Out of Memory Score. The value, ranging from 0 to +1000, used to select
|
||||
task(s) to kill when memory is exhausted.
|
||||
T}
|
||||
|
||||
oomadj OOMADJ T{
|
||||
Out of Memory Adjustment Factor. The value is added to the current out of
|
||||
memory score which is then used to determine which task to kill when memory
|
||||
is exhausted.
|
||||
T}
|
||||
|
||||
ouid OWNER T{
|
||||
displays the Unix user identifier of the owner of the session of a process,
|
||||
if systemd support has been included.
|
||||
|
Reference in New Issue
Block a user