RE: [Perl-unix-users] need of a perl script

2005-03-16 Thread Thomas, Mark - BLS CTR
> The command for top 10 disk users would be: > 'du -sk /export/home | sort -rn | head -10' Slight correction (I should have tested it first) du -sk /export/home/* | sort -rn | head -10 -- Mark Thomas Internet Systems Architect ___ BAE SYSTEMS Informati

RE: [Perl-unix-users] need of a perl script

2005-03-16 Thread Thomas, Mark - BLS CTR
> i need a perl script which reports the free disk space > of a solaris 9 system. the script shud also tell me > about the top ten disk space users. > the format to report about disks is as follows :- > > Filesystemkbytes used availcapacity Mounted on > /dev/dsk/c0t0d0s0 24

Re: [Perl-unix-users] need of a perl script

2005-03-16 Thread Miha Radej
hi! a quick search brought up this: http://search.cpan.org/~abarclay/Filesys-DiskFree-0.06/DiskFree.pm i hope it will prove helpful. regards, M a b wrote: hi, i need a perl script which reports the free disk space of a solaris 9 system. the script shud also tell me about the top ten disk space use

[Perl-unix-users] need of a perl script

2005-03-16 Thread a b
hi, i need a perl script which reports the free disk space of a solaris 9 system. the script shud also tell me about the top ten disk space users. the format to report about disks is as follows :- Filesystem        kbytes  used      avail        capacity  Mounted on /dev/dsk/c0t0d0s0  246466