proc: get qemu process info from procfs
Read /proc/qemupid/stat file to refresh process info,
include: parent pid, userspace time, task state and etc.
According to these data, add two display itemsi to vmtop:
S: task state
P: physical processor that task is runnning on
Signed-off-by: NJiajun Chen <1250062498@qq.com>
Showing
src/proc.c
0 → 100644
src/proc.h
0 → 100644
src/type.h
0 → 100644
想要评论请 注册 或 登录