From 7043a29cb611b4195ea84748d76090f69883140b Mon Sep 17 00:00:00 2001 From: Trey Dockendorf Date: Thu, 20 Feb 2020 14:41:38 -0500 Subject: [PATCH] Update README --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index eab401c..5e7e18c 100644 --- a/README.md +++ b/README.md @@ -46,28 +46,28 @@ go get github.com/treydock/cgroup_exporter Example of metrics exposed by this exporter when looking at `/user.slice` paths: ``` -cgroup_cpu_kernel_seconds{cgroup="/user.slice/user-20821.slice"} 1.96 +cgroup_cpu_system_seconds{cgroup="/user.slice/user-20821.slice"} 1.96 cgroup_cpu_total_seconds{cgroup="/user.slice/user-20821.slice"} 3.817500568 cgroup_cpu_user_seconds{cgroup="/user.slice/user-20821.slice"} 1.61 cgroup_cpus{cgroup="/user.slice/user-20821.slice"} 0 +cgroup_info{cgroup="/user.slice/user-20821.slice",uid="20821",username="tdockendorf",jobid=""} 1 cgroup_memory_fail_count{cgroup="/user.slice/user-20821.slice"} 0 cgroup_memory_total_bytes{cgroup="/user.slice/user-20821.slice"} 6.8719476736e+10 cgroup_memory_used_bytes{cgroup="/user.slice/user-20821.slice"} 6.90176e+06 cgroup_swap_fail_count{cgroup="/user.slice/user-20821.slice"} 0 cgroup_swap_total_bytes{cgroup="/user.slice/user-20821.slice"} 9.223371968135295e+18 cgroup_swap_used_bytes{cgroup="/user.slice/user-20821.slice"} 0 -cgroup_userslice_info{cgroup="/user.slice/user-20821.slice",uid="20821",username="tdockendorf"} 1 ``` Example of metrics exposed by this exporter when looking at `/slurm` paths: ``` -cgroup_cpu_kernel_seconds{cgroup="/slurm/uid_20821/job_12"} 0 +cgroup_cpu_system_seconds{cgroup="/slurm/uid_20821/job_12"} 0 cgroup_cpu_total_seconds{cgroup="/slurm/uid_20821/job_12"} 0.007840451 cgroup_cpu_user_seconds{cgroup="/slurm/uid_20821/job_12"} 0 cgroup_cpus{cgroup="/slurm/uid_20821/job_12"} 2 -cgroup_exporter_success 1 -cgroup_job_info{cgroup="/slurm/uid_20821/job_12",jobid="12",uid="20821",username="tdockendorf"} 1 +cgroup_info{cgroup="/slurm/uid_20821/job_12",jobid="12",uid="20821",username="tdockendorf"} 1 +cgroup_memory_fail_count{cgroup="/slurm/uid_20821/job_12"} 0 cgroup_memory_total_bytes{cgroup="/slurm/uid_20821/job_12"} 2.147483648e+09 cgroup_memory_used_bytes{cgroup="/slurm/uid_20821/job_12"} 315392 cgroup_swap_total_bytes{cgroup="/slurm/uid_20821/job_12"} 2.147483648e+09 @@ -77,14 +77,14 @@ cgroup_swap_used_bytes{cgroup="/slurm/uid_20821/job_12"} 315392 Example of metrics exposed by this exporter when looking at `/torque` paths: ``` -cgroup_cpu_kernel_seconds{cgroup="/torque/1182958.pitzer-batch.ten.osc.edu"} 26.35 -cgroup_cpu_total_seconds{cgroup="/torque/1182958.pitzer-batch.ten.osc.edu"} 939.568245515 -cgroup_cpu_user_seconds{cgroup="/torque/1182958.pitzer-batch.ten.osc.edu"} 915.61 -cgroup_cpus{cgroup="/torque/1182958.pitzer-batch.ten.osc.edu"} 40 -cgroup_exporter_success 1 -cgroup_job_info{cgroup="/torque/1182958.pitzer-batch.ten.osc.edu",jobid="1182958",uid="",username=""} 1 -cgroup_memory_total_bytes{cgroup="/torque/1182958.pitzer-batch.ten.osc.edu"} 1.96755132416e+11 -cgroup_memory_used_bytes{cgroup="/torque/1182958.pitzer-batch.ten.osc.edu"} 5.3434466304e+10 -cgroup_swap_total_bytes{cgroup="/torque/1182958.pitzer-batch.ten.osc.edu"} 1.96755132416e+11 -cgroup_swap_used_bytes{cgroup="/torque/1182958.pitzer-batch.ten.osc.edu"} 5.3434466304e+10 +cgroup_cpu_system_seconds{cgroup="/torque/1182958.batch.example.com"} 26.35 +cgroup_cpu_total_seconds{cgroup="/torque/1182958.batch.example.com"} 939.568245515 +cgroup_cpu_user_seconds{cgroup="/torque/1182958.batch.example.com"} 915.61 +cgroup_cpus{cgroup="/torque/1182958.batch.example.com"} 40 +cgroup_info{cgroup="/torque/1182958.batch.example.com",jobid="1182958",uid="",username=""} 1 +cgroup_memory_fail_count{cgroup="/torque/1182958.batch.example.com"} 0 +cgroup_memory_total_bytes{cgroup="/torque/1182958.batch.example.com"} 1.96755132416e+11 +cgroup_memory_used_bytes{cgroup="/torque/1182958.batch.example.com"} 5.3434466304e+10 +cgroup_swap_total_bytes{cgroup="/torque/1182958.batch.example.com"} 1.96755132416e+11 +cgroup_swap_used_bytes{cgroup="/torque/1182958.batch.example.com"} 5.3434466304e+10 ```