On Fri, Oct 9, 2009 at 11:06, Tim Golden <m...@timgolden.me.uk> wrote:

> Here at least I can help. Try using WMI which eats this kind of
> thing for breakfast[*]. Start here:
>
>  http://timgolden.me.uk/python/wmi.html
>
> taking in this:
>
>  http://timgolden.me.uk/python/wmi-tutorial.html
>
> and this:
>
>  http://timgolden.me.uk/python/wmi_cookbook.html
>
> and feel free to get back with specifics.

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.  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.

Thanks a lot for the pointers!

Jeff

-- 

Ogden Nash  - "The trouble with a kitten is that when it grows up,
it's always a cat." -
http://www.brainyquote.com/quotes/authors/o/ogden_nash.html
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to