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:  Useful Android Apps To Remote Control Your 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:  Manjaro Linux 22.0 “Sikaris” Released With Linux Kernel 6.1
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

How To Fix 'Umount Target Is Busy' Error in Linux How To Fix ‘Umount Target Is Busy’ Error in Linux How To Ubuntu
Best Linux Operating Systems For Beginners In 2020 Best Linux Operating Systems For Beginners In 2022 Linux
How To Backup Ext2, Ext3, or Ext4 File Systems In Linux [Updated] How To Backup Ext2, Ext3, or Ext4 File Systems In Linux [Updated] Linux
Tutorial To Auto Execute Linux Scripts And Commands During Startup Tutorial To Auto Execute Linux Scripts And Commands During Startup Linux
List Of Useful Server Monitoring Tools For Linux System Administrator In 2023 List Of Useful Server Monitoring Tools For Linux System Administrator In 2023 Linux
Free Linux AntiVirus Top 7 Best Free Linux AntiVirus Softwares In 2018 Ubuntu

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]
  • Responsible Sourcing Data Scientist and Project Manager

    • Eden Prairie, MN (Remote)
    • Solventum
    • Full Time
  • Customs Entry Writer (Queens)

    • Queens, NY
    • CEVA Logistics
    • Part Time
  • Grants Writer (Los Angeles)

    • Los Angeles, CA
    • LHH
    • Part Time
  • Grants Writer (Los Angeles)

    • Los Angeles, CA
    • LHH
    • Part Time
  • Customs Brokerage Entry Writer (Houston)

    • Houston, TX
    • Total Quality Logistics
    • Part Time
  • User Experience Writer (San Antonio)

    • San Antonio, TX
    • Brooksource
    • Part Time
  • User Experience Writer (Phoenix)

    • Phoenix, AZ
    • Brooksource
    • Part Time
  • Contract Writer (Boca Raton)

    • Boca Raton, FL
    • Seneca Resources
    • Part Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme