オプション指定無しでtopコマンドを実行すると、デフォルトではCPU使用率の順にソートして表示されますが、「-o」オプションをつけて起動することでソート対象のフィールドを指定できます。topコマンドをバッチモードで使う場合に便利と思います。 例:メモリ使用率順にソートする場合 Tasks: 210 total, 1 running, 171 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.7 us, 0.3 sy, 0.0 ni, 96.6 id, 0.3 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 4039536 total, 1183360 free, 2190004 used, 666172 buff/cache KiB Swap: 14527484 total, 13713808 free, 813676 used.