in reply to Determining the Memory Usage of a Perl program from within Perl
Try
You can find fields's description in man 5 proc
_______________
Hope this helps
open( STAT , "</proc/$$/stat" ) or die "Unable to open stat file"; @stat = split /\s+/ , <STAT>; close( STAT );
You can find fields's description in man 5 proc
_______________
Hope this helps
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Determining the Memory Usage of a Perl program from within Perl
by snafu (Chaplain) on Apr 25, 2001 at 18:35 UTC | |
by hippo (Bishop) on Oct 16, 2021 at 11:06 UTC | |
Re^2: Determining the Memory Usage of a Perl program from within Perl
by Bod (Parson) on Oct 16, 2021 at 00:04 UTC |
In Section
Seekers of Perl Wisdom