Is there an equivalent to the amazing systat command in Linux-based operating systems?
For those who don't know about it, the BSD's systat command is just amazing. It displays live graphs of network traffic, I/O, ICMP, IP, TCP, network sockets (like
netstat), swap usage and so on. But the most amazing of all, is the
-vmstat display. I'll paste a snapshot of the live display here:
2 users Load 0.10 0.12 0.13 Apr 30 22:50 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 79096 5336 210828 9572 112208 count 5 All 144196 16988 2355132 30104 pages 19 Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt 535 cow 1313 total 2 58 2923 1665 2493 1313 999 1094 299 zfod 999 clk irq0 16 ozfod uart0 irq4 20.0%Sys 3.7%Intr 29.7%User 0.0%Nice 46.6%Idle 5%ozfod 101 vr1 irq5 | | | | | | | | | | | daefr irq7: ==========++>>>>>>>>>>>>>>> 487 prcfr stray irq7 38 dtbuf 786 totfr 128 rtc irq8 Namei Name-cache Dir-cache 35088 desvn 1 react vr2 irq9 Calls hits % hits % 31092 numvn pdwak 52 vr0 irq11 3254 3238 100 8647 frevn pdpgs 27 vr3 irq12 intrn 6 ata0 irq14 Disks ad0 86200 wire ata1 ohci0 KB/t 14.90 89816 act tps 6 209168 inact MB/s 0.08 56 cache %busy 7 112152 free
The manpage goes through great lengths to explain all the different parts of this arguably "crowded" display but what I quite miss in Linux about this are:
- the interrupt-per-second summary (on the right) - sure i can
watch -n 1 cat /proc/interrupts, but it's hard to tell what's really going on there...
- the disk usage (on the bottom left) - just plain and simple
MB/sand how busy the disk is (in percentage!)
Before you answer, understand that I know very well:
top- pales in comparison: only looks at some of those aspects, in too broad strokes
vmstat- a classic, but is more useful to draw trends over time than figure out "what's going on now exactly"
iftop- useful to diagnose network bottlenecks, but that's it
iotop- same for I/O
dstat- interesting, but doesn't have the same granularity per interrupt
I could mention a lot more of those: basically, I am not aware of a single tool that shows that much of a complete snapshot of the state of a machine in a single 24x80 terminal screen, in any Linux-based distribution.
Please prove me wrong. :)