diff options
author | Nathan Scott <nathans@redhat.com> | 2021-05-27 16:05:48 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-06-09 17:09:29 +1000 |
commit | 4bcb5d116bd371fb72e8c43335316184fb8febd9 (patch) | |
tree | 532f3d46adb9fc6f1240a1ab10c1c3fdd4dc41b3 /pcp/Platform.c | |
parent | 4d7cee56f04c7c716ad8289047b8d1cb44c4c4fe (diff) |
Update the PCP platform to use common Process fields and code
Remove code now that we have common platform-independent command
line wrangling (thanks BenBE!). Add PCP platform support for a
handful of other recently arriving odds and ends - ELAPSED time,
CWD, and so on.
Diffstat (limited to 'pcp/Platform.c')
-rw-r--r-- | pcp/Platform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pcp/Platform.c b/pcp/Platform.c index 1caa3e09..f4d538df 100644 --- a/pcp/Platform.c +++ b/pcp/Platform.c @@ -219,6 +219,8 @@ static const char *Platform_metricNames[] = { [PCP_PROC_LABELS] = "proc.psinfo.labels", [PCP_PROC_ENVIRON] = "proc.psinfo.environ", [PCP_PROC_TTYNAME] = "proc.psinfo.ttyname", + [PCP_PROC_EXE] = "proc.psinfo.exe", + [PCP_PROC_CWD] = "proc.psinfo.cwd", [PCP_PROC_ID_UID] = "proc.id.uid", [PCP_PROC_ID_USER] = "proc.id.uid_nm", [PCP_PROC_IO_RCHAR] = "proc.io.rchar", |