summaryrefslogtreecommitdiffstats
path: root/collectors/macos.plugin/macos_mach_smi.c
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/macos.plugin/macos_mach_smi.c')
-rw-r--r--collectors/macos.plugin/macos_mach_smi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/collectors/macos.plugin/macos_mach_smi.c b/collectors/macos.plugin/macos_mach_smi.c
index 1c43d624c..800b2ce56 100644
--- a/collectors/macos.plugin/macos_mach_smi.c
+++ b/collectors/macos.plugin/macos_mach_smi.c
@@ -90,7 +90,7 @@ int do_macos_mach_smi(int update_every, usec_t dt) {
}
// --------------------------------------------------------------------
-
+
if (likely(do_ram || do_swapio || do_pgfaults)) {
#if (defined __MAC_OS_X_VERSION_MIN_REQUIRED && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060)
count = sizeof(vm_statistics64_data_t);
@@ -118,7 +118,7 @@ int do_macos_mach_smi(int update_every, usec_t dt) {
, "ram"
, NULL
, "System RAM"
- , "MB"
+ , "MiB"
, "macos"
, "mach_smi"
, 200
@@ -165,7 +165,7 @@ int do_macos_mach_smi(int update_every, usec_t dt) {
, "swap"
, NULL
, "Swap I/O"
- , "kilobytes/s"
+ , "KiB/s"
, "macos"
, "mach_smi"
, 250
@@ -196,7 +196,7 @@ int do_macos_mach_smi(int update_every, usec_t dt) {
, "system"
, NULL
, "Memory Page Faults"
- , "page faults/s"
+ , "faults/s"
, "macos"
, "mach_smi"
, NETDATA_CHART_PRIO_MEM_SYSTEM_PGFAULTS
@@ -233,8 +233,8 @@ int do_macos_mach_smi(int update_every, usec_t dt) {
rrdset_done(st);
}
}
- }
-
+ }
+
// --------------------------------------------------------------------
return 0;