summaryrefslogtreecommitdiffstats
path: root/pcp/Platform.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2021-05-27 16:05:48 +1000
committerNathan Scott <nathans@redhat.com>2021-06-09 17:09:29 +1000
commit4bcb5d116bd371fb72e8c43335316184fb8febd9 (patch)
tree532f3d46adb9fc6f1240a1ab10c1c3fdd4dc41b3 /pcp/Platform.c
parent4d7cee56f04c7c716ad8289047b8d1cb44c4c4fe (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.c2
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",

© 2014-2024 Faster IT GmbH | imprint | privacy policy