2026-03-12 20:23:15
This commit is contained in:
1 parent
eab4b36eca
commit
93039b8489
3332 files changed
+699614
No files matched your search
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
for proc in `ls -1 /proc/*/smaps`; do procnbr=`echo $proc | tr -d '[:alpha:]/'`; grep Swap $proc |awk -v proc=$procnbr 'BEGIN {total=0} {total += $2} END {print proc " " total}'; done | sort -nrk 2 | head -n 10
|
||||
Reference in new issue
Block a user