UKFast
UKFast

UKFast Documentation

Improve This Doc
  • Cloud
  • Desktop and office solutions
  • Domains and DNS management
  • Backup and High Availability
  • eCommerce Stacks
  • Security
  • Email
  • Load Testing
  • Monitoring and usage management
    • PROProtection report
    • Capacity Threshold Monitoring
    • Memory usage
    • Bandwidth usage
    • Disk space
    • Using Windows Resource Monitor to inspect working processes
    • Using DPACK to monitor server/virtual machine performance
    • How to Install and Configure New Relic on CentOS 7
  • Networking
  • Operating systems
  • Webcelerator
  • MyUKFast
  • Home >
  • Monitoring and usage management >
  • Disk space

Disk space¶

It’s quite common to want to check the status of the various partitions/drives on your server to see how full they are. To do so run this command:

   df -h

This will produce output similar to the following:

   [root@mail ~]# df -h
   Filesystem            Size  Used Avail Use% Mounted on
   /dev/mapper/VolGroup-lv_root
                          19G  1.6G   16G   9% /
   tmpfs                 245M     0  245M   0% /dev/shm
   /dev/sda1             485M   47M  413M  11% /boot

In this basic example, we can see that the / partition only has 9% used.

For a more complex example that also covers using df to see various mountpoints, see below:

   [root@mail ~]# df -h
   Filesystem            Size  Used Avail Use% Mounted on
   /dev/mapper/VG-root   1.9T  1.7T   89G  95% /
   /dev/mapper/VG-var    431G  145G  264G  36% /var
   devtmpfs              7.8G  204K  7.8G   1% /dev
   tmpfs                 7.8G  4.0K  7.8G   1% /dev/shm
   /dev/md1              495M  126M  344M  27% /boot
   ku.example.com:9421   2.5T  487G  2.0T  20% /mnt/test
   tmpfs                 500M   86M  415M  18% /var/ngx_pagespeed_cache

In this example, we have a root partition that’s 95% full along with an additional /var partition that’s only 36% full. It’s got an external network mount of 2T that’s mounted on /mnt/test and a ramdisk/tmpfs mount of 500M mounted on /var/ngx_pagespeed_cache.

Next Article > Using Windows Resource Monitor to inspect working processes

  • Useful Links
  • Dedicated Servers
  • Cloud Hosting
  • Hosting Solutions
  • Ecommerce Hosting
  • Colocation
  • UKFast Data Centres
  • Partner Programme
  • About UKFast
  • Careers
  • Blog
  • Get in touch
  •  
  • Sales 0800 458 4545
  • Support 0800 230 0032
  • Help & Support
  • Contact Us
  • Request a Quote
  • Live Chat
  • Dell
  • Redhat
  • VMWare
  • Microsoft
  • Cisco
  • 3Par
  • LPI
  • PCI Security Standards Council
  • ISOQAR
  • BSI

© UKFast.Net Ltd 1999 - UK's Best Dedicated Server Web Hosting | Privacy Policy | Support | Corporate Guidance | Sitemap
UKFast.Net Limited, Registered in England, Company Registration Number 03845616, Registered Office: UKFast Campus, Birley Fields, Manchester, England, M15 5QJ