top
: show running processes, memory usage and similar stats | 查看運行的進程iostat
: show I/O per terminal, device and SPU summery statistics |查看io狀態vm_stat
: show Mach virtual memory statistics | 查看虛擬機運行內存統計df
anddiskutil list
: report on drive space used and free | 查看設備存儲fs_usage
: show file activity for both disk and network | 查看網絡和磁盤的活動nettop
: display updated information about the network (a bit like top for net I/O) | 查看網絡信息w
: display who is logged in, what they are doing and system load | 查看 登錄用戶是誰,做了什么,和系統加載ifconfig
andipconfig
: network interface and IP protocol details | 查看ip
參考:https://apple.stackexchange.com/questions/39345/can-i-view-system-stats-in-the-terminal