mirror of https://github.com/sbrl/bin.git
3 lines
134 B
Plaintext
3 lines
134 B
Plaintext
|
#!/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
|