CentOS Linux release 7.2.1511 (Core)
ide
procps-ng version 3.3.10
ui
登陸問題主機,切換到普通帳戶時執行top,發現top第一行,即包含有load average
這一行沒法打印出來。使用root帳戶時top命令打印的都是完整,正常的~this
問題截圖以下:3d
正常且完整的截圖以下:rest
臨時解決:code
在 top 的頁面,按一下 L(小寫) 鍵~blog
永久解決:it
在 top 的頁面,按一下 L(小寫) 鍵,以後按 W(大寫)~io
經過使用man top
命令發現:class
(1)W :Write-the-Configuration-File
This will save all of your options and toggles plus the current display mode and delay time. By issuing this command just before quitting top, you will be able
restart later in exactly that same state.