LoginSignup
44
34

More than 5 years have passed since last update.

Linux でメモリ利用順でプロセスを表示

Last updated at Posted at 2012-11-10

top のバッチモードで表示したかったがやり方が判らなかった

$ top -b -n1

awk でsort しようとしたが単位(m)が出てくるので挫折

$ top -b -n1|sort -nr -k6

ps で出来た

$ ps aux --sort rss

44
34
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
44
34