Python has very good documentation about portability. There are many things that really do not work the same on Windows and the Unix/Linux. Many calls are not shared.
I doubt that one can write a compatible system load meter between Windows and Linux/Unix. The definitions used by the OSs are not the same. You can come close. Under Windows, the standard Unix load can be approximated by the average processor queue length in the performance package. Multiple processors make this complex. Under Windows, the system load is usually read as the CPU usage (% processor utilization). Different OSs read this differently (even within the Windows family). Again, multiple processors make this complex. Martin > With reference to the complete portability thing, on thing I would > like to be able to do is to retrieve the load of the host's CPU. Now I > presume this is going to be a call to some dll under windows and to > other things on other O/S. _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython