On 2/8/07, Jason Martin <[EMAIL PROTECTED]> wrote: > I still have no idea how to do it on Windows... googling this isn't > helping me because I don't know the key words to start looking. Any > of you Windows programmers out there know how to do it?
I wrote part of a system cross-platform monitoring library for windows, linux, etc (ala Gkrellm) and I remember Windows being pesky. Windows uses something called PDH (Performance Data Helper). You query it for different kinds of information and it returns some kind of string to you. Lo and behold, python seems to have a kind of wrapper that can query the PDH library. There's a recipe here, that shows how to use it: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303339 I'm assuming that win32pdh, string, win32api are all included in stock python. didier --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---