mac电脑很卡,如何在命令行查看当前电脑中的运行状态

  • 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 and diskutil 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 and ipconfig: network interface and IP protocol details | 查看ip

参考:https://apple.stackexchange.com/questions/39345/can-i-view-system-stats-in-the-terminal

posted on 2017-06-22 18:27  码农时刻  阅读(2155)  评论(1编辑  收藏  举报