On Tue, Feb 23, 2010 at 9:48 AM, R. P. Janaka <rpjan...@gmail.com> wrote:
> Hi all, > > Is there a way to get system memory consumption and CPU consumption in a > platform independent way, using python...? > > Basically my requirement is, get the memory status and CPU status of a > particular process. If there is a way to get memory info and CPU info by > just giving the process ID, that is exactly what I need to do :) > Is this possible with python..? > I'm afraid that this is not possible in a platform independent way. In case of Windows, you can look at Tim Golden's WMI module for Python. And in case of Linux, you need to dig the details of /proc. Regards Taskinoor Hasan (Sajid) > > -- > Regards, > R. P. Janaka > > -- > http://mail.python.org/mailman/listinfo/python-list > >
-- http://mail.python.org/mailman/listinfo/python-list