How to easily configure csensors

Data descriptions

Both csensors-config and csensors-applet need prepared files describing parts of /sys pseudo file-system.

Automatical and semi-automatical configuration

When no data description is seen by csensors-config or csensors-applet, csensors-scan is automatically launched to create some :

$ csensors-scan --rt-detect

This cause csensors-scan to initiate run-time variable detection. Default only :file:/sys/class subdirectories hwmon,power_supply and thermal are examined.

If you wish to add some other /sys/class subdirectories, invoke csensors-scan like:

$ csensors-scan --rt-detect --dir-list=rtc,msr

This command sniffs subdirectories hwmon,power_supply,thermal,rtc and msr under :file:/sys/class for presence of known files. Items rtc and msr are provided here as example how to specify additional directories to search.

To add system load to mimics/parody xload or gtkrelm run :

$ csensors-scan  --rt-detect --add=/proc/loadavg

Without –rt-detect clever script refuses to recognize /proc/loadavg as source of variable.

Checking all generated files for errors and non-senses is very good idea.

Manual configuration

  • Read csensors-data and prepare all required file by your favorite editor.
  • Get data descriptions for your kernel and hardware from : <NO_URL_YET>.

Graph descriptions

Now we are finished with data descriptions, but further configuration steps may be taken.