[Nagiosplug-help] Directory Size

Greg Vickers g.vickers at qut.edu.au
Mon Oct 25 21:38:07 CEST 2004


Here ya go:

$cat dir-size.sh

#!/bin/sh
du $1;

usage: dir-size.sh <directory>

barry.maclean wrote:
> I’m looking for a script that I can monitor the size of a directory.
> 
>  
> 
> Thanks Barry
> 

-- 
Greg Vickers
Security Engineer
Network Services
Information Technology Services
Queensland University of Technology

email: g.vickers at qut.edu.au
phone: (07) 3864 9536

CIROS code: 00213J




More information about the Help mailing list