J wrote:
Awesome!  Thanks a lot.  I'll dig into that after lunch.  I finally
stumbled on the ActiveState info on win32api with a ref for all the
calls, and I'll have to do a little more digging.

Well that's simply a copy of the CHM which is provided with
the pywin32 installation. I host another copy over here:

 http://timgolden.me.uk/pywin32-docs/contents.html

for private entertainment. It's fairly searchable using Google, eg:

http://www.google.co.uk/search?q=site%3Atimgolden.me.uk%2Fpywin32-docs+EnumProcesses

and has a bit of breadcrumbness about it to help you out. But,
as I say, it's merely an online copy of the .chm which is itself
eminently searchable.


I found out finally
how to pull SYSTEM_INFO (turns out it IS farily trivial) but now I
have other things to figure out (which is nice, as it actually gives
me something to do while I'm waiting on the next project to start).

I can pull most of what I need now after finding the ActiveState
reference, but specifically, I'm having trouble with:

Number of logical processors (counting cores with and without
HyperThreading enabled in BIOS)
Number of processor packages
Total system RAM
Available RAM

I think I can figure out the RAM, but right now it's the processor
counting and info that's dogging me.

Anyway, like I said, I'll dig into the WMI stuff in a bit after a nice
break from the lab and this nasty chair.

Although I'm the author of the Python wmi module, WMI itself
covers such a huge area that I have absolutely no pretence
at comprehensive knowledge. Faced with queries such as yours,
I'd normally just stick, eg, "available ram wmi" into Google
and go from there. There's lots of info out there aimed at
C or vbs developers; translating it into Python's usually
not too hard.

TJG
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to