From 8d902762839282f0c2bf3b77fe33cf5fbfa1d8df Mon Sep 17 00:00:00 2001 From: ideaship Date: Fri, 7 Jul 2017 07:20:18 +0200 Subject: [PATCH] Add bcache collector (#597) * Add bcache collector for Linux This collector gathers metrics related to the Linux block cache (bcache) from sysfs. * Removed commented out code * Use project comment style * Add _sectors to metric name to indicate unit * Really use project comment style * Rename bcache.go to bcache_linux.go * Keep collector namespace clean Rename: - metric -> bcacheMetric - periodStatsToMetrics -> bcachePeriodStatsToMetric * Shorten slice initialization * Change label names to backing_device, cache_device * Remove five minute metrics (keep only total) * Include units in additional metric names * Enable bcache collector by default * Provide metrics in seconds, not nanoseconds * remove metrics with label "all" * Add fixtures, update end-to-end for bcache collector * Move fixtures/sys into tar.gz This changeset moves the collector/fixtures/sys directory into collector/fixtures/sys.tar.gz and tweaks the Makefile to unpack the tarball before tests are run. The reason for this change is that Windows does not allow colons in a path (colons are present in some of the bcache fixture files), nor can it (out of the box) deal with pathnames longer than 260 characters (which we would be increasingly likely to hit if we tried to replace colons with longer codes that are guaranteed not the turn up in regular file names). * Add ttar: plain text archive, replacement for tar This changeset adds ttar, a plain text replacement for tar, and uses it for the sysfs fixture archive. The syntax is loosely based on tar(1). Using a plain text archive makes it possible to review changes without downloading and extracting the archive. Also, when working on the repo, git diff and git log become useful again, allowing a committer to verify and track changes over time. The code is written in bash, because bash is available out of the box on all major flavors of Linux and on macOS. The feature set used is restricted to bash version 3.2 because that is what Apple is still shipping. The programm also works on Windows if bash is installed. Obviously, it does not solve the Windows limitations (path length limited to 260 characters, no symbolic links) that prompted the move to an archive format in the first place. --- Makefile | 8 +- README.md | 1 + collector/bcache_linux.go | 304 +++ collector/fixtures/e2e-output.txt | 70 + collector/fixtures/sys.ttar | 1803 +++++++++++++++++ .../cpu/devices/cpu0/cpufreq/scaling_cur_freq | 1 - .../cpu/devices/cpu0/cpufreq/scaling_max_freq | 1 - .../cpu/devices/cpu0/cpufreq/scaling_min_freq | 1 - .../cpu0/thermal_throttle/core_throttle_count | 1 - .../thermal_throttle/package_throttle_count | 1 - .../cpu/devices/cpu1/cpufreq/scaling_cur_freq | 1 - .../cpu/devices/cpu1/cpufreq/scaling_max_freq | 1 - .../cpu/devices/cpu1/cpufreq/scaling_min_freq | 1 - .../cpu1/thermal_throttle/core_throttle_count | 1 - .../thermal_throttle/package_throttle_count | 1 - .../cpu2/thermal_throttle/core_throttle_count | 1 - .../thermal_throttle/package_throttle_count | 1 - .../cpu/devices/cpu3/cpufreq/scaling_cur_freq | 1 - .../cpu/devices/cpu3/cpufreq/scaling_max_freq | 1 - .../cpu/devices/cpu3/cpufreq/scaling_min_freq | 1 - collector/fixtures/sys/class/hwmon/hwmon0 | 1 - collector/fixtures/sys/class/hwmon/hwmon1 | 1 - collector/fixtures/sys/class/hwmon/hwmon2 | 1 - collector/fixtures/sys/class/hwmon/hwmon3 | 1 - .../sys/class/hwmon/hwmon4/temp1_crit | 1 - .../sys/class/hwmon/hwmon4/temp1_crit_alarm | 1 - .../sys/class/hwmon/hwmon4/temp1_input | 1 - .../sys/class/hwmon/hwmon4/temp1_label | 1 - .../fixtures/sys/class/hwmon/hwmon4/temp1_max | 1 - .../sys/class/hwmon/hwmon4/temp2_crit | 1 - .../sys/class/hwmon/hwmon4/temp2_crit_alarm | 1 - .../sys/class/hwmon/hwmon4/temp2_input | 1 - .../sys/class/hwmon/hwmon4/temp2_label | 1 - .../fixtures/sys/class/hwmon/hwmon4/temp2_max | 1 - .../mlx4_0/ports/1/counters/link_downed | 1 - .../ports/1/counters/link_error_recovery | 1 - .../ports/1/counters/multicast_rcv_packets | 1 - .../ports/1/counters/multicast_xmit_packets | 1 - .../mlx4_0/ports/1/counters/port_rcv_data | 1 - .../mlx4_0/ports/1/counters/port_xmit_data | 1 - .../ports/1/counters/unicast_rcv_packets | 1 - .../ports/1/counters/unicast_xmit_packets | 1 - .../1/counters_ext/port_multicast_rcv_packets | 1 - .../counters_ext/port_multicast_xmit_packets | 1 - .../ports/1/counters_ext/port_rcv_data_64 | 1 - .../ports/1/counters_ext/port_rcv_packets_64 | 1 - .../1/counters_ext/port_unicast_rcv_packets | 1 - .../1/counters_ext/port_unicast_xmit_packets | 1 - .../ports/1/counters_ext/port_xmit_data_64 | 1 - .../ports/1/counters_ext/port_xmit_packets_64 | 1 - .../mlx4_0/ports/2/counters/link_downed | 1 - .../ports/2/counters/link_error_recovery | 1 - .../ports/2/counters/multicast_rcv_packets | 1 - .../ports/2/counters/multicast_xmit_packets | 1 - .../mlx4_0/ports/2/counters/port_rcv_data | 1 - .../mlx4_0/ports/2/counters/port_xmit_data | 1 - .../ports/2/counters/unicast_rcv_packets | 1 - .../ports/2/counters/unicast_xmit_packets | 1 - .../2/counters_ext/port_multicast_rcv_packets | 1 - .../counters_ext/port_multicast_xmit_packets | 1 - .../ports/2/counters_ext/port_rcv_data_64 | 1 - .../ports/2/counters_ext/port_rcv_packets_64 | 1 - .../2/counters_ext/port_unicast_rcv_packets | 1 - .../2/counters_ext/port_unicast_xmit_packets | 1 - .../ports/2/counters_ext/port_xmit_data_64 | 1 - .../ports/2/counters_ext/port_xmit_packets_64 | 1 - .../sys/class/net/bond0/bonding/slaves | 0 .../fixtures/sys/class/net/bonding_masters | 1 - .../fixtures/sys/class/net/dmz/bonding/slaves | 1 - .../sys/class/net/dmz/slave_eth0/operstate | 1 - .../sys/class/net/dmz/slave_eth4/operstate | 1 - .../fixtures/sys/class/net/int/bonding/slaves | 1 - .../sys/class/net/int/slave_eth1/operstate | 1 - .../sys/class/net/int/slave_eth5/operstate | 1 - .../devices/platform/applesmc.768/fan1_input | 1 - .../devices/platform/applesmc.768/fan1_label | 1 - .../devices/platform/applesmc.768/fan1_manual | 1 - .../devices/platform/applesmc.768/fan1_max | 1 - .../devices/platform/applesmc.768/fan1_min | 1 - .../devices/platform/applesmc.768/fan1_output | 1 - .../devices/platform/applesmc.768/fan1_safe | 0 .../devices/platform/applesmc.768/fan2_input | 1 - .../devices/platform/applesmc.768/fan2_label | 1 - .../devices/platform/applesmc.768/fan2_manual | 1 - .../devices/platform/applesmc.768/fan2_max | 1 - .../devices/platform/applesmc.768/fan2_min | 1 - .../devices/platform/applesmc.768/fan2_output | 1 - .../devices/platform/applesmc.768/fan2_safe | 0 .../platform/applesmc.768/hwmon/hwmon2/device | 1 - .../sys/devices/platform/applesmc.768/name | 1 - .../platform/coretemp.0/hwmon/hwmon0/device | 1 - .../platform/coretemp.0/hwmon/hwmon0/name | 1 - .../coretemp.0/hwmon/hwmon0/temp1_crit | 1 - .../coretemp.0/hwmon/hwmon0/temp1_crit_alarm | 1 - .../coretemp.0/hwmon/hwmon0/temp1_input | 1 - .../coretemp.0/hwmon/hwmon0/temp1_label | 1 - .../coretemp.0/hwmon/hwmon0/temp1_max | 1 - .../coretemp.0/hwmon/hwmon0/temp2_crit | 1 - .../coretemp.0/hwmon/hwmon0/temp2_crit_alarm | 1 - .../coretemp.0/hwmon/hwmon0/temp2_input | 1 - .../coretemp.0/hwmon/hwmon0/temp2_label | 1 - .../coretemp.0/hwmon/hwmon0/temp2_max | 1 - .../coretemp.0/hwmon/hwmon0/temp3_crit | 1 - .../coretemp.0/hwmon/hwmon0/temp3_crit_alarm | 1 - .../coretemp.0/hwmon/hwmon0/temp3_input | 1 - .../coretemp.0/hwmon/hwmon0/temp3_label | 1 - .../coretemp.0/hwmon/hwmon0/temp3_max | 1 - .../coretemp.0/hwmon/hwmon0/temp4_crit | 1 - .../coretemp.0/hwmon/hwmon0/temp4_crit_alarm | 1 - .../coretemp.0/hwmon/hwmon0/temp4_input | 1 - .../coretemp.0/hwmon/hwmon0/temp4_label | 1 - .../coretemp.0/hwmon/hwmon0/temp4_max | 1 - .../coretemp.0/hwmon/hwmon0/temp5_crit | 1 - .../coretemp.0/hwmon/hwmon0/temp5_crit_alarm | 1 - .../coretemp.0/hwmon/hwmon0/temp5_input | 1 - .../coretemp.0/hwmon/hwmon0/temp5_label | 1 - .../coretemp.0/hwmon/hwmon0/temp5_max | 1 - .../platform/coretemp.1/hwmon/hwmon1/device | 1 - .../platform/coretemp.1/hwmon/hwmon1/name | 1 - .../coretemp.1/hwmon/hwmon1/temp1_crit | 1 - .../coretemp.1/hwmon/hwmon1/temp1_crit_alarm | 1 - .../coretemp.1/hwmon/hwmon1/temp1_input | 1 - .../coretemp.1/hwmon/hwmon1/temp1_label | 1 - .../coretemp.1/hwmon/hwmon1/temp1_max | 1 - .../coretemp.1/hwmon/hwmon1/temp2_crit | 1 - .../coretemp.1/hwmon/hwmon1/temp2_crit_alarm | 1 - .../coretemp.1/hwmon/hwmon1/temp2_input | 1 - .../coretemp.1/hwmon/hwmon1/temp2_label | 1 - .../coretemp.1/hwmon/hwmon1/temp2_max | 1 - .../coretemp.1/hwmon/hwmon1/temp3_crit | 1 - .../coretemp.1/hwmon/hwmon1/temp3_crit_alarm | 1 - .../coretemp.1/hwmon/hwmon1/temp3_input | 1 - .../coretemp.1/hwmon/hwmon1/temp3_label | 1 - .../coretemp.1/hwmon/hwmon1/temp3_max | 1 - .../coretemp.1/hwmon/hwmon1/temp4_crit | 1 - .../coretemp.1/hwmon/hwmon1/temp4_crit_alarm | 1 - .../coretemp.1/hwmon/hwmon1/temp4_input | 1 - .../coretemp.1/hwmon/hwmon1/temp4_label | 1 - .../coretemp.1/hwmon/hwmon1/temp4_max | 1 - .../coretemp.1/hwmon/hwmon1/temp5_crit | 1 - .../coretemp.1/hwmon/hwmon1/temp5_crit_alarm | 1 - .../coretemp.1/hwmon/hwmon1/temp5_input | 1 - .../coretemp.1/hwmon/hwmon1/temp5_label | 1 - .../coretemp.1/hwmon/hwmon1/temp5_max | 1 - .../nct6775.656/hwmon/hwmon3/fan2_alarm | 1 - .../nct6775.656/hwmon/hwmon3/fan2_beep | 1 - .../nct6775.656/hwmon/hwmon3/fan2_input | 1 - .../nct6775.656/hwmon/hwmon3/fan2_min | 1 - .../nct6775.656/hwmon/hwmon3/fan2_pulses | 1 - .../nct6775.656/hwmon/hwmon3/fan2_target | 1 - .../nct6775.656/hwmon/hwmon3/fan2_tolerance | 1 - .../nct6775.656/hwmon/hwmon3/in0_alarm | 1 - .../nct6775.656/hwmon/hwmon3/in0_beep | 1 - .../nct6775.656/hwmon/hwmon3/in0_input | 1 - .../platform/nct6775.656/hwmon/hwmon3/in0_max | 1 - .../platform/nct6775.656/hwmon/hwmon3/in0_min | 1 - .../nct6775.656/hwmon/hwmon3/in1_alarm | 1 - .../nct6775.656/hwmon/hwmon3/in1_beep | 1 - .../nct6775.656/hwmon/hwmon3/in1_input | 1 - .../platform/nct6775.656/hwmon/hwmon3/in1_max | 1 - .../platform/nct6775.656/hwmon/hwmon3/in1_min | 1 - .../nct6775.656/hwmon/hwmon3/intrusion0_alarm | 1 - .../nct6775.656/hwmon/hwmon3/intrusion0_beep | 1 - .../nct6775.656/hwmon/hwmon3/intrusion1_alarm | 1 - .../nct6775.656/hwmon/hwmon3/intrusion1_beep | 1 - .../platform/nct6775.656/hwmon/hwmon3/name | 1 - .../hwmon/hwmon3/pwm1_auto_point1_pwm | 1 - .../hwmon/hwmon3/pwm1_auto_point1_temp | 1 - .../hwmon/hwmon3/pwm1_auto_point2_pwm | 1 - .../hwmon/hwmon3/pwm1_auto_point2_temp | 1 - .../hwmon/hwmon3/pwm1_auto_point3_pwm | 1 - .../hwmon/hwmon3/pwm1_auto_point3_temp | 1 - .../hwmon/hwmon3/pwm1_auto_point4_pwm | 1 - .../hwmon/hwmon3/pwm1_auto_point4_temp | 1 - .../hwmon/hwmon3/pwm1_auto_point5_pwm | 1 - .../hwmon/hwmon3/pwm1_auto_point5_temp | 1 - .../hwmon/hwmon3/pwm1_crit_temp_tolerance | 1 - .../nct6775.656/hwmon/hwmon3/pwm1_enable | 1 - .../nct6775.656/hwmon/hwmon3/pwm1_floor | 1 - .../nct6775.656/hwmon/hwmon3/pwm1_mode | 1 - .../nct6775.656/hwmon/hwmon3/pwm1_start | 1 - .../hwmon/hwmon3/pwm1_step_down_time | 1 - .../hwmon/hwmon3/pwm1_step_up_time | 1 - .../nct6775.656/hwmon/hwmon3/pwm1_stop_time | 1 - .../nct6775.656/hwmon/hwmon3/pwm1_target_temp | 1 - .../nct6775.656/hwmon/hwmon3/pwm1_temp_sel | 1 - .../hwmon/hwmon3/pwm1_temp_tolerance | 1 - .../hwmon/hwmon3/pwm1_weight_duty_base | 1 - .../hwmon/hwmon3/pwm1_weight_duty_step | 1 - .../hwmon/hwmon3/pwm1_weight_temp_sel | 1 - .../hwmon/hwmon3/pwm1_weight_temp_step | 1 - .../hwmon/hwmon3/pwm1_weight_temp_step_base | 1 - .../hwmon/hwmon3/pwm1_weight_temp_step_tol | 1 - .../sys/devices/system/edac/mc/mc0/ce_count | 1 - .../system/edac/mc/mc0/ce_noinfo_count | 1 - .../system/edac/mc/mc0/csrow0/ce_count | 1 - .../system/edac/mc/mc0/csrow0/ue_count | 1 - .../sys/devices/system/edac/mc/mc0/ue_count | 1 - .../system/edac/mc/mc0/ue_noinfo_count | 1 - .../sys/devices/system/node/node0/meminfo | 30 - .../sys/devices/system/node/node0/numastat | 6 - .../sys/devices/system/node/node1/meminfo | 30 - .../sys/devices/system/node/node1/numastat | 6 - .../fixtures/sys/fs/xfs/sda1/stats/stats | 24 - .../fixtures/sys/kernel/mm/ksm/full_scans | 1 - .../sys/kernel/mm/ksm/merge_across_nodes | 1 - .../fixtures/sys/kernel/mm/ksm/pages_shared | 1 - .../fixtures/sys/kernel/mm/ksm/pages_sharing | 1 - .../fixtures/sys/kernel/mm/ksm/pages_to_scan | 1 - .../fixtures/sys/kernel/mm/ksm/pages_unshared | 1 - .../fixtures/sys/kernel/mm/ksm/pages_volatile | 1 - collector/fixtures/sys/kernel/mm/ksm/run | 1 - .../sys/kernel/mm/ksm/sleep_millisecs | 1 - end-to-end-test.sh | 1 + node_exporter.go | 2 +- ttar | 266 +++ 216 files changed, 2452 insertions(+), 299 deletions(-) create mode 100644 collector/bcache_linux.go create mode 100644 collector/fixtures/sys.ttar delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu0/cpufreq/scaling_cur_freq delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu0/cpufreq/scaling_max_freq delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu0/cpufreq/scaling_min_freq delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu0/thermal_throttle/core_throttle_count delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu0/thermal_throttle/package_throttle_count delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu1/cpufreq/scaling_cur_freq delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu1/cpufreq/scaling_max_freq delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu1/cpufreq/scaling_min_freq delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu1/thermal_throttle/core_throttle_count delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu1/thermal_throttle/package_throttle_count delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu2/thermal_throttle/core_throttle_count delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu2/thermal_throttle/package_throttle_count delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu3/cpufreq/scaling_cur_freq delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu3/cpufreq/scaling_max_freq delete mode 100644 collector/fixtures/sys/bus/cpu/devices/cpu3/cpufreq/scaling_min_freq delete mode 120000 collector/fixtures/sys/class/hwmon/hwmon0 delete mode 120000 collector/fixtures/sys/class/hwmon/hwmon1 delete mode 120000 collector/fixtures/sys/class/hwmon/hwmon2 delete mode 120000 collector/fixtures/sys/class/hwmon/hwmon3 delete mode 100644 collector/fixtures/sys/class/hwmon/hwmon4/temp1_crit delete mode 100644 collector/fixtures/sys/class/hwmon/hwmon4/temp1_crit_alarm delete mode 100644 collector/fixtures/sys/class/hwmon/hwmon4/temp1_input delete mode 100644 collector/fixtures/sys/class/hwmon/hwmon4/temp1_label delete mode 100644 collector/fixtures/sys/class/hwmon/hwmon4/temp1_max delete mode 100644 collector/fixtures/sys/class/hwmon/hwmon4/temp2_crit delete mode 100644 collector/fixtures/sys/class/hwmon/hwmon4/temp2_crit_alarm delete mode 100644 collector/fixtures/sys/class/hwmon/hwmon4/temp2_input delete mode 100644 collector/fixtures/sys/class/hwmon/hwmon4/temp2_label delete mode 100644 collector/fixtures/sys/class/hwmon/hwmon4/temp2_max delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/link_downed delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/link_error_recovery delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/multicast_rcv_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/multicast_xmit_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/port_rcv_data delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/port_xmit_data delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/unicast_rcv_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/unicast_xmit_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_multicast_rcv_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_multicast_xmit_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_rcv_data_64 delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_rcv_packets_64 delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_unicast_rcv_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_unicast_xmit_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_xmit_data_64 delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_xmit_packets_64 delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/link_downed delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/link_error_recovery delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/multicast_rcv_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/multicast_xmit_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/port_rcv_data delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/port_xmit_data delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/unicast_rcv_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/unicast_xmit_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_multicast_rcv_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_multicast_xmit_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_rcv_data_64 delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_rcv_packets_64 delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_unicast_rcv_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_unicast_xmit_packets delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_xmit_data_64 delete mode 100644 collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_xmit_packets_64 delete mode 100644 collector/fixtures/sys/class/net/bond0/bonding/slaves delete mode 100644 collector/fixtures/sys/class/net/bonding_masters delete mode 100644 collector/fixtures/sys/class/net/dmz/bonding/slaves delete mode 100644 collector/fixtures/sys/class/net/dmz/slave_eth0/operstate delete mode 100644 collector/fixtures/sys/class/net/dmz/slave_eth4/operstate delete mode 100644 collector/fixtures/sys/class/net/int/bonding/slaves delete mode 100644 collector/fixtures/sys/class/net/int/slave_eth1/operstate delete mode 100644 collector/fixtures/sys/class/net/int/slave_eth5/operstate delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan1_input delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan1_label delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan1_manual delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan1_max delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan1_min delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan1_output delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan1_safe delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan2_input delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan2_label delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan2_manual delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan2_max delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan2_min delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan2_output delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/fan2_safe delete mode 120000 collector/fixtures/sys/devices/platform/applesmc.768/hwmon/hwmon2/device delete mode 100644 collector/fixtures/sys/devices/platform/applesmc.768/name delete mode 120000 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/device delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/name delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_crit delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_crit_alarm delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_label delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_max delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_crit delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_crit_alarm delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_label delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_max delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_crit delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_crit_alarm delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_input delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_label delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_max delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_crit delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_crit_alarm delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_input delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_label delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_max delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_crit delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_crit_alarm delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_input delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_label delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_max delete mode 120000 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/device delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/name delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_crit delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_crit_alarm delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_input delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_label delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_max delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_crit delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_crit_alarm delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_input delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_label delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_max delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_crit delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_crit_alarm delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_input delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_label delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_max delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_crit delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_crit_alarm delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_input delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_label delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_max delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_crit delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_crit_alarm delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_input delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_label delete mode 100644 collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_max delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_alarm delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_beep delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_input delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_min delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_pulses delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_target delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_tolerance delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_alarm delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_beep delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_input delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_max delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_min delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_alarm delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_beep delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_input delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_max delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_min delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion0_alarm delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion0_beep delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion1_alarm delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion1_beep delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/name delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point1_pwm delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point1_temp delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point2_pwm delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point2_temp delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point3_pwm delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point3_temp delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point4_pwm delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point4_temp delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point5_pwm delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point5_temp delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_crit_temp_tolerance delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_enable delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_floor delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_mode delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_start delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_step_down_time delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_step_up_time delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_stop_time delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_target_temp delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_temp_sel delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_temp_tolerance delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_duty_base delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_duty_step delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_sel delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step_base delete mode 100644 collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step_tol delete mode 100644 collector/fixtures/sys/devices/system/edac/mc/mc0/ce_count delete mode 100644 collector/fixtures/sys/devices/system/edac/mc/mc0/ce_noinfo_count delete mode 100644 collector/fixtures/sys/devices/system/edac/mc/mc0/csrow0/ce_count delete mode 100644 collector/fixtures/sys/devices/system/edac/mc/mc0/csrow0/ue_count delete mode 100644 collector/fixtures/sys/devices/system/edac/mc/mc0/ue_count delete mode 100644 collector/fixtures/sys/devices/system/edac/mc/mc0/ue_noinfo_count delete mode 100644 collector/fixtures/sys/devices/system/node/node0/meminfo delete mode 100644 collector/fixtures/sys/devices/system/node/node0/numastat delete mode 100644 collector/fixtures/sys/devices/system/node/node1/meminfo delete mode 100644 collector/fixtures/sys/devices/system/node/node1/numastat delete mode 100644 collector/fixtures/sys/fs/xfs/sda1/stats/stats delete mode 100644 collector/fixtures/sys/kernel/mm/ksm/full_scans delete mode 100644 collector/fixtures/sys/kernel/mm/ksm/merge_across_nodes delete mode 100644 collector/fixtures/sys/kernel/mm/ksm/pages_shared delete mode 100644 collector/fixtures/sys/kernel/mm/ksm/pages_sharing delete mode 100644 collector/fixtures/sys/kernel/mm/ksm/pages_to_scan delete mode 100644 collector/fixtures/sys/kernel/mm/ksm/pages_unshared delete mode 100644 collector/fixtures/sys/kernel/mm/ksm/pages_volatile delete mode 100644 collector/fixtures/sys/kernel/mm/ksm/run delete mode 100644 collector/fixtures/sys/kernel/mm/ksm/sleep_millisecs create mode 100755 ttar diff --git a/Makefile b/Makefile index 1ccd4d08..b74476bd 100644 --- a/Makefile +++ b/Makefile @@ -41,11 +41,15 @@ style: @echo ">> checking code style" @! gofmt -d $(shell find . -path ./vendor -prune -o -name '*.go' -print) | grep '^' -test: +test: collector/fixtures/sys/.unpacked @echo ">> running tests" @$(GO) test -short $(pkgs) -test-e2e: build +collector/fixtures/sys/.unpacked: collector/fixtures/sys.ttar + ./ttar -C collector/fixtures -x -f collector/fixtures/sys.ttar + touch $@ + +test-e2e: build collector/fixtures/sys/.unpacked @echo ">> running end-to-end tests" ./end-to-end-test.sh diff --git a/README.md b/README.md index 30e24519..04686c26 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ Which collectors are used is controlled by the `--collectors.enabled` flag. Name | Description | OS ---------|-------------|---- arp | Exposes ARP statistics from `/proc/net/arp`. | Linux +bcache | Exposes bcache statistics from `/sys/fs/bcache/`. | Linux conntrack | Shows conntrack statistics (does nothing if no `/proc/sys/net/netfilter/` present). | Linux cpu | Exposes CPU statistics | Darwin, Dragonfly, FreeBSD, Linux diskstats | Exposes disk I/O statistics. | Darwin, Linux diff --git a/collector/bcache_linux.go b/collector/bcache_linux.go new file mode 100644 index 00000000..62aeb5a8 --- /dev/null +++ b/collector/bcache_linux.go @@ -0,0 +1,304 @@ +// Copyright 2017 The Prometheus Authors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// +build !nobcache + +package collector + +import ( + "fmt" + + // https://godoc.org/github.com/prometheus/client_golang/prometheus + "github.com/prometheus/client_golang/prometheus" + "github.com/prometheus/procfs/bcache" + "github.com/prometheus/procfs/sysfs" +) + +func init() { + Factories["bcache"] = NewBcacheCollector +} + +// A bcacheCollector is a Collector which gathers metrics from Linux bcache. +type bcacheCollector struct { + fs sysfs.FS +} + +// NewBcacheCollector returns a newly allocated bcacheCollector. +// It exposes a number of Linux bcache statistics. +func NewBcacheCollector() (Collector, error) { + fs, err := sysfs.NewFS(*sysPath) + if err != nil { + return nil, fmt.Errorf("failed to open sysfs: %v", err) + } + + return &bcacheCollector{ + fs: fs, + }, nil +} + +// Update reads and exposes bcache stats. +// It implements the Collector interface. +func (c *bcacheCollector) Update(ch chan<- prometheus.Metric) error { + stats, err := c.fs.BcacheStats() + if err != nil { + return fmt.Errorf("failed to retrieve bcache stats: %v", err) + } + + for _, s := range stats { + c.updateBcacheStats(ch, s) + } + return nil +} + +type bcacheMetric struct { + name string + desc string + value float64 + metricType prometheus.ValueType + extraLabel []string + extraLabelValue string +} + +func bcachePeriodStatsToMetric(ps *bcache.PeriodStats, labelValue string) []bcacheMetric { + label := []string{"backing_device"} + + metrics := []bcacheMetric{ + { + name: "bypassed_bytes_total", + desc: "Amount of IO (both reads and writes) that has bypassed the cache.", + value: float64(ps.Bypassed), + metricType: prometheus.CounterValue, + extraLabel: label, + extraLabelValue: labelValue, + }, + { + name: "cache_hits_total", + desc: "Hits counted per individual IO as bcache sees them.", + value: float64(ps.CacheHits), + metricType: prometheus.CounterValue, + extraLabel: label, + extraLabelValue: labelValue, + }, + { + name: "cache_misses_total", + desc: "Misses counted per individual IO as bcache sees them.", + value: float64(ps.CacheMisses), + metricType: prometheus.CounterValue, + extraLabel: label, + extraLabelValue: labelValue, + }, + { + name: "cache_bypass_hits_total", + desc: "Hits for IO intended to skip the cache.", + value: float64(ps.CacheBypassHits), + metricType: prometheus.CounterValue, + extraLabel: label, + extraLabelValue: labelValue, + }, + { + name: "cache_bypass_misses_total", + desc: "Misses for IO intended to skip the cache.", + value: float64(ps.CacheBypassMisses), + metricType: prometheus.CounterValue, + extraLabel: label, + extraLabelValue: labelValue, + }, + { + name: "cache_miss_collisions_total", + desc: "Instances where data insertion from cache miss raced with write (data already present).", + value: float64(ps.CacheMissCollisions), + metricType: prometheus.CounterValue, + extraLabel: label, + extraLabelValue: labelValue, + }, + { + name: "cache_readaheads_total", + desc: "Count of times readahead occurred.", + value: float64(ps.CacheReadaheads), + metricType: prometheus.CounterValue, + extraLabel: label, + extraLabelValue: labelValue, + }, + } + return metrics +} + +// UpdateBcacheStats collects statistics for one bcache ID. +func (c *bcacheCollector) updateBcacheStats(ch chan<- prometheus.Metric, s *bcache.Stats) { + + const ( + subsystem = "bcache" + ) + + var ( + devLabel = []string{"uuid"} + allMetrics []bcacheMetric + metrics []bcacheMetric + ) + + allMetrics = []bcacheMetric{ + // metrics in /sys/fs/bcache// + { + name: "average_key_size_sectors", + desc: "Average data per key in the btree (sectors).", + value: float64(s.Bcache.AverageKeySize), + metricType: prometheus.GaugeValue, + }, + { + name: "btree_cache_size_bytes", + desc: "Amount of memory currently used by the btree cache.", + value: float64(s.Bcache.BtreeCacheSize), + metricType: prometheus.GaugeValue, + }, + { + name: "cache_available_percent", + desc: "Percentage of cache device without dirty data, useable for writeback (may contain clean cached data).", + value: float64(s.Bcache.CacheAvailablePercent), + metricType: prometheus.GaugeValue, + }, + { + name: "congested", + desc: "Congestion.", + value: float64(s.Bcache.Congested), + metricType: prometheus.GaugeValue, + }, + { + name: "root_usage_percent", + desc: "Percentage of the root btree node in use (tree depth increases if too high).", + value: float64(s.Bcache.RootUsagePercent), + metricType: prometheus.GaugeValue, + }, + { + name: "tree_depth", + desc: "Depth of the btree.", + value: float64(s.Bcache.TreeDepth), + metricType: prometheus.GaugeValue, + }, + // metrics in /sys/fs/bcache//internal/ + { + name: "active_journal_entries", + desc: "Number of journal entries that are newer than the index.", + value: float64(s.Bcache.Internal.ActiveJournalEntries), + metricType: prometheus.GaugeValue, + }, + { + name: "btree_nodes", + desc: "Total nodes in the btree.", + value: float64(s.Bcache.Internal.BtreeNodes), + metricType: prometheus.GaugeValue, + }, + { + name: "btree_read_average_duration_seconds", + desc: "Average btree read duration.", + value: float64(s.Bcache.Internal.BtreeReadAverageDurationNanoSeconds) * 1e-9, + metricType: prometheus.GaugeValue, + }, + { + name: "cache_read_races", + desc: "Counts instances where while data was being read from the cache, the bucket was reused and invalidated - i.e. where the pointer was stale after the read completed.", + value: float64(s.Bcache.Internal.CacheReadRaces), + metricType: prometheus.CounterValue, + }, + } + + for _, bdev := range s.Bdevs { + // metrics in /sys/fs/bcache/// + metrics = []bcacheMetric{ + { + name: "dirty_data_bytes", + desc: "Amount of dirty data for this backing device in the cache.", + value: float64(bdev.DirtyData), + metricType: prometheus.GaugeValue, + extraLabel: []string{"backing_device"}, + extraLabelValue: bdev.Name, + }, + } + allMetrics = append(allMetrics, metrics...) + + // metrics in /sys/fs/bcache///stats_total + metrics := bcachePeriodStatsToMetric(&bdev.Total, bdev.Name) + allMetrics = append(allMetrics, metrics...) + + } + + for _, cache := range s.Caches { + metrics = []bcacheMetric{ + // metrics in /sys/fs/bcache/// + { + name: "io_errors", + desc: "Number of errors that have occurred, decayed by io_error_halflife.", + value: float64(cache.IOErrors), + metricType: prometheus.GaugeValue, + extraLabel: []string{"cache_device"}, + extraLabelValue: cache.Name, + }, + { + name: "metadata_written_bytes_total", + desc: "Sum of all non data writes (btree writes and all other metadata).", + value: float64(cache.MetadataWritten), + metricType: prometheus.CounterValue, + extraLabel: []string{"cache_device"}, + extraLabelValue: cache.Name, + }, + { + name: "written_bytes_total", + desc: "Sum of all data that has been written to the cache.", + value: float64(cache.Written), + metricType: prometheus.CounterValue, + extraLabel: []string{"cache_device"}, + extraLabelValue: cache.Name, + }, + // metrics in /sys/fs/bcache///priority_stats + { + name: "priority_stats_unused_percent", + desc: "The percentage of the cache that doesn't contain any data.", + value: float64(cache.Priority.UnusedPercent), + metricType: prometheus.GaugeValue, + extraLabel: []string{"cache_device"}, + extraLabelValue: cache.Name, + }, + { + name: "priority_stats_metadata_percent", + desc: "Bcache's metadata overhead.", + value: float64(cache.Priority.MetadataPercent), + metricType: prometheus.GaugeValue, + extraLabel: []string{"cache_device"}, + extraLabelValue: cache.Name, + }, + } + allMetrics = append(allMetrics, metrics...) + } + + for _, m := range allMetrics { + labels := append(devLabel, m.extraLabel...) + + desc := prometheus.NewDesc( + prometheus.BuildFQName(Namespace, subsystem, m.name), + m.desc, + labels, + nil, + ) + + labelValues := []string{s.Name} + if m.extraLabelValue != "" { + labelValues = append(labelValues, m.extraLabelValue) + } + + ch <- prometheus.MustNewConstMetric( + desc, + m.metricType, + m.value, + labelValues..., + ) + } +} diff --git a/collector/fixtures/e2e-output.txt b/collector/fixtures/e2e-output.txt index 1087160c..8eabf72c 100644 --- a/collector/fixtures/e2e-output.txt +++ b/collector/fixtures/e2e-output.txt @@ -75,6 +75,75 @@ http_response_size_bytes_count{handler="prometheus"} 0 # TYPE node_arp_entries gauge node_arp_entries{device="eth0"} 3 node_arp_entries{device="eth1"} 3 +# HELP node_bcache_active_journal_entries Number of journal entries that are newer than the index. +# TYPE node_bcache_active_journal_entries gauge +node_bcache_active_journal_entries{uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 1 +# HELP node_bcache_average_key_size_sectors Average data per key in the btree (sectors). +# TYPE node_bcache_average_key_size_sectors gauge +node_bcache_average_key_size_sectors{uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_btree_cache_size_bytes Amount of memory currently used by the btree cache. +# TYPE node_bcache_btree_cache_size_bytes gauge +node_bcache_btree_cache_size_bytes{uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_btree_nodes Total nodes in the btree. +# TYPE node_bcache_btree_nodes gauge +node_bcache_btree_nodes{uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_btree_read_average_duration_seconds Average btree read duration. +# TYPE node_bcache_btree_read_average_duration_seconds gauge +node_bcache_btree_read_average_duration_seconds{uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 1.305e-06 +# HELP node_bcache_bypassed_bytes_total Amount of IO (both reads and writes) that has bypassed the cache. +# TYPE node_bcache_bypassed_bytes_total counter +node_bcache_bypassed_bytes_total{backing_device="bdev0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_cache_available_percent Percentage of cache device without dirty data, useable for writeback (may contain clean cached data). +# TYPE node_bcache_cache_available_percent gauge +node_bcache_cache_available_percent{uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 100 +# HELP node_bcache_cache_bypass_hits_total Hits for IO intended to skip the cache. +# TYPE node_bcache_cache_bypass_hits_total counter +node_bcache_cache_bypass_hits_total{backing_device="bdev0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_cache_bypass_misses_total Misses for IO intended to skip the cache. +# TYPE node_bcache_cache_bypass_misses_total counter +node_bcache_cache_bypass_misses_total{backing_device="bdev0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_cache_hits_total Hits counted per individual IO as bcache sees them. +# TYPE node_bcache_cache_hits_total counter +node_bcache_cache_hits_total{backing_device="bdev0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 546 +# HELP node_bcache_cache_miss_collisions_total Instances where data insertion from cache miss raced with write (data already present). +# TYPE node_bcache_cache_miss_collisions_total counter +node_bcache_cache_miss_collisions_total{backing_device="bdev0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_cache_misses_total Misses counted per individual IO as bcache sees them. +# TYPE node_bcache_cache_misses_total counter +node_bcache_cache_misses_total{backing_device="bdev0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_cache_read_races Counts instances where while data was being read from the cache, the bucket was reused and invalidated - i.e. where the pointer was stale after the read completed. +# TYPE node_bcache_cache_read_races counter +node_bcache_cache_read_races{uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_cache_readaheads_total Count of times readahead occurred. +# TYPE node_bcache_cache_readaheads_total counter +node_bcache_cache_readaheads_total{backing_device="bdev0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_congested Congestion. +# TYPE node_bcache_congested gauge +node_bcache_congested{uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_dirty_data_bytes Amount of dirty data for this backing device in the cache. +# TYPE node_bcache_dirty_data_bytes gauge +node_bcache_dirty_data_bytes{backing_device="bdev0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_io_errors Number of errors that have occurred, decayed by io_error_halflife. +# TYPE node_bcache_io_errors gauge +node_bcache_io_errors{cache_device="cache0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_metadata_written_bytes_total Sum of all non data writes (btree writes and all other metadata). +# TYPE node_bcache_metadata_written_bytes_total counter +node_bcache_metadata_written_bytes_total{cache_device="cache0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 512 +# HELP node_bcache_priority_stats_metadata_percent Bcache's metadata overhead. +# TYPE node_bcache_priority_stats_metadata_percent gauge +node_bcache_priority_stats_metadata_percent{cache_device="cache0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_priority_stats_unused_percent The percentage of the cache that doesn't contain any data. +# TYPE node_bcache_priority_stats_unused_percent gauge +node_bcache_priority_stats_unused_percent{cache_device="cache0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 99 +# HELP node_bcache_root_usage_percent Percentage of the root btree node in use (tree depth increases if too high). +# TYPE node_bcache_root_usage_percent gauge +node_bcache_root_usage_percent{uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_tree_depth Depth of the btree. +# TYPE node_bcache_tree_depth gauge +node_bcache_tree_depth{uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 +# HELP node_bcache_written_bytes_total Sum of all data that has been written to the cache. +# TYPE node_bcache_written_bytes_total counter +node_bcache_written_bytes_total{cache_device="cache0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0 # HELP node_bonding_active Number of active slaves per bonding interface. # TYPE node_bonding_active gauge node_bonding_active{master="bond0"} 0 @@ -2164,6 +2233,7 @@ node_qdisc_requeues_total{device="wlan0",kind="fq"} 1 # HELP node_scrape_collector_success node_exporter: Whether a collector succeeded. # TYPE node_scrape_collector_success gauge node_scrape_collector_success{collector="arp"} 1 +node_scrape_collector_success{collector="bcache"} 1 node_scrape_collector_success{collector="bonding"} 1 node_scrape_collector_success{collector="buddyinfo"} 1 node_scrape_collector_success{collector="conntrack"} 1 diff --git a/collector/fixtures/sys.ttar b/collector/fixtures/sys.ttar new file mode 100644 index 00000000..710e04a8 --- /dev/null +++ b/collector/fixtures/sys.ttar @@ -0,0 +1,1803 @@ +# Archive created by ttar -C collector/fixtures -c -f collector/fixtures/sys.ttar sys +Directory: sys +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/bus +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/bus/cpu +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/bus/cpu/devices +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/bus/cpu/devices/cpu0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/bus/cpu/devices/cpu0/cpufreq +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu0/cpufreq/scaling_cur_freq +Lines: 1 +1699981 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu0/cpufreq/scaling_max_freq +Lines: 1 +3700000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu0/cpufreq/scaling_min_freq +Lines: 1 +800000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/bus/cpu/devices/cpu0/thermal_throttle +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu0/thermal_throttle/core_throttle_count +Lines: 1 +5 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu0/thermal_throttle/package_throttle_count +Lines: 1 +30 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/bus/cpu/devices/cpu1 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/bus/cpu/devices/cpu1/cpufreq +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu1/cpufreq/scaling_cur_freq +Lines: 1 +1699981 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu1/cpufreq/scaling_max_freq +Lines: 1 +3700000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu1/cpufreq/scaling_min_freq +Lines: 1 +800000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/bus/cpu/devices/cpu1/thermal_throttle +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu1/thermal_throttle/core_throttle_count +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu1/thermal_throttle/package_throttle_count +Lines: 1 +30 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/bus/cpu/devices/cpu2 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/bus/cpu/devices/cpu2/thermal_throttle +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu2/thermal_throttle/core_throttle_count +Lines: 1 +40 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu2/thermal_throttle/package_throttle_count +Lines: 1 +6 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/bus/cpu/devices/cpu3 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/bus/cpu/devices/cpu3/cpufreq +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu3/cpufreq/scaling_cur_freq +Lines: 1 +8000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu3/cpufreq/scaling_max_freq +Lines: 1 +4200000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/bus/cpu/devices/cpu3/cpufreq/scaling_min_freq +Lines: 1 +1000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/hwmon +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon0 +SymlinkTo: ../../devices/platform/coretemp.0/hwmon/hwmon0 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon1 +SymlinkTo: ../../devices/platform/coretemp.1/hwmon/hwmon1 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon2 +SymlinkTo: ../../devices/platform/applesmc.768/hwmon/hwmon2 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon3 +SymlinkTo: ../../devices/platform/nct6775.656/hwmon/hwmon3 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/hwmon/hwmon4 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon4/temp1_crit +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon4/temp1_crit_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon4/temp1_input +Lines: 1 +55000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon4/temp1_label +Lines: 1 +foosensor +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon4/temp1_max +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon4/temp2_crit +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon4/temp2_crit_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon4/temp2_input +Lines: 1 +54000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon4/temp2_label +Lines: 1 +foosensor +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/hwmon/hwmon4/temp2_max +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/infiniband +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/infiniband/mlx4_0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/infiniband/mlx4_0/ports +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/infiniband/mlx4_0/ports/1 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/infiniband/mlx4_0/ports/1/counters +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters/link_downed +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters/link_error_recovery +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters/multicast_rcv_packets +Lines: 1 +93 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters/multicast_xmit_packets +Lines: 1 +16 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters/port_rcv_data +Lines: 1 +4631917 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters/port_xmit_data +Lines: 1 +3733440 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters/unicast_rcv_packets +Lines: 1 +61148 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters/unicast_xmit_packets +Lines: 1 +61239 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/infiniband/mlx4_0/ports/1/counters_ext +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_multicast_rcv_packets +Lines: 1 +93 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_multicast_xmit_packets +Lines: 1 +16 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_rcv_data_64 +Lines: 1 +4631917 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_rcv_packets_64 +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_unicast_rcv_packets +Lines: 1 +61148 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_unicast_xmit_packets +Lines: 1 +61239 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_xmit_data_64 +Lines: 1 +3733440 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_xmit_packets_64 +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/infiniband/mlx4_0/ports/2 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/infiniband/mlx4_0/ports/2/counters +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters/link_downed +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters/link_error_recovery +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters/multicast_rcv_packets +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters/multicast_xmit_packets +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters/port_rcv_data +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters/port_xmit_data +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters/unicast_rcv_packets +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters/unicast_xmit_packets +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/infiniband/mlx4_0/ports/2/counters_ext +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_multicast_rcv_packets +Lines: 1 +93 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_multicast_xmit_packets +Lines: 1 +16 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_rcv_data_64 +Lines: 1 +4631917 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_rcv_packets_64 +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_unicast_rcv_packets +Lines: 1 +61148 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_unicast_xmit_packets +Lines: 1 +61239 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_xmit_data_64 +Lines: 1 +3733440 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_xmit_packets_64 +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/net +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/net/bond0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/net/bond0/bonding +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/net/bond0/bonding/slaves +Lines: 0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/net/bonding_masters +Lines: 1 +bond0 dmz int +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/net/dmz +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/net/dmz/bonding +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/net/dmz/bonding/slaves +Lines: 1 +eth0 eth4 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/net/dmz/slave_eth0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/net/dmz/slave_eth0/operstate +Lines: 1 +up +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/net/dmz/slave_eth4 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/net/dmz/slave_eth4/operstate +Lines: 1 +up +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/net/int +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/net/int/bonding +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/net/int/bonding/slaves +Lines: 1 +eth5 eth1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/net/int/slave_eth1 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/net/int/slave_eth1/operstate +Lines: 1 +down +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/class/net/int/slave_eth5 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/class/net/int/slave_eth5/operstate +Lines: 1 +up +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata4 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/dirty_data +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_day +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_day/bypassed +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_day/cache_bypass_hits +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_day/cache_bypass_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_day/cache_hit_ratio +Lines: 1 +100 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_day/cache_hits +Lines: 1 +289 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_day/cache_miss_collisions +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_day/cache_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_day/cache_readaheads +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_five_minute +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_five_minute/bypassed +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_five_minute/cache_bypass_hits +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_five_minute/cache_bypass_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_five_minute/cache_hit_ratio +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_five_minute/cache_hits +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_five_minute/cache_miss_collisions +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_five_minute/cache_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_five_minute/cache_readaheads +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_hour +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_hour/bypassed +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_hour/cache_bypass_hits +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_hour/cache_bypass_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_hour/cache_hit_ratio +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_hour/cache_hits +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_hour/cache_miss_collisions +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_hour/cache_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_hour/cache_readaheads +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_total +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_total/bypassed +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_total/cache_bypass_hits +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_total/cache_bypass_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_total/cache_hit_ratio +Lines: 1 +100 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_total/cache_hits +Lines: 1 +546 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_total/cache_miss_collisions +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_total/cache_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_total/cache_readaheads +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata5 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata5/host4 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata5/host4/target4:0:0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata5/host4/target4:0:0/4:0:0:0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata5/host4/target4:0:0/4:0:0:0/block +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata5/host4/target4:0:0/4:0:0:0/block/sdc +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/pci0000:00/0000:00:0d.0/ata5/host4/target4:0:0/4:0:0:0/block/sdc/bcache +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata5/host4/target4:0:0/4:0:0:0/block/sdc/bcache/io_errors +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata5/host4/target4:0:0/4:0:0:0/block/sdc/bcache/metadata_written +Lines: 1 +512 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata5/host4/target4:0:0/4:0:0:0/block/sdc/bcache/priority_stats +Lines: 5 +Unused: 99% +Metadata: 0% +Average: 10473 +Sectors per Q: 64 +Quantiles: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20946 20946 20946 20946 20946 20946 20946 20946 20946 20946 20946 20946 20946 20946 20946 20946] +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/pci0000:00/0000:00:0d.0/ata5/host4/target4:0:0/4:0:0:0/block/sdc/bcache/written +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/platform +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/platform/applesmc.768 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan1_input +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan1_label +Lines: 1 +Left side +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan1_manual +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan1_max +Lines: 1 +6156 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan1_min +Lines: 1 +2160 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan1_output +Lines: 1 +2160 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan1_safe +Lines: 0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan2_input +Lines: 1 +1998 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan2_label +Lines: 1 +Right side +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan2_manual +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan2_max +Lines: 1 +5700 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan2_min +Lines: 1 +2000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan2_output +Lines: 1 +2000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/fan2_safe +Lines: 0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/platform/applesmc.768/hwmon +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/platform/applesmc.768/hwmon/hwmon2 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/hwmon/hwmon2/device +SymlinkTo: ../../../applesmc.768 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/applesmc.768/name +Lines: 1 +applesmc +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/platform/coretemp.0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/platform/coretemp.0/hwmon +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/platform/coretemp.0/hwmon/hwmon0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/device +SymlinkTo: ../../../coretemp.0 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/name +Lines: 1 +coretemp +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_crit +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_crit_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input +Lines: 1 +55000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_label +Lines: 1 +Physical id 0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_max +Lines: 1 +84000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_crit +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_crit_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input +Lines: 1 +54000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_label +Lines: 1 +Core 0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_max +Lines: 1 +84000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_crit +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_crit_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_input +Lines: 1 +52000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_label +Lines: 1 +Core 1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_max +Lines: 1 +84000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_crit +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_crit_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_input +Lines: 1 +53000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_label +Lines: 1 +Core 2 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_max +Lines: 1 +84000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_crit +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_crit_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_input +Lines: 1 +50000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_label +Lines: 1 +Core 3 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_max +Lines: 1 +84000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/platform/coretemp.1 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/platform/coretemp.1/hwmon +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/platform/coretemp.1/hwmon/hwmon1 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/device +SymlinkTo: ../../../coretemp.1 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/name +Lines: 1 +coretemp +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_crit +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_crit_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_input +Lines: 1 +55000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_label +Lines: 1 +Physical id 0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_max +Lines: 1 +84000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_crit +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_crit_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_input +Lines: 1 +54000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_label +Lines: 1 +Core 0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_max +Lines: 1 +84000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_crit +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_crit_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_input +Lines: 1 +52000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_label +Lines: 1 +Core 1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_max +Lines: 1 +84000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_crit +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_crit_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_input +Lines: 1 +53000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_label +Lines: 1 +Core 2 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_max +Lines: 1 +84000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_crit +Lines: 1 +100000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_crit_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_input +Lines: 1 +50000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_label +Lines: 1 +Core 3 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_max +Lines: 1 +84000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/platform/nct6775.656 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/platform/nct6775.656/hwmon +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/platform/nct6775.656/hwmon/hwmon3 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_beep +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_input +Lines: 1 +1098 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_min +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_pulses +Lines: 1 +2 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_target +Lines: 1 +27000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_tolerance +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_alarm +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_beep +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_input +Lines: 1 +792 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_max +Lines: 1 +1744 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_min +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_alarm +Lines: 1 +1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_beep +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_input +Lines: 1 +1024 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_max +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_min +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion0_alarm +Lines: 1 +1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion0_beep +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion1_alarm +Lines: 1 +1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion1_beep +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/name +Lines: 1 +nct6779 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point1_pwm +Lines: 1 +153 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point1_temp +Lines: 1 +30000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point2_pwm +Lines: 1 +255 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point2_temp +Lines: 1 +70000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point3_pwm +Lines: 1 +255 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point3_temp +Lines: 1 +70000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point4_pwm +Lines: 1 +255 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point4_temp +Lines: 1 +70000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point5_pwm +Lines: 1 +255 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point5_temp +Lines: 1 +75000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_crit_temp_tolerance +Lines: 1 +2000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_enable +Lines: 1 +5 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_floor +Lines: 1 +1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_mode +Lines: 1 +1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_start +Lines: 1 +1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_step_down_time +Lines: 1 +100 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_step_up_time +Lines: 1 +100 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_stop_time +Lines: 1 +6000 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_target_temp +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_temp_sel +Lines: 1 +7 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_temp_tolerance +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_duty_base +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_duty_step +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_sel +Lines: 1 +1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step_base +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step_tol +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/system +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/system/edac +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/system/edac/mc +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/system/edac/mc/mc0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/system/edac/mc/mc0/ce_count +Lines: 1 +1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/system/edac/mc/mc0/ce_noinfo_count +Lines: 1 +2 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/system/edac/mc/mc0/csrow0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/system/edac/mc/mc0/csrow0/ce_count +Lines: 1 +3 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/system/edac/mc/mc0/csrow0/ue_count +Lines: 1 +4 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/system/edac/mc/mc0/ue_count +Lines: 1 +5 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/system/edac/mc/mc0/ue_noinfo_count +Lines: 1 +6 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/system/node +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/system/node/node0 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/system/node/node0/meminfo +Lines: 30 + +Node 0 MemTotal: 134182340 kB +Node 0 MemFree: 53030372 kB +Node 0 MemUsed: 81151968 kB +Node 0 Active: 5456380 kB +Node 0 Inactive: 59150184 kB +Node 0 Active(anon): 691324 kB +Node 0 Inactive(anon): 340456 kB +Node 0 Active(file): 4765056 kB +Node 0 Inactive(file): 58809728 kB +Node 0 Unevictable: 0 kB +Node 0 Mlocked: 0 kB +Node 0 Dirty: 20 kB +Node 0 Writeback: 0 kB +Node 0 FilePages: 70170916 kB +Node 0 Mapped: 894240 kB +Node 0 AnonPages: 788196 kB +Node 0 Shmem: 47860 kB +Node 0 KernelStack: 34016 kB +Node 0 PageTables: 143304 kB +Node 0 NFS_Unstable: 0 kB +Node 0 Bounce: 0 kB +Node 0 WritebackTmp: 0 kB +Node 0 Slab: 6654304 kB +Node 0 SReclaimable: 4473124 kB +Node 0 SUnreclaim: 2181180 kB +Node 0 AnonHugePages: 147456 kB +Node 0 HugePages_Total: 0 +Node 0 HugePages_Free: 0 +Node 0 HugePages_Surp: 0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/system/node/node0/numastat +Lines: 6 +numa_hit 193460335812 +numa_miss 12624528 +numa_foreign 59858623300 +interleave_hit 57146 +local_node 193454780853 +other_node 18179487 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/devices/system/node/node1 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/system/node/node1/meminfo +Lines: 30 + +Node 1 MemTotal: 134217728 kB +Node 1 MemFree: 39634788 kB +Node 1 MemUsed: 94582940 kB +Node 1 Active: 5604496 kB +Node 1 Inactive: 71450592 kB +Node 1 Active(anon): 590464 kB +Node 1 Inactive(anon): 285088 kB +Node 1 Active(file): 5014032 kB +Node 1 Inactive(file): 71165504 kB +Node 1 Unevictable: 0 kB +Node 1 Mlocked: 0 kB +Node 1 Dirty: 120 kB +Node 1 Writeback: 0 kB +Node 1 FilePages: 83579188 kB +Node 1 Mapped: 864112 kB +Node 1 AnonPages: 671932 kB +Node 1 Shmem: 87580 kB +Node 1 KernelStack: 31104 kB +Node 1 PageTables: 124272 kB +Node 1 NFS_Unstable: 0 kB +Node 1 Bounce: 0 kB +Node 1 WritebackTmp: 0 kB +Node 1 Slab: 7020716 kB +Node 1 SReclaimable: 4614084 kB +Node 1 SUnreclaim: 2406632 kB +Node 1 AnonHugePages: 90112 kB +Node 1 HugePages_Total: 0 +Node 1 HugePages_Free: 0 +Node 1 HugePages_Surp: 0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/devices/system/node/node1/numastat +Lines: 6 +numa_hit 326720946761 +numa_miss 59858626709 +numa_foreign 12624528 +interleave_hit 57286 +local_node 326719046550 +other_node 59860526920 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/fs +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/fs/bcache +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/average_key_size +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/bdev0 +SymlinkTo: ../../../devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/btree_cache_size +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/cache0 +SymlinkTo: ../../../devices/pci0000:00/0000:00:0d.0/ata5/host4/target4:0:0/4:0:0:0/block/sdc/bcache +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/cache_available_percent +Lines: 1 +100 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/congested +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/internal +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/internal/active_journal_entries +Lines: 1 +1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/internal/btree_nodes +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/internal/btree_read_average_duration_us +Lines: 1 +1305 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/internal/cache_read_races +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/root_usage_percent +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_day +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_day/bypassed +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_day/cache_bypass_hits +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_day/cache_bypass_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_day/cache_hit_ratio +Lines: 1 +100 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_day/cache_hits +Lines: 1 +289 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_day/cache_miss_collisions +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_day/cache_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_day/cache_readaheads +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_five_minute +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_five_minute/bypassed +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_five_minute/cache_bypass_hits +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_five_minute/cache_bypass_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_five_minute/cache_hit_ratio +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_five_minute/cache_hits +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_five_minute/cache_miss_collisions +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_five_minute/cache_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_five_minute/cache_readaheads +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_hour +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_hour/bypassed +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_hour/cache_bypass_hits +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_hour/cache_bypass_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_hour/cache_hit_ratio +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_hour/cache_hits +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_hour/cache_miss_collisions +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_hour/cache_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_hour/cache_readaheads +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_total +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_total/bypassed +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_total/cache_bypass_hits +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_total/cache_bypass_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_total/cache_hit_ratio +Lines: 1 +100 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_total/cache_hits +Lines: 1 +546 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_total/cache_miss_collisions +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_total/cache_misses +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/stats_total/cache_readaheads +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/bcache/deaddd54-c735-46d5-868e-f331c5fd7c74/tree_depth +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/fs/xfs +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/fs/xfs/sda1 +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/fs/xfs/sda1/stats +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/fs/xfs/sda1/stats/stats +Lines: 24 +extent_alloc 1 872 0 0 +abt 0 0 0 0 +blk_map 61 29 1 1 1 91 0 +bmbt 0 0 0 0 +dir 3 2 1 52 +trans 4 40 0 +ig 5 1 0 4 0 0 1 +log 8 21 0 5821 4 +push_ail 44 0 1102 15 0 2 0 2 0 2 +xstrat 1 0 +rw 28 0 +attr 0 0 0 0 +icluster 2 2 2 +vnodes 4 0 0 0 1 1 1 0 +buf 22 25 14 0 0 8 0 8 8 +abtb2 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 +abtc2 2 1 1 1 0 0 0 0 0 0 0 0 0 0 0 +bmbt2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +ibt2 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 +fibt2 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 +rmapbt 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +qm 0 0 0 0 0 0 0 0 +xpc 3571712 3568056 0 +debug 0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/kernel +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/kernel/mm +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Directory: sys/kernel/mm/ksm +Mode: 755 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/kernel/mm/ksm/full_scans +Lines: 1 +323 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/kernel/mm/ksm/merge_across_nodes +Lines: 1 +1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/kernel/mm/ksm/pages_shared +Lines: 1 +1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/kernel/mm/ksm/pages_sharing +Lines: 1 +255 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/kernel/mm/ksm/pages_to_scan +Lines: 1 +100 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/kernel/mm/ksm/pages_unshared +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/kernel/mm/ksm/pages_volatile +Lines: 1 +0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/kernel/mm/ksm/run +Lines: 1 +1 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/kernel/mm/ksm/sleep_millisecs +Lines: 1 +20 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Path: sys/.unpacked +Lines: 0 +Mode: 644 +# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu0/cpufreq/scaling_cur_freq b/collector/fixtures/sys/bus/cpu/devices/cpu0/cpufreq/scaling_cur_freq deleted file mode 100644 index 10da2a3e..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu0/cpufreq/scaling_cur_freq +++ /dev/null @@ -1 +0,0 @@ -1699981 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu0/cpufreq/scaling_max_freq b/collector/fixtures/sys/bus/cpu/devices/cpu0/cpufreq/scaling_max_freq deleted file mode 100644 index 6aa0b685..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu0/cpufreq/scaling_max_freq +++ /dev/null @@ -1 +0,0 @@ -3700000 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu0/cpufreq/scaling_min_freq b/collector/fixtures/sys/bus/cpu/devices/cpu0/cpufreq/scaling_min_freq deleted file mode 100644 index 959e88a8..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu0/cpufreq/scaling_min_freq +++ /dev/null @@ -1 +0,0 @@ -800000 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu0/thermal_throttle/core_throttle_count b/collector/fixtures/sys/bus/cpu/devices/cpu0/thermal_throttle/core_throttle_count deleted file mode 100644 index 7ed6ff82..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu0/thermal_throttle/core_throttle_count +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu0/thermal_throttle/package_throttle_count b/collector/fixtures/sys/bus/cpu/devices/cpu0/thermal_throttle/package_throttle_count deleted file mode 100644 index 64bb6b74..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu0/thermal_throttle/package_throttle_count +++ /dev/null @@ -1 +0,0 @@ -30 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu1/cpufreq/scaling_cur_freq b/collector/fixtures/sys/bus/cpu/devices/cpu1/cpufreq/scaling_cur_freq deleted file mode 100644 index 10da2a3e..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu1/cpufreq/scaling_cur_freq +++ /dev/null @@ -1 +0,0 @@ -1699981 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu1/cpufreq/scaling_max_freq b/collector/fixtures/sys/bus/cpu/devices/cpu1/cpufreq/scaling_max_freq deleted file mode 100644 index 6aa0b685..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu1/cpufreq/scaling_max_freq +++ /dev/null @@ -1 +0,0 @@ -3700000 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu1/cpufreq/scaling_min_freq b/collector/fixtures/sys/bus/cpu/devices/cpu1/cpufreq/scaling_min_freq deleted file mode 100644 index 959e88a8..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu1/cpufreq/scaling_min_freq +++ /dev/null @@ -1 +0,0 @@ -800000 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu1/thermal_throttle/core_throttle_count b/collector/fixtures/sys/bus/cpu/devices/cpu1/thermal_throttle/core_throttle_count deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu1/thermal_throttle/core_throttle_count +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu1/thermal_throttle/package_throttle_count b/collector/fixtures/sys/bus/cpu/devices/cpu1/thermal_throttle/package_throttle_count deleted file mode 100644 index 64bb6b74..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu1/thermal_throttle/package_throttle_count +++ /dev/null @@ -1 +0,0 @@ -30 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu2/thermal_throttle/core_throttle_count b/collector/fixtures/sys/bus/cpu/devices/cpu2/thermal_throttle/core_throttle_count deleted file mode 100644 index 425151f3..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu2/thermal_throttle/core_throttle_count +++ /dev/null @@ -1 +0,0 @@ -40 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu2/thermal_throttle/package_throttle_count b/collector/fixtures/sys/bus/cpu/devices/cpu2/thermal_throttle/package_throttle_count deleted file mode 100644 index 1e8b3149..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu2/thermal_throttle/package_throttle_count +++ /dev/null @@ -1 +0,0 @@ -6 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu3/cpufreq/scaling_cur_freq b/collector/fixtures/sys/bus/cpu/devices/cpu3/cpufreq/scaling_cur_freq deleted file mode 100644 index e002b362..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu3/cpufreq/scaling_cur_freq +++ /dev/null @@ -1 +0,0 @@ -8000 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu3/cpufreq/scaling_max_freq b/collector/fixtures/sys/bus/cpu/devices/cpu3/cpufreq/scaling_max_freq deleted file mode 100644 index 745c6380..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu3/cpufreq/scaling_max_freq +++ /dev/null @@ -1 +0,0 @@ -4200000 diff --git a/collector/fixtures/sys/bus/cpu/devices/cpu3/cpufreq/scaling_min_freq b/collector/fixtures/sys/bus/cpu/devices/cpu3/cpufreq/scaling_min_freq deleted file mode 100644 index 83b33d23..00000000 --- a/collector/fixtures/sys/bus/cpu/devices/cpu3/cpufreq/scaling_min_freq +++ /dev/null @@ -1 +0,0 @@ -1000 diff --git a/collector/fixtures/sys/class/hwmon/hwmon0 b/collector/fixtures/sys/class/hwmon/hwmon0 deleted file mode 120000 index 0d95805b..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon0 +++ /dev/null @@ -1 +0,0 @@ -../../devices/platform/coretemp.0/hwmon/hwmon0 \ No newline at end of file diff --git a/collector/fixtures/sys/class/hwmon/hwmon1 b/collector/fixtures/sys/class/hwmon/hwmon1 deleted file mode 120000 index 6aa6f3a6..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon1 +++ /dev/null @@ -1 +0,0 @@ -../../devices/platform/coretemp.1/hwmon/hwmon1 \ No newline at end of file diff --git a/collector/fixtures/sys/class/hwmon/hwmon2 b/collector/fixtures/sys/class/hwmon/hwmon2 deleted file mode 120000 index 3a98f618..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon2 +++ /dev/null @@ -1 +0,0 @@ -../../devices/platform/applesmc.768/hwmon/hwmon2 \ No newline at end of file diff --git a/collector/fixtures/sys/class/hwmon/hwmon3 b/collector/fixtures/sys/class/hwmon/hwmon3 deleted file mode 120000 index edfd34cd..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon3 +++ /dev/null @@ -1 +0,0 @@ -../../devices/platform/nct6775.656/hwmon/hwmon3 \ No newline at end of file diff --git a/collector/fixtures/sys/class/hwmon/hwmon4/temp1_crit b/collector/fixtures/sys/class/hwmon/hwmon4/temp1_crit deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon4/temp1_crit +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/class/hwmon/hwmon4/temp1_crit_alarm b/collector/fixtures/sys/class/hwmon/hwmon4/temp1_crit_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon4/temp1_crit_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/hwmon/hwmon4/temp1_input b/collector/fixtures/sys/class/hwmon/hwmon4/temp1_input deleted file mode 100644 index 2ef4768d..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon4/temp1_input +++ /dev/null @@ -1 +0,0 @@ -55000 diff --git a/collector/fixtures/sys/class/hwmon/hwmon4/temp1_label b/collector/fixtures/sys/class/hwmon/hwmon4/temp1_label deleted file mode 100644 index cfcdc3f7..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon4/temp1_label +++ /dev/null @@ -1 +0,0 @@ -foosensor diff --git a/collector/fixtures/sys/class/hwmon/hwmon4/temp1_max b/collector/fixtures/sys/class/hwmon/hwmon4/temp1_max deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon4/temp1_max +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/class/hwmon/hwmon4/temp2_crit b/collector/fixtures/sys/class/hwmon/hwmon4/temp2_crit deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon4/temp2_crit +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/class/hwmon/hwmon4/temp2_crit_alarm b/collector/fixtures/sys/class/hwmon/hwmon4/temp2_crit_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon4/temp2_crit_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/hwmon/hwmon4/temp2_input b/collector/fixtures/sys/class/hwmon/hwmon4/temp2_input deleted file mode 100644 index 627c5c79..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon4/temp2_input +++ /dev/null @@ -1 +0,0 @@ -54000 diff --git a/collector/fixtures/sys/class/hwmon/hwmon4/temp2_label b/collector/fixtures/sys/class/hwmon/hwmon4/temp2_label deleted file mode 100644 index cfcdc3f7..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon4/temp2_label +++ /dev/null @@ -1 +0,0 @@ -foosensor diff --git a/collector/fixtures/sys/class/hwmon/hwmon4/temp2_max b/collector/fixtures/sys/class/hwmon/hwmon4/temp2_max deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/class/hwmon/hwmon4/temp2_max +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/link_downed b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/link_downed deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/link_downed +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/link_error_recovery b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/link_error_recovery deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/link_error_recovery +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/multicast_rcv_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/multicast_rcv_packets deleted file mode 100644 index c67f579c..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/multicast_rcv_packets +++ /dev/null @@ -1 +0,0 @@ -93 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/multicast_xmit_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/multicast_xmit_packets deleted file mode 100644 index b6a7d89c..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/multicast_xmit_packets +++ /dev/null @@ -1 +0,0 @@ -16 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/port_rcv_data b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/port_rcv_data deleted file mode 100644 index 496ea27d..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/port_rcv_data +++ /dev/null @@ -1 +0,0 @@ -4631917 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/port_xmit_data b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/port_xmit_data deleted file mode 100644 index 85ea8ebf..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/port_xmit_data +++ /dev/null @@ -1 +0,0 @@ -3733440 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/unicast_rcv_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/unicast_rcv_packets deleted file mode 100644 index 2406651b..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/unicast_rcv_packets +++ /dev/null @@ -1 +0,0 @@ -61148 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/unicast_xmit_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/unicast_xmit_packets deleted file mode 100644 index 6279bd6a..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters/unicast_xmit_packets +++ /dev/null @@ -1 +0,0 @@ -61239 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_multicast_rcv_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_multicast_rcv_packets deleted file mode 100644 index c67f579c..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_multicast_rcv_packets +++ /dev/null @@ -1 +0,0 @@ -93 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_multicast_xmit_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_multicast_xmit_packets deleted file mode 100644 index b6a7d89c..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_multicast_xmit_packets +++ /dev/null @@ -1 +0,0 @@ -16 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_rcv_data_64 b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_rcv_data_64 deleted file mode 100644 index 496ea27d..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_rcv_data_64 +++ /dev/null @@ -1 +0,0 @@ -4631917 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_rcv_packets_64 b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_rcv_packets_64 deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_rcv_packets_64 +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_unicast_rcv_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_unicast_rcv_packets deleted file mode 100644 index 2406651b..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_unicast_rcv_packets +++ /dev/null @@ -1 +0,0 @@ -61148 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_unicast_xmit_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_unicast_xmit_packets deleted file mode 100644 index 6279bd6a..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_unicast_xmit_packets +++ /dev/null @@ -1 +0,0 @@ -61239 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_xmit_data_64 b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_xmit_data_64 deleted file mode 100644 index 85ea8ebf..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_xmit_data_64 +++ /dev/null @@ -1 +0,0 @@ -3733440 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_xmit_packets_64 b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_xmit_packets_64 deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/1/counters_ext/port_xmit_packets_64 +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/link_downed b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/link_downed deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/link_downed +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/link_error_recovery b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/link_error_recovery deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/link_error_recovery +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/multicast_rcv_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/multicast_rcv_packets deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/multicast_rcv_packets +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/multicast_xmit_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/multicast_xmit_packets deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/multicast_xmit_packets +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/port_rcv_data b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/port_rcv_data deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/port_rcv_data +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/port_xmit_data b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/port_xmit_data deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/port_xmit_data +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/unicast_rcv_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/unicast_rcv_packets deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/unicast_rcv_packets +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/unicast_xmit_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/unicast_xmit_packets deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters/unicast_xmit_packets +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_multicast_rcv_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_multicast_rcv_packets deleted file mode 100644 index c67f579c..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_multicast_rcv_packets +++ /dev/null @@ -1 +0,0 @@ -93 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_multicast_xmit_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_multicast_xmit_packets deleted file mode 100644 index b6a7d89c..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_multicast_xmit_packets +++ /dev/null @@ -1 +0,0 @@ -16 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_rcv_data_64 b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_rcv_data_64 deleted file mode 100644 index 496ea27d..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_rcv_data_64 +++ /dev/null @@ -1 +0,0 @@ -4631917 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_rcv_packets_64 b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_rcv_packets_64 deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_rcv_packets_64 +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_unicast_rcv_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_unicast_rcv_packets deleted file mode 100644 index 2406651b..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_unicast_rcv_packets +++ /dev/null @@ -1 +0,0 @@ -61148 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_unicast_xmit_packets b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_unicast_xmit_packets deleted file mode 100644 index 6279bd6a..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_unicast_xmit_packets +++ /dev/null @@ -1 +0,0 @@ -61239 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_xmit_data_64 b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_xmit_data_64 deleted file mode 100644 index 85ea8ebf..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_xmit_data_64 +++ /dev/null @@ -1 +0,0 @@ -3733440 diff --git a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_xmit_packets_64 b/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_xmit_packets_64 deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/class/infiniband/mlx4_0/ports/2/counters_ext/port_xmit_packets_64 +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/class/net/bond0/bonding/slaves b/collector/fixtures/sys/class/net/bond0/bonding/slaves deleted file mode 100644 index e69de29b..00000000 diff --git a/collector/fixtures/sys/class/net/bonding_masters b/collector/fixtures/sys/class/net/bonding_masters deleted file mode 100644 index b1cd24db..00000000 --- a/collector/fixtures/sys/class/net/bonding_masters +++ /dev/null @@ -1 +0,0 @@ -bond0 dmz int diff --git a/collector/fixtures/sys/class/net/dmz/bonding/slaves b/collector/fixtures/sys/class/net/dmz/bonding/slaves deleted file mode 100644 index 976743fc..00000000 --- a/collector/fixtures/sys/class/net/dmz/bonding/slaves +++ /dev/null @@ -1 +0,0 @@ -eth0 eth4 diff --git a/collector/fixtures/sys/class/net/dmz/slave_eth0/operstate b/collector/fixtures/sys/class/net/dmz/slave_eth0/operstate deleted file mode 100644 index e31ee94e..00000000 --- a/collector/fixtures/sys/class/net/dmz/slave_eth0/operstate +++ /dev/null @@ -1 +0,0 @@ -up diff --git a/collector/fixtures/sys/class/net/dmz/slave_eth4/operstate b/collector/fixtures/sys/class/net/dmz/slave_eth4/operstate deleted file mode 100644 index e31ee94e..00000000 --- a/collector/fixtures/sys/class/net/dmz/slave_eth4/operstate +++ /dev/null @@ -1 +0,0 @@ -up diff --git a/collector/fixtures/sys/class/net/int/bonding/slaves b/collector/fixtures/sys/class/net/int/bonding/slaves deleted file mode 100644 index 394b5a57..00000000 --- a/collector/fixtures/sys/class/net/int/bonding/slaves +++ /dev/null @@ -1 +0,0 @@ -eth5 eth1 diff --git a/collector/fixtures/sys/class/net/int/slave_eth1/operstate b/collector/fixtures/sys/class/net/int/slave_eth1/operstate deleted file mode 100644 index eb0e9043..00000000 --- a/collector/fixtures/sys/class/net/int/slave_eth1/operstate +++ /dev/null @@ -1 +0,0 @@ -down diff --git a/collector/fixtures/sys/class/net/int/slave_eth5/operstate b/collector/fixtures/sys/class/net/int/slave_eth5/operstate deleted file mode 100644 index e31ee94e..00000000 --- a/collector/fixtures/sys/class/net/int/slave_eth5/operstate +++ /dev/null @@ -1 +0,0 @@ -up diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan1_input b/collector/fixtures/sys/devices/platform/applesmc.768/fan1_input deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/fan1_input +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan1_label b/collector/fixtures/sys/devices/platform/applesmc.768/fan1_label deleted file mode 100644 index ac8988c7..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/fan1_label +++ /dev/null @@ -1 +0,0 @@ -Left side diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan1_manual b/collector/fixtures/sys/devices/platform/applesmc.768/fan1_manual deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/fan1_manual +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan1_max b/collector/fixtures/sys/devices/platform/applesmc.768/fan1_max deleted file mode 100644 index 8abbad59..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/fan1_max +++ /dev/null @@ -1 +0,0 @@ -6156 diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan1_min b/collector/fixtures/sys/devices/platform/applesmc.768/fan1_min deleted file mode 100644 index 317509bf..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/fan1_min +++ /dev/null @@ -1 +0,0 @@ -2160 diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan1_output b/collector/fixtures/sys/devices/platform/applesmc.768/fan1_output deleted file mode 100644 index 317509bf..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/fan1_output +++ /dev/null @@ -1 +0,0 @@ -2160 diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan1_safe b/collector/fixtures/sys/devices/platform/applesmc.768/fan1_safe deleted file mode 100644 index e69de29b..00000000 diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan2_input b/collector/fixtures/sys/devices/platform/applesmc.768/fan2_input deleted file mode 100644 index 1ff838f1..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/fan2_input +++ /dev/null @@ -1 +0,0 @@ -1998 diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan2_label b/collector/fixtures/sys/devices/platform/applesmc.768/fan2_label deleted file mode 100644 index b5b1ea63..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/fan2_label +++ /dev/null @@ -1 +0,0 @@ -Right side diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan2_manual b/collector/fixtures/sys/devices/platform/applesmc.768/fan2_manual deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/fan2_manual +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan2_max b/collector/fixtures/sys/devices/platform/applesmc.768/fan2_max deleted file mode 100644 index 7a1f00d8..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/fan2_max +++ /dev/null @@ -1 +0,0 @@ -5700 diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan2_min b/collector/fixtures/sys/devices/platform/applesmc.768/fan2_min deleted file mode 100644 index 8bd1af11..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/fan2_min +++ /dev/null @@ -1 +0,0 @@ -2000 diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan2_output b/collector/fixtures/sys/devices/platform/applesmc.768/fan2_output deleted file mode 100644 index 8bd1af11..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/fan2_output +++ /dev/null @@ -1 +0,0 @@ -2000 diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/fan2_safe b/collector/fixtures/sys/devices/platform/applesmc.768/fan2_safe deleted file mode 100644 index e69de29b..00000000 diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/hwmon/hwmon2/device b/collector/fixtures/sys/devices/platform/applesmc.768/hwmon/hwmon2/device deleted file mode 120000 index 6d0a2fe2..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/hwmon/hwmon2/device +++ /dev/null @@ -1 +0,0 @@ -../../../applesmc.768 \ No newline at end of file diff --git a/collector/fixtures/sys/devices/platform/applesmc.768/name b/collector/fixtures/sys/devices/platform/applesmc.768/name deleted file mode 100644 index b47d174d..00000000 --- a/collector/fixtures/sys/devices/platform/applesmc.768/name +++ /dev/null @@ -1 +0,0 @@ -applesmc diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/device b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/device deleted file mode 120000 index faf75edc..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/device +++ /dev/null @@ -1 +0,0 @@ -../../../coretemp.0 \ No newline at end of file diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/name b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/name deleted file mode 100644 index 77ce4625..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/name +++ /dev/null @@ -1 +0,0 @@ -coretemp diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_crit b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_crit deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_crit +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_crit_alarm b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_crit_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_crit_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input deleted file mode 100644 index 2ef4768d..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input +++ /dev/null @@ -1 +0,0 @@ -55000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_label b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_label deleted file mode 100644 index f93d0475..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_label +++ /dev/null @@ -1 +0,0 @@ -Physical id 0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_max b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_max deleted file mode 100644 index 9c2ebf51..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_max +++ /dev/null @@ -1 +0,0 @@ -84000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_crit b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_crit deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_crit +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_crit_alarm b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_crit_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_crit_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input deleted file mode 100644 index 627c5c79..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input +++ /dev/null @@ -1 +0,0 @@ -54000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_label b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_label deleted file mode 100644 index 09f8cbdd..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_label +++ /dev/null @@ -1 +0,0 @@ -Core 0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_max b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_max deleted file mode 100644 index 9c2ebf51..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_max +++ /dev/null @@ -1 +0,0 @@ -84000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_crit b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_crit deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_crit +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_crit_alarm b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_crit_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_crit_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_input b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_input deleted file mode 100644 index 44a1fc24..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_input +++ /dev/null @@ -1 +0,0 @@ -52000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_label b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_label deleted file mode 100644 index e98a1da5..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_label +++ /dev/null @@ -1 +0,0 @@ -Core 1 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_max b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_max deleted file mode 100644 index 9c2ebf51..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_max +++ /dev/null @@ -1 +0,0 @@ -84000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_crit b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_crit deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_crit +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_crit_alarm b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_crit_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_crit_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_input b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_input deleted file mode 100644 index 7f13265f..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_input +++ /dev/null @@ -1 +0,0 @@ -53000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_label b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_label deleted file mode 100644 index 18c8a0b6..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_label +++ /dev/null @@ -1 +0,0 @@ -Core 2 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_max b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_max deleted file mode 100644 index 9c2ebf51..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_max +++ /dev/null @@ -1 +0,0 @@ -84000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_crit b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_crit deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_crit +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_crit_alarm b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_crit_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_crit_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_input b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_input deleted file mode 100644 index ccfc37a1..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_input +++ /dev/null @@ -1 +0,0 @@ -50000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_label b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_label deleted file mode 100644 index 5ec08ee3..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_label +++ /dev/null @@ -1 +0,0 @@ -Core 3 diff --git a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_max b/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_max deleted file mode 100644 index 9c2ebf51..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_max +++ /dev/null @@ -1 +0,0 @@ -84000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/device b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/device deleted file mode 120000 index d4935456..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/device +++ /dev/null @@ -1 +0,0 @@ -../../../coretemp.1 \ No newline at end of file diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/name b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/name deleted file mode 100644 index 77ce4625..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/name +++ /dev/null @@ -1 +0,0 @@ -coretemp diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_crit b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_crit deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_crit +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_crit_alarm b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_crit_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_crit_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_input b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_input deleted file mode 100644 index 2ef4768d..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_input +++ /dev/null @@ -1 +0,0 @@ -55000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_label b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_label deleted file mode 100644 index f93d0475..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_label +++ /dev/null @@ -1 +0,0 @@ -Physical id 0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_max b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_max deleted file mode 100644 index 9c2ebf51..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp1_max +++ /dev/null @@ -1 +0,0 @@ -84000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_crit b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_crit deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_crit +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_crit_alarm b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_crit_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_crit_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_input b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_input deleted file mode 100644 index 627c5c79..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_input +++ /dev/null @@ -1 +0,0 @@ -54000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_label b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_label deleted file mode 100644 index 09f8cbdd..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_label +++ /dev/null @@ -1 +0,0 @@ -Core 0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_max b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_max deleted file mode 100644 index 9c2ebf51..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp2_max +++ /dev/null @@ -1 +0,0 @@ -84000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_crit b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_crit deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_crit +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_crit_alarm b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_crit_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_crit_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_input b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_input deleted file mode 100644 index 44a1fc24..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_input +++ /dev/null @@ -1 +0,0 @@ -52000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_label b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_label deleted file mode 100644 index e98a1da5..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_label +++ /dev/null @@ -1 +0,0 @@ -Core 1 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_max b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_max deleted file mode 100644 index 9c2ebf51..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp3_max +++ /dev/null @@ -1 +0,0 @@ -84000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_crit b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_crit deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_crit +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_crit_alarm b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_crit_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_crit_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_input b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_input deleted file mode 100644 index 7f13265f..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_input +++ /dev/null @@ -1 +0,0 @@ -53000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_label b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_label deleted file mode 100644 index 18c8a0b6..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_label +++ /dev/null @@ -1 +0,0 @@ -Core 2 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_max b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_max deleted file mode 100644 index 9c2ebf51..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp4_max +++ /dev/null @@ -1 +0,0 @@ -84000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_crit b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_crit deleted file mode 100644 index f7393e84..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_crit +++ /dev/null @@ -1 +0,0 @@ -100000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_crit_alarm b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_crit_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_crit_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_input b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_input deleted file mode 100644 index ccfc37a1..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_input +++ /dev/null @@ -1 +0,0 @@ -50000 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_label b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_label deleted file mode 100644 index 5ec08ee3..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_label +++ /dev/null @@ -1 +0,0 @@ -Core 3 diff --git a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_max b/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_max deleted file mode 100644 index 9c2ebf51..00000000 --- a/collector/fixtures/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp5_max +++ /dev/null @@ -1 +0,0 @@ -84000 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_alarm b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_beep b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_beep deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_beep +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_input b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_input deleted file mode 100644 index e2bb11da..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_input +++ /dev/null @@ -1 +0,0 @@ -1098 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_min b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_min deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_min +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_pulses b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_pulses deleted file mode 100644 index 0cfbf088..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_pulses +++ /dev/null @@ -1 +0,0 @@ -2 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_target b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_target deleted file mode 100644 index 48fa3d24..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_target +++ /dev/null @@ -1 +0,0 @@ -27000 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_tolerance b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_tolerance deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/fan2_tolerance +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_alarm b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_alarm deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_alarm +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_beep b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_beep deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_beep +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_input b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_input deleted file mode 100644 index 16331dda..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_input +++ /dev/null @@ -1 +0,0 @@ -792 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_max b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_max deleted file mode 100644 index 548f0a55..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_max +++ /dev/null @@ -1 +0,0 @@ -1744 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_min b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_min deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in0_min +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_alarm b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_alarm deleted file mode 100644 index d00491fd..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_alarm +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_beep b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_beep deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_beep +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_input b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_input deleted file mode 100644 index d7b1c440..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_input +++ /dev/null @@ -1 +0,0 @@ -1024 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_max b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_max deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_max +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_min b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_min deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/in1_min +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion0_alarm b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion0_alarm deleted file mode 100644 index d00491fd..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion0_alarm +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion0_beep b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion0_beep deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion0_beep +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion1_alarm b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion1_alarm deleted file mode 100644 index d00491fd..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion1_alarm +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion1_beep b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion1_beep deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/intrusion1_beep +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/name b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/name deleted file mode 100644 index bddebf29..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/name +++ /dev/null @@ -1 +0,0 @@ -nct6779 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point1_pwm b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point1_pwm deleted file mode 100644 index 7f1ddd53..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point1_pwm +++ /dev/null @@ -1 +0,0 @@ -153 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point1_temp b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point1_temp deleted file mode 100644 index 3a05c8b3..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point1_temp +++ /dev/null @@ -1 +0,0 @@ -30000 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point2_pwm b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point2_pwm deleted file mode 100644 index ace9d036..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point2_pwm +++ /dev/null @@ -1 +0,0 @@ -255 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point2_temp b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point2_temp deleted file mode 100644 index 5bf3711f..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point2_temp +++ /dev/null @@ -1 +0,0 @@ -70000 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point3_pwm b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point3_pwm deleted file mode 100644 index ace9d036..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point3_pwm +++ /dev/null @@ -1 +0,0 @@ -255 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point3_temp b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point3_temp deleted file mode 100644 index 5bf3711f..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point3_temp +++ /dev/null @@ -1 +0,0 @@ -70000 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point4_pwm b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point4_pwm deleted file mode 100644 index ace9d036..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point4_pwm +++ /dev/null @@ -1 +0,0 @@ -255 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point4_temp b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point4_temp deleted file mode 100644 index 5bf3711f..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point4_temp +++ /dev/null @@ -1 +0,0 @@ -70000 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point5_pwm b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point5_pwm deleted file mode 100644 index ace9d036..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point5_pwm +++ /dev/null @@ -1 +0,0 @@ -255 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point5_temp b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point5_temp deleted file mode 100644 index f2617ca7..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_auto_point5_temp +++ /dev/null @@ -1 +0,0 @@ -75000 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_crit_temp_tolerance b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_crit_temp_tolerance deleted file mode 100644 index 8bd1af11..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_crit_temp_tolerance +++ /dev/null @@ -1 +0,0 @@ -2000 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_enable b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_enable deleted file mode 100644 index 7ed6ff82..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_enable +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_floor b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_floor deleted file mode 100644 index d00491fd..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_floor +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_mode b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_mode deleted file mode 100644 index d00491fd..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_mode +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_start b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_start deleted file mode 100644 index d00491fd..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_start +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_step_down_time b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_step_down_time deleted file mode 100644 index 29d6383b..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_step_down_time +++ /dev/null @@ -1 +0,0 @@ -100 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_step_up_time b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_step_up_time deleted file mode 100644 index 29d6383b..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_step_up_time +++ /dev/null @@ -1 +0,0 @@ -100 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_stop_time b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_stop_time deleted file mode 100644 index a77fd92c..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_stop_time +++ /dev/null @@ -1 +0,0 @@ -6000 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_target_temp b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_target_temp deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_target_temp +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_temp_sel b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_temp_sel deleted file mode 100644 index 7f8f011e..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_temp_sel +++ /dev/null @@ -1 +0,0 @@ -7 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_temp_tolerance b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_temp_tolerance deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_temp_tolerance +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_duty_base b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_duty_base deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_duty_base +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_duty_step b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_duty_step deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_duty_step +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_sel b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_sel deleted file mode 100644 index d00491fd..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_sel +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step_base b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step_base deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step_base +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step_tol b/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step_tol deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/devices/platform/nct6775.656/hwmon/hwmon3/pwm1_weight_temp_step_tol +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/devices/system/edac/mc/mc0/ce_count b/collector/fixtures/sys/devices/system/edac/mc/mc0/ce_count deleted file mode 100644 index d00491fd..00000000 --- a/collector/fixtures/sys/devices/system/edac/mc/mc0/ce_count +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/collector/fixtures/sys/devices/system/edac/mc/mc0/ce_noinfo_count b/collector/fixtures/sys/devices/system/edac/mc/mc0/ce_noinfo_count deleted file mode 100644 index 0cfbf088..00000000 --- a/collector/fixtures/sys/devices/system/edac/mc/mc0/ce_noinfo_count +++ /dev/null @@ -1 +0,0 @@ -2 diff --git a/collector/fixtures/sys/devices/system/edac/mc/mc0/csrow0/ce_count b/collector/fixtures/sys/devices/system/edac/mc/mc0/csrow0/ce_count deleted file mode 100644 index 00750edc..00000000 --- a/collector/fixtures/sys/devices/system/edac/mc/mc0/csrow0/ce_count +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/collector/fixtures/sys/devices/system/edac/mc/mc0/csrow0/ue_count b/collector/fixtures/sys/devices/system/edac/mc/mc0/csrow0/ue_count deleted file mode 100644 index b8626c4c..00000000 --- a/collector/fixtures/sys/devices/system/edac/mc/mc0/csrow0/ue_count +++ /dev/null @@ -1 +0,0 @@ -4 diff --git a/collector/fixtures/sys/devices/system/edac/mc/mc0/ue_count b/collector/fixtures/sys/devices/system/edac/mc/mc0/ue_count deleted file mode 100644 index 7ed6ff82..00000000 --- a/collector/fixtures/sys/devices/system/edac/mc/mc0/ue_count +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/collector/fixtures/sys/devices/system/edac/mc/mc0/ue_noinfo_count b/collector/fixtures/sys/devices/system/edac/mc/mc0/ue_noinfo_count deleted file mode 100644 index 1e8b3149..00000000 --- a/collector/fixtures/sys/devices/system/edac/mc/mc0/ue_noinfo_count +++ /dev/null @@ -1 +0,0 @@ -6 diff --git a/collector/fixtures/sys/devices/system/node/node0/meminfo b/collector/fixtures/sys/devices/system/node/node0/meminfo deleted file mode 100644 index ee0c208f..00000000 --- a/collector/fixtures/sys/devices/system/node/node0/meminfo +++ /dev/null @@ -1,30 +0,0 @@ - -Node 0 MemTotal: 134182340 kB -Node 0 MemFree: 53030372 kB -Node 0 MemUsed: 81151968 kB -Node 0 Active: 5456380 kB -Node 0 Inactive: 59150184 kB -Node 0 Active(anon): 691324 kB -Node 0 Inactive(anon): 340456 kB -Node 0 Active(file): 4765056 kB -Node 0 Inactive(file): 58809728 kB -Node 0 Unevictable: 0 kB -Node 0 Mlocked: 0 kB -Node 0 Dirty: 20 kB -Node 0 Writeback: 0 kB -Node 0 FilePages: 70170916 kB -Node 0 Mapped: 894240 kB -Node 0 AnonPages: 788196 kB -Node 0 Shmem: 47860 kB -Node 0 KernelStack: 34016 kB -Node 0 PageTables: 143304 kB -Node 0 NFS_Unstable: 0 kB -Node 0 Bounce: 0 kB -Node 0 WritebackTmp: 0 kB -Node 0 Slab: 6654304 kB -Node 0 SReclaimable: 4473124 kB -Node 0 SUnreclaim: 2181180 kB -Node 0 AnonHugePages: 147456 kB -Node 0 HugePages_Total: 0 -Node 0 HugePages_Free: 0 -Node 0 HugePages_Surp: 0 diff --git a/collector/fixtures/sys/devices/system/node/node0/numastat b/collector/fixtures/sys/devices/system/node/node0/numastat deleted file mode 100644 index c17b6426..00000000 --- a/collector/fixtures/sys/devices/system/node/node0/numastat +++ /dev/null @@ -1,6 +0,0 @@ -numa_hit 193460335812 -numa_miss 12624528 -numa_foreign 59858623300 -interleave_hit 57146 -local_node 193454780853 -other_node 18179487 diff --git a/collector/fixtures/sys/devices/system/node/node1/meminfo b/collector/fixtures/sys/devices/system/node/node1/meminfo deleted file mode 100644 index fb1dd670..00000000 --- a/collector/fixtures/sys/devices/system/node/node1/meminfo +++ /dev/null @@ -1,30 +0,0 @@ - -Node 1 MemTotal: 134217728 kB -Node 1 MemFree: 39634788 kB -Node 1 MemUsed: 94582940 kB -Node 1 Active: 5604496 kB -Node 1 Inactive: 71450592 kB -Node 1 Active(anon): 590464 kB -Node 1 Inactive(anon): 285088 kB -Node 1 Active(file): 5014032 kB -Node 1 Inactive(file): 71165504 kB -Node 1 Unevictable: 0 kB -Node 1 Mlocked: 0 kB -Node 1 Dirty: 120 kB -Node 1 Writeback: 0 kB -Node 1 FilePages: 83579188 kB -Node 1 Mapped: 864112 kB -Node 1 AnonPages: 671932 kB -Node 1 Shmem: 87580 kB -Node 1 KernelStack: 31104 kB -Node 1 PageTables: 124272 kB -Node 1 NFS_Unstable: 0 kB -Node 1 Bounce: 0 kB -Node 1 WritebackTmp: 0 kB -Node 1 Slab: 7020716 kB -Node 1 SReclaimable: 4614084 kB -Node 1 SUnreclaim: 2406632 kB -Node 1 AnonHugePages: 90112 kB -Node 1 HugePages_Total: 0 -Node 1 HugePages_Free: 0 -Node 1 HugePages_Surp: 0 diff --git a/collector/fixtures/sys/devices/system/node/node1/numastat b/collector/fixtures/sys/devices/system/node/node1/numastat deleted file mode 100644 index 3187db14..00000000 --- a/collector/fixtures/sys/devices/system/node/node1/numastat +++ /dev/null @@ -1,6 +0,0 @@ -numa_hit 326720946761 -numa_miss 59858626709 -numa_foreign 12624528 -interleave_hit 57286 -local_node 326719046550 -other_node 59860526920 diff --git a/collector/fixtures/sys/fs/xfs/sda1/stats/stats b/collector/fixtures/sys/fs/xfs/sda1/stats/stats deleted file mode 100644 index d5c04d9e..00000000 --- a/collector/fixtures/sys/fs/xfs/sda1/stats/stats +++ /dev/null @@ -1,24 +0,0 @@ -extent_alloc 1 872 0 0 -abt 0 0 0 0 -blk_map 61 29 1 1 1 91 0 -bmbt 0 0 0 0 -dir 3 2 1 52 -trans 4 40 0 -ig 5 1 0 4 0 0 1 -log 8 21 0 5821 4 -push_ail 44 0 1102 15 0 2 0 2 0 2 -xstrat 1 0 -rw 28 0 -attr 0 0 0 0 -icluster 2 2 2 -vnodes 4 0 0 0 1 1 1 0 -buf 22 25 14 0 0 8 0 8 8 -abtb2 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 -abtc2 2 1 1 1 0 0 0 0 0 0 0 0 0 0 0 -bmbt2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -ibt2 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 -fibt2 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 -rmapbt 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -qm 0 0 0 0 0 0 0 0 -xpc 3571712 3568056 0 -debug 0 diff --git a/collector/fixtures/sys/kernel/mm/ksm/full_scans b/collector/fixtures/sys/kernel/mm/ksm/full_scans deleted file mode 100644 index 3860ed91..00000000 --- a/collector/fixtures/sys/kernel/mm/ksm/full_scans +++ /dev/null @@ -1 +0,0 @@ -323 diff --git a/collector/fixtures/sys/kernel/mm/ksm/merge_across_nodes b/collector/fixtures/sys/kernel/mm/ksm/merge_across_nodes deleted file mode 100644 index d00491fd..00000000 --- a/collector/fixtures/sys/kernel/mm/ksm/merge_across_nodes +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/collector/fixtures/sys/kernel/mm/ksm/pages_shared b/collector/fixtures/sys/kernel/mm/ksm/pages_shared deleted file mode 100644 index d00491fd..00000000 --- a/collector/fixtures/sys/kernel/mm/ksm/pages_shared +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/collector/fixtures/sys/kernel/mm/ksm/pages_sharing b/collector/fixtures/sys/kernel/mm/ksm/pages_sharing deleted file mode 100644 index ace9d036..00000000 --- a/collector/fixtures/sys/kernel/mm/ksm/pages_sharing +++ /dev/null @@ -1 +0,0 @@ -255 diff --git a/collector/fixtures/sys/kernel/mm/ksm/pages_to_scan b/collector/fixtures/sys/kernel/mm/ksm/pages_to_scan deleted file mode 100644 index 29d6383b..00000000 --- a/collector/fixtures/sys/kernel/mm/ksm/pages_to_scan +++ /dev/null @@ -1 +0,0 @@ -100 diff --git a/collector/fixtures/sys/kernel/mm/ksm/pages_unshared b/collector/fixtures/sys/kernel/mm/ksm/pages_unshared deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/kernel/mm/ksm/pages_unshared +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/kernel/mm/ksm/pages_volatile b/collector/fixtures/sys/kernel/mm/ksm/pages_volatile deleted file mode 100644 index 573541ac..00000000 --- a/collector/fixtures/sys/kernel/mm/ksm/pages_volatile +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/collector/fixtures/sys/kernel/mm/ksm/run b/collector/fixtures/sys/kernel/mm/ksm/run deleted file mode 100644 index d00491fd..00000000 --- a/collector/fixtures/sys/kernel/mm/ksm/run +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/collector/fixtures/sys/kernel/mm/ksm/sleep_millisecs b/collector/fixtures/sys/kernel/mm/ksm/sleep_millisecs deleted file mode 100644 index 209e3ef4..00000000 --- a/collector/fixtures/sys/kernel/mm/ksm/sleep_millisecs +++ /dev/null @@ -1 +0,0 @@ -20 diff --git a/end-to-end-test.sh b/end-to-end-test.sh index 49e6442f..a9d6949b 100755 --- a/end-to-end-test.sh +++ b/end-to-end-test.sh @@ -4,6 +4,7 @@ set -euf -o pipefail collectors=$(cat << COLLECTORS arp + bcache buddyinfo conntrack cpu diff --git a/node_exporter.go b/node_exporter.go index f5ef01e5..e8b53765 100644 --- a/node_exporter.go +++ b/node_exporter.go @@ -32,7 +32,7 @@ import ( ) const ( - defaultCollectors = "arp,conntrack,cpu,diskstats,entropy,edac,exec,filefd,filesystem,hwmon,infiniband,loadavg,mdadm,meminfo,netdev,netstat,sockstat,stat,textfile,time,uname,vmstat,wifi,xfs,zfs" + defaultCollectors = "arp,bcache,conntrack,cpu,diskstats,entropy,edac,exec,filefd,filesystem,hwmon,infiniband,loadavg,mdadm,meminfo,netdev,netstat,sockstat,stat,textfile,time,uname,vmstat,wifi,xfs,zfs" ) var ( diff --git a/ttar b/ttar new file mode 100755 index 00000000..c3472c1b --- /dev/null +++ b/ttar @@ -0,0 +1,266 @@ +#!/usr/bin/env bash +# Purpose: plain text tar format +# Limitations: - only suitable for text files, directories, and symlinks +# - stores only filename, content, and mode +# - not designed for untrusted input + +# Note: must work with bash version 3.2 (macOS) + +set -o errexit -o nounset + +# Sanitize environment (for instance, standard sorting of glob matches) +export LC_ALL=C + +path="" +CMD="" +ARG_STRING="$@" + +function usage { + bname=$(basename "$0") + cat << USAGE +Usage: $bname [-C ] -c -f (create archive) + $bname -t -f (list archive contents) + $bname [-C ] -x -f (extract archive) + +Options: + -C (change directory) + +Example: Change to sysfs directory, create ttar file from fixtures directory + $bname -C sysfs -c -f sysfs/fixtures.ttar fixtures/ +USAGE +exit "$1" +} + +function vecho { + if [ "${VERBOSE:-}" == "yes" ]; then + echo >&7 "$@" + fi +} + +function set_cmd { + if [ -n "$CMD" ]; then + echo "ERROR: more than one command given" + echo + usage 2 + fi + CMD=$1 +} + +while getopts :cf:htxvC: opt; do + case $opt in + c) + set_cmd "create" + ;; + f) + ARCHIVE=$OPTARG + ;; + h) + usage 0 + ;; + t) + set_cmd "list" + ;; + x) + set_cmd "extract" + ;; + v) + VERBOSE=yes + exec 7>&1 + ;; + C) + CDIR=$OPTARG + ;; + *) + echo >&2 "ERROR: invalid option -$OPTARG" + echo + usage 1 + ;; + esac +done + +# Remove processed options from arguments +shift $(( OPTIND - 1 )); + +if [ "${CMD:-}" == "" ]; then + echo >&2 "ERROR: no command given" + echo + usage 1 +elif [ "${ARCHIVE:-}" == "" ]; then + echo >&2 "ERROR: no archive name given" + echo + usage 1 +fi + +function list { + local path="" + local size=0 + local line_no=0 + local ttar_file=$1 + if [ -n "${2:-}" ]; then + echo >&2 "ERROR: too many arguments." + echo + usage 1 + fi + if [ ! -e "$ttar_file" ]; then + echo >&2 "ERROR: file not found ($ttar_file)" + echo + usage 1 + fi + while read -r line; do + line_no=$(( line_no + 1 )) + if [ $size -gt 0 ]; then + size=$(( size - 1 )) + continue + fi + if [[ $line =~ ^Path:\ (.*)$ ]]; then + path=${BASH_REMATCH[1]} + elif [[ $line =~ ^Lines:\ (.*)$ ]]; then + size=${BASH_REMATCH[1]} + echo "$path" + elif [[ $line =~ ^Directory:\ (.*)$ ]]; then + path=${BASH_REMATCH[1]} + echo "$path/" + elif [[ $line =~ ^SymlinkTo:\ (.*)$ ]]; then + echo "$path -> ${BASH_REMATCH[1]}" + fi + done < "$ttar_file" +} + +function extract { + local path="" + local size=0 + local line_no=0 + local ttar_file=$1 + if [ -n "${2:-}" ]; then + echo >&2 "ERROR: too many arguments." + echo + usage 1 + fi + if [ ! -e "$ttar_file" ]; then + echo >&2 "ERROR: file not found ($ttar_file)" + echo + usage 1 + fi + while IFS= read -r line; do + line_no=$(( line_no + 1 )) + if [ "$size" -gt 0 ]; then + echo "$line" >> "$path" + size=$(( size - 1 )) + continue + fi + if [[ $line =~ ^Path:\ (.*)$ ]]; then + path=${BASH_REMATCH[1]} + if [ -e "$path" ] || [ -L "$path" ]; then + rm "$path" + fi + elif [[ $line =~ ^Lines:\ (.*)$ ]]; then + size=${BASH_REMATCH[1]} + # Create file even if it is zero-length. + touch "$path" + vecho " $path" + elif [[ $line =~ ^Mode:\ (.*)$ ]]; then + mode=${BASH_REMATCH[1]} + chmod "$mode" "$path" + vecho "$mode" + elif [[ $line =~ ^Directory:\ (.*)$ ]]; then + path=${BASH_REMATCH[1]} + mkdir -p "$path" + vecho " $path/" + elif [[ $line =~ ^SymlinkTo:\ (.*)$ ]]; then + ln -s "${BASH_REMATCH[1]}" "$path" + vecho " $path -> ${BASH_REMATCH[1]}" + elif [[ $line =~ ^# ]]; then + # Ignore comments between files + continue + else + echo >&2 "ERROR: Unknown keyword on line $line_no: $line" + exit 1 + fi + done < "$ttar_file" +} + +function div { + echo "# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" \ + "- - - - - -" +} + +function get_mode { + local mfile=$1 + if [ -z "${STAT_OPTION:-}" ]; then + if stat -c '%a' "$mfile" >/dev/null 2>&1; then + STAT_OPTION='-c' + STAT_FORMAT='%a' + else + STAT_OPTION='-f' + STAT_FORMAT='%A' + fi + fi + stat "${STAT_OPTION}" "${STAT_FORMAT}" "$mfile" +} + +function _create { + shopt -s nullglob + local mode + while (( "$#" )); do + file=$1 + if [ -L "$file" ]; then + echo "Path: $file" + symlinkTo=$(readlink "$file") + echo "SymlinkTo: $symlinkTo" + vecho " $file -> $symlinkTo" + div + elif [ -d "$file" ]; then + # Strip trailing slash (if there is one) + file=${file%/} + echo "Directory: $file" + mode=$(get_mode "$file") + echo "Mode: $mode" + vecho "$mode $file/" + div + # Find all files and dirs, including hidden/dot files + for x in "$file/"{*,.[^.]*}; do + _create "$x" + done + elif [ -f "$file" ]; then + echo "Path: $file" + lines=$(wc -l "$file"|awk '{print $1}') + echo "Lines: $lines" + cat "$file" + mode=$(get_mode "$file") + echo "Mode: $mode" + vecho "$mode $file" + div + else + echo >&2 "ERROR: file not found ($file in $(pwd))" + exit 2 + fi + shift + done +} + +function create { + ttar_file=$1 + shift + if [ -z "${1:-}" ]; then + echo >&2 "ERROR: missing arguments." + echo + usage 1 + fi + if [ -e "$ttar_file" ]; then + rm "$ttar_file" + fi + exec > "$ttar_file" + echo "# Archive created by ttar $ARG_STRING" + _create "$@" +} + +if [ -n "${CDIR:-}" ]; then + if [[ "$ARCHIVE" != /* ]]; then + # Relative path: preserve the archive's location before changing + # directory + ARCHIVE="$(pwd)/$ARCHIVE" + fi + cd "$CDIR" +fi + +"$CMD" "$ARCHIVE" "$@"