Thursday 23 March 2017

DIY

Extract the comments from Review board.

Finding ways to obtain the data from Coverity report with minimal efforts.

find CPU utilization of a particular process in C using /proc/<pid>/stat file

Analyse about procfs stuffs of a process mainly RSS, VSS, Dirty Pages, Cached Pages, Page table, group id, CoW.

How top cmd is evaluating percentage memory utilization of a process.

What all things we can do  with the below procfs files:
/proc/4907/maps
/proc/4907/status
/proc/4907/statm
/proc/4907/stack
/proc/4907/sched
/proc/4907/status
/proc/4907/smaps
/proc/4907/fd
/proc/4907/limits
/proc/4907/oom_score