> 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
> 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
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
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