mirror of
https://github.com/sbrl/bin.git
synced 2018-01-10 21:33:46 +00:00
2 lines
134 B
Bash
Executable file
2 lines
134 B
Bash
Executable file
#!/usr/bin/env bash
|
|
for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n -r
|