mirror of
https://github.com/muerwre/muerwre.github.io.git
synced 2025-04-25 02:46:39 +07:00
add useWhatsChanged
This commit is contained in:
parent
42098fc50a
commit
cdb1309a81
2 changed files with 33 additions and 0 deletions
3
content/Linux/Find out who uses swap.md
Normal file
3
content/Linux/Find out who uses swap.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
```shell
|
||||
for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n -r | less
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue