diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-11-13 21:08:46 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-11-13 21:08:46 +0100 |
commit | 2bd7fcc29487f3c39380b3c3f867a567ebe4ef6b (patch) | |
tree | 7ed14106744a395caf8d45e9d63806fb79012eb0 /scripts/procsmem.py | |
parent | b360dcd77bac68cb85fa5bd6f73db17723c0c26b (diff) | |
download | psutil-2bd7fcc29487f3c39380b3c3f867a567ebe4ef6b.tar.gz |
fix procsmem script which was not printing processes
Diffstat (limited to 'scripts/procsmem.py')
-rwxr-xr-x | scripts/procsmem.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/procsmem.py b/scripts/procsmem.py index d7b53f62..a28794b9 100755 --- a/scripts/procsmem.py +++ b/scripts/procsmem.py @@ -83,7 +83,7 @@ def main(): templ = "%-7s %-7s %-30s %7s %7s %7s %7s" print(templ % ("PID", "User", "Cmdline", "USS", "PSS", "Swap", "RSS")) print("=" * 78) - for p in procs[86:]: + for p in procs[:86]: line = templ % ( p.pid, p._info["username"][:7], |