procinfo 查看系统信息
Posted 11 months, 1 week ago at 11:32 am. 0 comments
当然需要先 sudo apt-get install procinfo
procinfo
返回系统信息 cpu,内存,irq等
Linux 2.6.20-13-generic (root@crested) (gcc 4.1.2 ) #2 1CPU [guoshuang-laptop.(none)]
Memory: Total Used Free Shared Buffers
Mem: 478588 447724 30864 0 4448
Swap: 682720 141344 541376
Bootup: Tue Apr 3 07:48:50 2007 Load average: 0.99 0.56 0.40 1/125 22809
user : 0:19:17.35 20.6% page in : 1638943 disk 1: 86190r 24359w
nice : 0:00:46.64 0.8% page out: 1700184
system: 0:01:34.55 1.7% page act: 370094
IOwait: 0:07:15.08 7.7% page dea: 271443
hw irq: 0:00:00.98 0.0% page flt: 6010465
sw irq: 0:00:31.27 0.6% swap in : 31132
idle : 1:04:25.98 68.6% swap out: 61330
uptime: 1:33:51.86 context : 6508120
irq 0: 1407886 timer irq 18: 10457 HDA Intel
irq 1: 4223 i8042 irq 19: 2551 bcm43xx
irq 8: 0 rtc irq 20: 87597 ohci_hcd:usb2
irq 9: 20486 acpi irq 21: 1005608 eth0
irq 12: 133 i8042 irq 22: 110550 libata
irq 15: 46783 ide1 irq 23: 2 ehci_hcd:usb1
参数如下:
procinfo -f
全窗口显示模式,5秒刷新(q 退出)
procinfo -n.1
全窗口显示模式,1秒刷新
procinfo -m
显示 modules 和 device drivers
procinfo -d
显示 memory, CPU times, paging, swapping, disk, context 以及 IRQ status.
$ procinfo -F /dev/tty1
输出内容显示在 tty1
Popularity: 8% [?]
Tags: sysinfoRelated posts
No Replies
Feel free to leave a reply using the form below!