resource: Add process resource driver 56/271356/2
authorDongwoo Lee <dwoo08.lee@samsung.com>
Fri, 4 Feb 2022 06:54:46 +0000 (15:54 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 21 Feb 2022 04:47:23 +0000 (13:47 +0900)
commitb67f828d8a39782599e375ab4861fa8dad3250a1
tree61a45f2e6e9950df597c9af6150528ea0557bb14
parentafd41ae3268076cea0f9438537f7e0852ac0a2d2
resource: Add process resource driver

Process resource driver provides information about process using
procfs and taskstats.

[Detailed description of added system attributes]
PROCESS_CPU_UTIL:  It shows cpu usage including its all threads.
PROCESS_MEM_VIRT:  It shows all memory that the process can
access, including memory that is swapped out,
memory that is allocated, but not used, and
memory that is from shared libraries.
PROCESS_MEM_RSS:  It shows how much memory is allocated to that
process and is in RAM.
PROCESS_DISK_READ: It shows acutal disk read bytes per second.
PROCESS_DISK_WRITE: It shows acutal disk write bytes per second.

Change-Id: Iab4a76334fc786f068cbee396f3896184cbfff47
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
CMakeLists.txt
lib/tmonitor/tmonitor.h
packaging/pass.spec
src/resource/resource-process.c [new file with mode: 0644]