If you're using the top that comes with Ubuntu (top -v = procps-ng version 3.3.10),

then you can use these interactive keyboard shortcuts to change the sorting. Note that these are all capital letters, so either use shift or caps lock.

M %MEM
N PID
P %CPU
T TIME+

By default, they will be sorted in DESC order. Use R to toggle ASC/DESC.

To set the sorting from the command line option, use top -o %MEM. You can specify any column.

相关文章:

  • 2021-08-16
  • 2021-11-01
  • 2022-12-23
  • 2021-09-10
  • 2021-06-09
  • 2021-08-16
  • 2021-10-15
猜你喜欢
  • 2021-12-29
  • 2022-12-23
  • 2021-10-31
  • 2022-12-23
  • 2022-12-23
  • 2021-12-11
  • 2021-11-11
相关资源
相似解决方案