The sys admin’s daily grind: ncdu

BLOATED DATA

Article from Issue 81/2007
Author(s):

I’ve never heard of an admin having to remove disks from a server because of a chronic lack of data, but full disks are part of the daily grind. The du clone ncdu will help slim down your data.

I use Nagios to keep track of hard-disk capacity on my server disks. Whenever the successor to NetSaint kindly informs me that the remaining disk capacity on server XY has dropped below the magical threshold of 10%, I may be warned, but the trouble is just starting. If I’m out of luck, the whole data repository could reside on a RAID system without anything in the line of partitioning, and believe me, this is fairly typical for smaller servers. With a bit more luck, Nagios might tell me that the /var partition is the bottleneck, leaving me to launch du and find out where the disk hogs have their megabytes stashed. Unfortunately, output from the Disk Usage tool for overly complicated directory trees, like the ones I have, is less than intuitive.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Charly’s Column: OpenNetAdmin

    Last month, the Havege daemon helped organize the chaos in this column. Today, Charly attempts to organize the network – a tale of suffering in three chapters.

  • Charly's Column

    The principle behind Rsnapshot is nothing new: use Rsync and SSH to back up files to another computer. What sets Rsnapshot apart is its simple setup and its rich collection of features.

  • Charly's Column: Nmon

    Nmon monitors system information. You can use the Nmon’s capture mode to output data to a file, then extract the values you need with a script.

  • Charly's Column

    Debian fans appreciate the ability to update their systems to a new release without having to reinstall. The Deborphan tool takes care of the victims of the upgrade by searching for orphaned packages on which no other packages depend.

  • Charly's Column

    On a trip to Berlin, Charly discovers that the nmap port scanner has a new cousin who enjoys spying on phones – smap scans networks for VoIP devices.

comments powered by Disqus

Direct Download

Read full article as PDF:

Charlys_Column.pdf  (86.79 kB)

News

njobs Europe
What:
Where:
Country:
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia