• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How To Monitor Linux Ubuntu System Resources

How To Monitor Linux Ubuntu System Resources

By Sourabh / September 25, 2015 Category: How To, Ubuntu

Monitor Linux Ubuntu System resources like CPU, Disk IO and Network. Install Collectl, all-in-one performance monitoring tool for Linux Ubuntu. Collectl collects all the data that describes the current system status. The app write all the data from live system to file or display on Terminal.

Collectl is a command-line utility for Linux Ubuntu System administrators. The tool that collects and shows the system performance data, the current system status. It shows all the different types of system resources such as cpu, disk, memory, network, sockets, tcp, inodes, memory, nfs, processes and others.

The Collectl works in two different modes:

  1. Record Mode – read data from live system and write to file or display on terminal
    collectl [-f file] [options]
  2. Playback Mode – read data from one or more raw data files and display on terminal
    collectl -p file1 [file2 …] [options]

Collectl can run interactively, as a daemon or both. The command displays the output in many formats and can record and playback the captured data. By default, it displays the data in the Terminal. If you want to save the data, it can also export the data in various file formats.

How to install collectl tool

Run the following commands in Terminal to install collectl in Debian or Ubuntu or Linux Mint Systems:

sudo apt-get install collectl

collectl-01

How to use collectl commands

Once the installation is finished, the collectl can be used in Terminal, even without any option or parameters.


collectl

collectl-012

The collectl command displays interrupts, memory usage and nfs activity with timestamps.

The collectl commands can be used using with more than one parameters. The summary list of collectl command parameters are.

  • b – buddy info (memory fragmentation)
  • c – CPU
  • d – Disk
  • f – NFS V3 Data
  • i – Inode and File System
  • j – Interrupts
  • l – Lustre
  • m – Memory
  • n – Networks
  • s – Sockets
  • t – TCP
  • x – Interconnect
  • y – Slabs (system object caches)

For example to known the status of system memory, use the command:

collectl -sm

collectl-014

You can also use scdn command. The default option is “cdn”. The commands stands for CPU, Disks and Network Data.

collectl scdn

collectl-013

You can also use the command to display the information in verbose format.

collectl -sjmf -oT

You actually see the network traffic stall while waiting for the server to physically write the data.

Tags: Collect Linux Ubuntu System Resources, Collectl CLI Tool To Monitor System Resources, Collectl Command Line Utility Tool, Collectl Linux, Collectl Linux System Admin Tools, Collectl Tool To Monitor System Resources, Collectl Ubuntu, Collectl Ubuntu System Admin Tools, Collectl Ubuntu Tool, Command Line Utility Tool Collectl, How To Monitor Linux Ubuntu System Resources, Install Collectl on Linux, Install Collectl on Ubuntu, Linux System Admin Tools, Monitor Linux CPU Resources, Monitor Linux Hardware Resources, Monitor Linux System Resources, Monitor Linux Ubuntu Hardware Resources, Monitor Linux Ubuntu Network Resources, Monitor Linux Ubuntu System Resources, Monitor Ubuntu CPU Resources, Monitor Ubuntu Network Resources, Monitor Ubuntu System Resources, Read Linux Ubuntu System Resources, Ubuntu Collectl

Primary Sidebar

Latest Posts

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap