sudo apt-get install nmon

First, On screen (console, telnet, VNC, putty or X Windows) using curses for low CPU impact which is updated once every two seconds. You hit single characters on you keyboard to enable/disable the various sorts of data.





nmon -f -s 30 -c 240

is a systems administrator, tuner, benchmark tool. It can display the CPU, memory, network, disks (), file systems, NFS, top processes, resources () and on Power micro-partition information.Data is displayed on the screen and updated once every two seconds, using a dumb screen. However, you can easily change this interval to a longer or shorter time period.The nmon tool can also capture the same data to a text file for later analysis and graphing for reports. The output is in a spreadsheet format (.csv).Open the terminal and type following commandNmon can output the data in two waysAfter successful installation of nmon, you can run the utility using command:or use the command:to get the list entire command line help for noon, Once nmon is launched, an interactive screen with the various options will be displayed on the screen.Second, Save the data to a comma separated file for analysis and longer term data capture.Here is the simple command to put the nmon in background to collect the data:This will generate the data in current directory for two hours, capturing data every 30 seconds* Use this together with nmon Analyser Excel spreadsheet , which loads the nmon output file and automatically creates dozens of graphs ready for you to study or write performance reports.* Filter this data, add it to a rrd database (). This graphs the data to .gif or .png files plus generates the webpage .html file