How to see top processes sorted by actual memory usage?

前端 未结 12 998
栀梦
栀梦 2020-12-07 06:53

I have a server with 12G of memory. A fragment of top is shown below:

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                              


        
12条回答
  •  被撕碎了的回忆
    2020-12-07 07:14

    you can specify which column to sort by, with following steps:

    steps:
    * top
    * shift + F
    * select a column from the list
        e.g. n means sort by memory,
    * press enter
    * ok
    

提交回复
热议问题