Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> OS >> Unix >> Solaris >> How to list physical memory usage per process for all users

 

# prstat -s rss -a

-s rss => sort by rss (resident set size)
-a => all users

 or

# ps -ef -o rss,pid,comm | sort -rnk 1

- list all processes, showing columns rss,pid and comm and then sorts by the first field (rss) in reverse order, treating the sort key as numeric value (rather than string)

 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]