Warning, /plasma/ksystemstats/tools/kstatsviewer/README.md is written in an unsupported language. File is not indexed.
0001 This executable subscribes to a few sensors and prints out sensor values. 0002 0003 It deliberately uses the native DBus API so we can test parts individually. 0004 0005 0006 ## Listing Available Sensors 0007 0008 To see all of the available sensors (unsorted), use the `--list` option. 0009 This will print each sensor's Id and a human-readable name. 0010 0011 ``` 0012 kstatsviewer --list 0013 ``` 0014 0015 0016 ## Showing Sensor Data 0017 0018 To subscribe to specific sensors, list the Ids of the sensors on the 0019 command-line. The command-line flag `--details` will also display the 0020 details (range, units, etc.) about each of the sensors. The command-line 0021 flag `--remain` turns on the *rolling* display and will not exit, but 0022 continue to print sensor values as they update (e.g. about once a second). 0023 0024 ``` 0025 kstatsviewer cpu/cpu0/usage 0026 kstatsviewer --details cpu/cpu0/usage 0027 kstatsviewer --remain cpu/cpu0/usage memory/physical/free 0028 ``` 0029 0030 <!-- 0031 SPDX-FileCopyrightText: 2020 David Edmundson <davidedmundson@kde.org> 0032 SPDX-License-Identifier: BSD-3-Clause 0033 -->