How to make Unix 'top' display current network bandwidth or disk activity?
I know I can use the iostat command to view disk activity, but I would prefer one utili开发者_StackOverflow中文版ty that shows everything in one window, kind of like Perfmon on Windows or ActivityMonitor on the Mac. Can top show these things? THanks.
Also for network usage; iftop does by address, nethogs does by process.
Have a look at iotop and nmon
Yes, nmon is a nice utility that runs on almost all platforms. You can log nmon entries to a file for post-processing. There is a nmon Excel spreadsheet analyzer that reads the nmon output file and charts everything for you. There is also java and python libraries you can build apps on nmon outputs.
精彩评论