- or download this
my @a = (
[4129290, 1675967, 2412031, '41%', '/usr/bin' ],
...
======
before sort: /local
Sorted by drive: /usr/bin
- or download this
my @df_k = split(/\n/, `df -k`);
...
[ \@sorted_by_drive ],
[qw( $sorted_by_drive )],
));
- or download this
sub parseIntoArraySolaris (@df)
^^ what does this mean?
...
but it's not listed in
docs and it doesn't give
the args to the var @df.
- or download this
sub parseIntoArraySolaris {
my @rows;
...
return @rows;
}
- or download this
sub parseIntoArraySolaris {
return map {
...
[ $b/1024, $c/1024, $d/1024, $e, $f ]
} @_;
}
- or download this
my @df_k = split(/\n/, `df -k`);
...
[ \@sorted_by_drive ],
[qw( $sorted_by_drive )],
));
- or download this
# Get data.
my @df_k = split(/\n/, `df -k`);
...
[ \@sorted_by_drive ],
[qw( $sorted_by_drive )],
));