Hi,
thanks to both! I will take a look at the proc files!
* James T. Dennis <[EMAIL PROTECTED]> wrote:
> Fabian Braennstroem <[EMAIL PROTECTED]> wrote:
>> Hi,
>
>>I would like to track the cpu usage of a couple of
>>programs using python. Maybe it works somehow with
>>piping 'top'
Fabian Braennstroem <[EMAIL PROTECTED]> wrote:
> Hi,
>I would like to track the cpu usage of a couple of
>programs using python. Maybe it works somehow with
>piping 'top' to python read the cpu load for a greped
>application and clocking the the first and last
>appearence. Is t
On Mon, 14 May 2007 20:56:20 +
Fabian Braennstroem <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to track the cpu usage of a couple of
> programs using python. Maybe it works somehow with
> piping 'top' to python read the cpu load for a greped
> application and clocking th
Hi,
I would like to track the cpu usage of a couple of
programs using python. Maybe it works somehow with
piping 'top' to python read the cpu load for a greped
application and clocking the the first and last
appearence. Is that a good approach or does anyone have
a more ele