Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
Monitor Linux Disk Usage

Best Tools To Monitor Linux Disk Usage And Partitions

Posted on April 22, 2019March 29, 2022 By admin No Comments on Best Tools To Monitor Linux Disk Usage And Partitions

Insight: Tools To Monitor Linux Disk Usage And Partitions

It is always a wise and a good habit to monitor Linux disk usage and partitions to avoid future problems and complications. In this post, we are going to write about a few but best tools to monitor Linux disk usage and partitions.

Tools To Monitor Linux Disk Usage And Partitions

1. pydf command

pydf is a python script that is used to figure out the amount of disk space available. It is generally used to display the amount of used and available disk space on your Linux.  The output of the pydf command is completely customizable. It is similar to a df command.

You need to install pydf command in your Linux operating system as it is not available by default.

Run the following command to install pydf command in Ubuntu 20.04 LTS/Debian:

sudo apt-get install pydf

Run the following commands to install pydf command in CentOS 8.X, RedHat 8.X.

yum install -y python-pip
pip install --upgrade pip
pip install pydf

How To Use PYDF Command

If you run only “pydf” command then it will display the disk space usages. Some of the command examples are:

pydf -a - To check file systems having 0 block
pydf -k - To print size in kilobytes
pydf -g - To print size in gigabytes

 

READ More Relevant Stuff:  Create Bootable CentOS 7 USB Stick on Linux

2. df command

df command is a useful built-in command in Linux. df also stands for the disk file system and can be used to get the details of available disk space along with used space on the Linux operating system.

How To Use df Command

df -h  "To display sizes in Human Readable formats"
df -T  "Display the file system type in the output"
df -a  "List disk usage of all the file system"
df -k  "Print disk usage of file systems in block-size"

3. cfdisk command

cfdisk stands for curses fdisk. It is a curses-based disk partition table manipulator for Linux. It is based on libfdisk and supports GUID Partition Table, BSD disklabel, Master boot record,  SGI, and SUN disk labels.

cfdisk /dev/sda

4. fdisk Command

Most used disk management command in Linux as fdisk also known as format disk is a partition table manipulator for Linux. Some of the  fdisk command examples:

fdisk -l "View all disk partitions"
fdisk -l /dev/sda "View details about specific disk partition"
fdisk -s /dev/sda2 "Check size of a partition in Linux"

5. sfdisk command

sfdisk is a short form of scriptable fdisk. We can call sfdisk as an advanced version of fdisk. Some of the sfdisk command examples are:

sfdisk -l "View Existing Disk Partitions"
sfdisk -l -uM "Display Size in MB"
sfdisk /dev/sdf "Create New Disk Partitions"
sfdisk -s "Display Total Partition Size"
sfdisk -d "Dump Disk Partition Details to Text File"
sfdisk -lx /dev/sdf "Display Extended Partition Details"
sfdisk -T "Display All Disk Partition types"

 

 

READ More Relevant Stuff:  Deepin Linux 20.3 Is Out With Linux Kernel 5.15 LTS
Linux

Post navigation

Previous Post: Ubuntu 19.04 Released With Plenty Of Features, Download Link
Next Post: Top 10 Best Linux Password Managers In 2020

Related Posts

Linux How To Unzip Files Tutorial For Everyone Linux How To Unzip Files Tutorial For Everyone Linux
Ubuntu 20.04 LTS: Release Schedule Ubuntu 20.04 LTS: Release Schedule Linux
How To List All SELinux Contexts [2023] How To List All SELinux Contexts [2023] Linux
How To Unzip (Open) Gz File How To Unzip (Open) Gz File How To Ubuntu
Linux 5.12 Kernel Reaches End of Life Linux 5.12 Kernel Reaches End of Life Linux
Mars 15 Laptop Full Specification - Linux Powered Laptop Mars 15 Laptop Full Specification – Linux Powered Laptop Linux

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023
  • Linux Wget Examples September 27, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at [email protected]
  • Data Scientist – Power BI & Dataiku Expert (Pharmaceutical Industry)

    • York, PA (Remote)
    • ALTEN
    • Full Time
  • Technical Writer

    • Oak Ridge, TN
    • GAS Global
    • Full Time
  • Senior Technical Writer

    • Austin, TX
    • American Unit, Inc
    • Full Time
  • Sr. Technical/Copy Editor

    • Remote
    • General Dynamics Information Technology
    • Full Time
  • Grant Writer ***on-site***

    • Trenton, NJ
    • Deborah Heart and Lung Center
    • Full Time
  • Senior Technical Writer

    • Austin, TX
    • TPI Global Solutions
    • Full Time
  • Technical Writer

    • Oak Ridge, TN
    • Morson Talent (Canada & USA)
    • Full Time
  • Produce Order Writer (Buyer / Inventory Replenishment) – Full Time

    • Basalt, CO
    • Whole Foods Market
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme