se strict;
use warnings;
my $x = <STDIN>;
foreach my $x ( sort glob('$x/*') ) {
my($dev,$ino,$m ode,$nlink,$uid ,$gid,$rdev,$si ze,$atime,$mtim e,$ctime,$blksi ze,$blocks)
= stat($x);
printf("%-40s %8u bytes\n", $x, $size);
}
User Profile
Collapse
-
Monitor the disk usage using perl without pakages
Last edited by Rajesh Anumula; Sep 3 '18, 10:32 AM. Reason: i need to display all users in disk partition.but i am able to print only one user.can u help me regarding this issue. Thanks, Rajesh
No activity results to display
Show More