Close Menu
    X (Twitter)
    Hectic GeekHectic Geek
    • Apps
      • Apps for Mac
      • Apps for PCs
      • Best Apps
    • Concepts
      • Comparison
      • For Geeks
      • IT Careers
    • Gadgets
      • Accessories
      • Best Work Laptops
      • Budget Laptops
    • GNU/Linux
      • Ubuntu
    • How To
      • Virtualization
      • Windows
      • Windows How-To
    Hectic GeekHectic Geek
    Home ยป Command-line Based System Monitor for Ubuntu Linux – nmon
    Ubuntu

    Command-line Based System Monitor for Ubuntu Linux – nmon

    GayanBy GayanDecember 16, 2011Updated:September 22, 20124 Comments3 Mins Read
    Twitter Reddit Telegram WhatsApp Email
    Share
    Twitter Reddit Telegram WhatsApp Email

    The system monitoring utility that comes with Ubuntu is a GUI tool and it is pretty good too. But if you’re a system administrator or a user who usually hangs around the Terminal or the command-line, then wouldn’t it be nice to type a command from same command-line window and open a system monitor without having to “switch over” to the mouse?

    If that’s so then you should check out this one called “nmon” (stands for Nigel’s Monitor). From real time system monitoring to saving the data for later analysis (can be useful for measuring the average system loads, power consumptions etc) it is a pretty powerful tool that’s worth checking out.

    Main features…

    *. It uses the “ncurses” for creating those GUI windows inside of your command-line window.

    *. Fetches data from hardware devices such as: CPU load (system/user) and processor’s wait and idle seconds, Memory related data (RAM usage, full capacity, Swap file usages etc), Kernel status (system load, runtime etc), long-term CPU data (graphs with previous CPU usages), Disk status (read/write, transfer rate), various network related data (packets sent/received, bandwidth monitoring, transfer rate, etc), advanced CPU data fetching (manufacture, cache sizes, instructions etc), see running “top-processes” (which is quite handful while trying to find some of those hung-up apps) … these are only some of its main features to mention!.

    *. Change the data update rate using keyboard (+/-).

    *. Minimal Mode: Which only displays “busy” processes and their disk bandwidth usages.

    *. A “Black & White” mode (it uses few colors by default for creating graphs).

    *. As said before, you can save the collected system data to CSV files for later analysis.

    nmon only showing Disk related data …

    You can install nmon in Ubuntu 12.04 Precise Pangolin, 11.10 Oneiric Ocelot, 11.04 Natty Narwhal, 10.10 and 10.04 (might also work is older versions too) by simply typing the below command your Terminal window.

    sudo apt-get install nmon

    And whenever you want to launch it just type in its name in the command line (as shown below) which should open it inside of your command-line window.

    nmon

    It’s extremely easy to use actually. For instance once opened, it’ll show you the shortcut keys that activates different types of system monitoring (only single keys are associated for ease of use).

    So if I wanted it to only monitor the CPU, then I’d use the keyboard shortcut “c” (pressing it again will disable it). If you want to monitor more hardware, then press the appropriate shortcut keys and they’ll be automatically added to the window.

    Some of the shortcuts. If you want the full list, then enter “h” key …

    As said above this might not be that tempting to the average users but when considering its features (certainly better than the default one in Ubuntu), as a system administrator “nmon” is most certainly a handy tool. Not for the fainthearted though ๐Ÿ™‚ (kidding!).

    Share. Twitter Reddit Telegram WhatsApp Email
    Gayan

    An RHCE, 'Linux' user with 14+ years of experience. Extreme lover of Linux and FOSS. He is passionate to test every Linux distribution & compare with the previous release to write in-depth articles to help the FOSS community.

    Related Posts

    How to Check Linux CPU Usage?

    February 5, 2024

    Linux export Command: A Comprehensive Tutorial

    February 3, 2024

    Debian vs Ubuntu Server: A Brief Comparison for Beginners

    July 2, 2023

    CPU Based Simple System Stability and Benchmark Tester for Ubuntu Linux – systester

    June 16, 2023

    Typespeed: Typing Speed Testing Game for Ubuntu Linux

    March 12, 2023

    Debian vs Ubuntu in 2023- Which Linux OS is Right for You?

    January 6, 2023

    4 Comments

    1. Brian on August 2, 2013 9:11 pm

      nice right up, I’ve normally used htop, but now I’m using nmon i like it, lots more useful detail than htop in the same screen real estate.

      Reply
      • Gayan on August 3, 2013 6:05 am

        Hi Brian,

        You’re welcome.

        Reply
    2. Prashant on August 27, 2014 4:58 pm

      hi. thanks for such a knowledgeable information. for example if i measure power usage by a process & it comes out to be say 3 watts. is there some tool by which i can view the breakup of this 3 watts under different heads such as memory, cpu, etc. as in how much was consumed in which component???

      Reply
      • Gayan on August 27, 2014 5:55 pm

        ‘PowerTop’ might be of some help (I don’t think it’s capable of living up to your expectations though). It’s a powerful tool, but I’ve not used it that much to tell you more about it.

        https://01.org/powertop

        Reply
    Leave A Reply Cancel Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Latest Posts

    Transforming Geek Culture with Advanced Software Development

    April 8, 2024

    The Role of Technology in Enhancing Digital Signage Solutions

    February 21, 2024

    How to Check Linux CPU Usage?

    February 5, 2024

    Linux export Command: A Comprehensive Tutorial

    February 3, 2024

    [Fixed] HDMI No Signal to TV or Monitor on Windows 10/11

    November 7, 2023

    AlmaLinux vs Ubuntu – How to Select the Best One?

    October 22, 2023

    Subscribe to Updates

    Get the latest news and updates from Hectic Geek. We won't overload you or sell your data!

    Contact
    • About Us
    • Contact Us
    • Privacy Policy
    • Write for Us
    X (Twitter)
    © 2026 Hectic Geek.

    Type above and press Enter to search. Press Esc to cancel.