I do computer stuff. When I solve a problem and it's not obvious, I document it here - it's a reference for myself, and hopefully, it can save other people out there days of problem solving, googling and assorted hair-tearing.
Thursday, June 9, 2022
Linux - what's using my swap?
A quick way to find what is using the most swap:
for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n | tail
This is a long shot but are you the same pyarra from vlemmy?
ReplyDelete