in reply to Re^6: memory use array vs ref to array
in thread memory use array vs ref to array
sub psMem { my( $pid ) = @_; my @lines = qx{$GOTPS -o vsize,rss -p $pid }; chomp @lines; foreach my $line (@lines) { my ( $vsize, $rss) = split /\s+/, $line; return "VM: $vsize RSS: $rss "; } return; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: memory use array vs ref to array
by choroba (Cardinal) on Sep 18, 2016 at 12:26 UTC | |
by Anonymous Monk on Sep 18, 2016 at 22:00 UTC | |
by choroba (Cardinal) on Sep 19, 2016 at 07:55 UTC |