Page 1 of 1

Linux tool to capture process level metrics in real time?

Posted: Thu Sep 15, 2022 2:52 am
by AnneGodkona
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 omeglz echat process in real time.