Netdata is an open-source, real-time monitoring tool designed to provide detailed insights into Linux system performance. It collects data on CPU, memory, disk usage, network traffic, applications, and more, delivering instant metrics and dynamic visualizations through a web-based interface. One of Netdata’s key advantages is its lightweight design, allowing continuous monitoring without adding heavy system load. It also offers alerts and notifications, making it ideal for sysadmins needing instant feedback on system health.
This tool monitors following parameters,
- CPU usage, interrupts, softirqs and frequency (total and per core)
- RAM, swap and kernel memory usage (including KSM and kernel memory deduper)
- Disks (per disk: I/O, operations, backlog, utilization, etc)
- IPv4 networking , IPv6 networking
and many other parameters, you can check the github documentation for list of more parameters.
Follow, below procedure to install this on your ubuntu PC,
$ wget -O /tmp/netdata-kickstart.sh https://get.netdata.cloud/kickstart.sh && sh /tmp/netdata-kickstart.sh --prepare-offline-install-source ./netdata-offline
$ cd netdata-offline/
$ ./install.sh
After installing Netdata, you can monitor your system’s CPU usage by navigating to http://localhost:19999
. The interface displays real-time CPU graphs, load averages, and individual core usage, helping you identify performance bottlenecks.
This is how the User Interface Looks like,
Netdata allows you to configure custom alerts based on system metrics. For example, if you want to receive an alert when CPU usage exceeds 90%, you can customize the alerting configuration to trigger notifications via email or messaging apps.
To stop netdata, just kill it, with: killall netdata
To start it, just run it: /usr/sbin/netdata
Enjoy!
References: github code https://github.com/firehol/netdata