Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Determining the Memory Usage of a Perl program from within Perl

by snafu (Chaplain)
on Apr 25, 2001 at 18:35 UTC ( #75470=note: print w/replies, xml ) Need Help??


in reply to Re: Determining the Memory Usage of a Perl program from within Perl
in thread Determining the Memory Usage of a Perl program from within Perl

The Linux /proc fs is pretty nice because all of the data there (or what I found in there) is ascii readable. However, anyone know how to parse out the binary data in the Solaris /proc fs? I have never ever ever done any kind of parsing of data (non-ascii) in my life and while I know the basic I idea behind it I have no idea how to do it in Perl (or any other language for that matter :). Perhaps a few pointers? I have a feeling that it can be done with the '&' bitwise operator (I saw a script that did it that way one time) but I believe you need the offset for that to work?? I dunno. Any help on this subject would be quite appreciated.

----------
- Jim

  • Comment on Re: Re: Determining the Memory Usage of a Perl program from within Perl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://75470]
help
Chatterbox?
[LanX]: Official YAPC Africa 2013 Announcement
erix always game to pull legs from sleeping cells
[erix]: hm nice might do a spot of diving - Red Sea is said to be beautiful
[LanX]: well too many terrorist tourists
[erix]: I guess I can pass for a native
[LanX]: talking about destruction of diving spots
[LanX]: Nodes to consider
[erix]: oops - got to run, see you later
[robby_dobby]: erix: 'appy day'ving

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2017-04-24 16:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (442 votes). Check out past polls.