"Yi Qiang" <[EMAIL PROTECTED]> wrote
> I am trying to get some basic information about the computer's
> hardware specs in OSX in python.  In linux I can get most of what I
> need from the /proc filesystem.  Is there an equivalent in OSX?

OSX is just BSD Unix so most things will be available in /proc.
What happens when you try it?

> not, where else can I get information about the system from?  I need
> CPU model, # of cpus, cpu speed, physical memory, etc.

But I'm not sure if that specific info is available.

The NSProcessInfo class also provides a lot of information,
but mainly about the OS version etc, but it might have CPU
details too, check the docs...

HTH,

Alan G. 


_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to