On May 11, 2008, at 13:25, Finlay Dobbie wrote:
On Sat, May 10, 2008 at 10:45 PM, Torsten Curdt [EMAIL PROTECTED]
wrote:
Note that you don't have to make system_profiler write to a file.
You can
call it with NSTask, attach an NSPipe to its stdout, and read that
with an
NSFileHandle
Hey guys,
Is there any other way of collection system information like
- OS version
- processor speed and architecture
- RAM
other than calling
system_profiler -xml system.plist
system_profiler -detailLevel mini -xml system.plist
system_profiler SPHardwareDataType
Hi Torsten,
Apparently Gestalt is part of CoreServices (I thought it was Carbon). That will
return a lot of info about the host system. I know processor speed, memory, and
architecture are in there.
See Gestalt.h for more info.
-Chilton
___
On 10 May '08, at 8:28 AM, Torsten Curdt wrote:
Is there any other way of collection system information like
- OS version
- processor speed and architecture
- RAM
other than calling
system_profiler -xml system.plist
This was just asked a few days ago on the darwin-userlevel mailing
On May 10, 2008, at 18:12, Chilton Webb wrote:
Hi Torsten,
Apparently Gestalt is part of CoreServices (I thought it was
Carbon). That will return a lot of info about the host system. I
know processor speed, memory, and architecture are in there.
See Gestalt.h for more info.
Thanks,
Is there any other way of collection system information like
- OS version
- processor speed and architecture
- RAM
other than calling
system_profiler -xml system.plist
This was just asked a few days ago on the darwin-userlevel mailing
list; search the archives for details. That poster
On May 10, 2008, at 8:28 AM, Torsten Curdt wrote:
Is there any other way of collection system information like
- OS version
- processor speed and architecture
- RAM
What do you need to collect this information for?
Every week or so, someone asks *exactly* this question. What is
everyone
On 10 May '08, at 6:55 PM, Chris Hanson wrote:
Every week or so, someone asks *exactly* this question. What is
everyone doing with this information?
I just want to know why everyone suddenly needs to parse XML and/or
control other apps' windows. (Hm, maybe they're implementing botnets