Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'xsos -p' not reporting top mem-using processes correctly #251

Open
JohnTheCrow opened this issue Jul 2, 2020 · 0 comments
Open

'xsos -p' not reporting top mem-using processes correctly #251

JohnTheCrow opened this issue Jul 2, 2020 · 0 comments

Comments

@JohnTheCrow
Copy link

JohnTheCrow commented Jul 2, 2020

xsos seems to be overlooking PID 1 in this case:
ps_auxwww.txt

$ xsos -p .
...
  Top MEM-using processes: 
    USER      PID    %CPU  %MEM  VSZ-MiB  RSS-MiB  TTY    STAT  START  TIME     COMMAND  
    sasinst   19758  1.6   1.1   2681     378      ?      Sl    Jun12  435:26   /sas/grid/software/SASPrivateJavaRuntimeEnvironment/9.4/jre/bin/java -Djava.security.auth.login.confi
    root      14317  2.6   1.1   1698     367      ?      Sl    Jun29  31:49    /opt/McAfee/ens/tp/bin/mfetpd 
    root      21382  0.0   1.1   1423     362      ?      Sl    Jun23  1:31     /opt/McAfee/ens/tp/bin/mfetpd 
    root      14262  0.0   1.1   1431     361      ?      Sl    Jun29  0:00     /opt/McAfee/ens/tp/bin/mfetpd 
    root      2980   1.5   0.5   283      187      ?      SLsl  Jun12  396:27   corosync 
    root      1254   0.1   0.5   274      168      ?      Ss    Jun12  35:15    /usr/lib/systemd/systemd-journald 
    root      6813   0.1   0.4   328      131      ?      S     Jun12  27:49    /usr/libexec/ctdb/ctdb-eventd -P 6811 
    root      2868   0.0   0.2   714      83       ?      Ssl   Jun12  7:44     /usr/sbin/rsyslogd -n 
    a50576    6815   16.5  0.2   2293     78       ?      Sl    10:05  18:12    /sas/grid/software/SASFoundation/9.4/sasexe/sas -noterminal -noxcmd 
    root      12020  13.7  0.2   426      75       pts/0  S+    11:49  0:46     /usr/bin/python /sbin/sosreport 
...
$ head -2 ps
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0 28.3 12949440 9290408 ?    Ss   Jun12  15:21 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant