Page 1 of 1

Linux tool to capture process level metrics in real time?

PostPosted: Wed Aug 10, 2022 5:00 am
by RajeshEzrado
I want to monitor metrics consumed by a specific process in real time, like cpu, memory etc.

I have evaluated various tools but found none suiting my needs.

pidstat captures all i want, it gives me good memory usage per process but it reports more cpu usage(even greater than the total cpu consumed by the machine)

sar is more like pidstat but just dump all the data to file.

ps is more like snapshot tool, doesn't gives me real time stats

I am looking for a tool which can give me cpu usage for a process in real time.