檢查某使用者使用記憶體狀況

有時會想知道某使用者用了記憶體的狀態,可以用下列指令查詢:

[root@liho ~]# pmap -x $(pgrep -u root)

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.