Re: Determining real-time CPU usage of a process

2021-08-29 Thread Baptiste Jonglez
On 14-08-21, Jeremie Courreges-Anglas wrote: > On Sat, Aug 14 2021, Baptiste Jonglez wrote: > > Hello, > > Hi Baptiste, long time no see. :) Hi jca, indeed, good to talk to you :) Sorry for the late reply. > > I would like to determine the CPU usage of a process on a "real-time" > > basis. Th

Re: Determining real-time CPU usage of a process

2021-08-14 Thread Jeremie Courreges-Anglas
On Sat, Aug 14 2021, Baptiste Jonglez wrote: > Hello, Hi Baptiste, long time no see. :) > I would like to determine the CPU usage of a process on a "real-time" > basis. That is, every few seconds (sampling period), I would like to > compute its average CPU usage in the previous period. Looks l

Determining real-time CPU usage of a process

2021-08-14 Thread Baptiste Jonglez
Hello, I would like to determine the CPU usage of a process on a "real-time" basis. That is, every few seconds (sampling period), I would like to compute its average CPU usage in the previous period. If this is too complex, it is also fine to simply compute the average CPU usage over the last fe