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 echatrandom echatspin process in real time