Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

tdro (edited) view Markdown Plaintext Embed Permalink 130/50 words 43s read

An actual but where did my Linux memory go command;
This program (repositories) came in handy while helping someone resolve an problem. Want to see memory usage and shared memory, perhaps sorted by swap?

smem -s swap -kta
smem --sort swap --abbreviate --totals --autosize
What about on other categories running a --sort?
swap     (amount of swap space consumed ignoring sharing)
command  (process command line)
maps     (total mappings count)
name     (process name)
pid      (process id #)
user     (process owner)
pss      (proportional set size including sharing)
rss      (resident set size ignoring sharing)
uss      (unique set size)
vss      (virtual set size; total virtual memory mapped)
Bonus: A filesystem usage command to catch /tmp/ and tmpfs (temporary file storage) abusers;
df -h | grep tmpfs
df --human-readable | grep tmpfs
#gists #linux