I know, but that is what I am stuck with (besides, what is wrong with
writing platform independent code?). I could use a Windows/DOS batch
command...if I knew which one to use.

Tal

PS

Rude comments are always welcome...they're entertaining :D

-----Original Message-----
From: Anthony R. J. Ball [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 14, 2004 2:54 PM
To: Tal Cohen
Cc: 'Boston.PM'
Subject: Re: [Boston.pm] Is there a module to access memory usage?


  I will refrain from rude comment ;)

On Wed, Jul 14, 2004 at 02:22:31PM -0400, Tal Cohen wrote:
> Yeah, I thought of that. I was hoping for a platform independent
mechanism.
> If not, then I can use this type of methodology, but how do I account for
> Windows based machines?
> 
> Tal
> 
> -----Original Message-----
> From: Anthony R. J. Ball [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 14, 2004 2:14 PM
> To: Tal Cohen
> Cc: 'Boston.PM'
> Subject: Re: [Boston.pm] Is there a module to access memory usage?
> 
> 
>   `top -n 1` will spit out one iteration of top that you could then
> parse. 
> 
> On Wed, Jul 14, 2004 at 02:05:07PM -0400, Tal Cohen wrote:
> > Hi All,
> > 
> >      I need to write a script that will return how much memory (RAM) is
on
> a
> > system as well as how much of it is being used. Can anyone assist?
> > 
> >  
> > 
> > Thanks,
> > 
> > Tal Cohen
> > 
> > _______________________________________________
> > Boston-pm mailing list
> > [EMAIL PROTECTED]
> > http://mail.pm.org/mailman/listinfo/boston-pm
> > 
> 
> -- 
>      www.suave.net - Anthony Ball - [EMAIL PROTECTED]
>         OSB - http://rivendell.suave.net/Beer
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Live as you will have wished to have lived when you are dying.
> 
> 
> _______________________________________________
> Boston-pm mailing list
> [EMAIL PROTECTED]
> http://mail.pm.org/mailman/listinfo/boston-pm
> 

-- 
     www.suave.net - Anthony Ball - [EMAIL PROTECTED]
        OSB - http://rivendell.suave.net/Beer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
A man's life, of any worth, is a continual allegory. -- Keats


_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to