From 9b3da83356f3dcbe3830121a9180b9cfc12e3b15 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Mon, 16 May 2022 14:03:07 +0200 Subject: [PATCH] Added KB page about sensors and temperature checking --- .../check the temperature of components.md | 19 +++++++++++ knowledge base/lm-sensors.md | 33 +++++++++++++++++++ knowledge base/nvme-cli.md | 20 +++++++++++ 3 files changed, 72 insertions(+) create mode 100644 knowledge base/check the temperature of components.md create mode 100644 knowledge base/lm-sensors.md create mode 100644 knowledge base/nvme-cli.md diff --git a/knowledge base/check the temperature of components.md b/knowledge base/check the temperature of components.md new file mode 100644 index 0000000..aa278fd --- /dev/null +++ b/knowledge base/check the temperature of components.md @@ -0,0 +1,19 @@ +# Check the temperature of components + +See [lm-sensors], [hddtemp] or [nvme-cli]. + +## Further readings + +- [LM sensors] +- [Hddtemp] +- [nvme-cli] + +## Sources + +- [How to check CPU temperature on Ubuntu Linux] + +[hddtemp]: hddtemp.md +[lm-sensors]: lm-sensors.md +[nvme-cli]: nvme-cli.md + +[how to check cpu temperature on ubuntu linux]: https://www.cyberciti.biz/faq/how-to-check-cpu-temperature-on-ubuntu-linux/ diff --git a/knowledge base/lm-sensors.md b/knowledge base/lm-sensors.md new file mode 100644 index 0000000..049e47a --- /dev/null +++ b/knowledge base/lm-sensors.md @@ -0,0 +1,33 @@ +# LM-sensors + +## TL;DR + +```sh +# Install. +sudo dnf install lm_sensors + +# Detect and generate a list of kernel modules. +# Needs to be executed prior of the next commands. +sudo sensors-detect + +# Show the current readings of all sensors. +sensors + +# Display sensor information in raw output. +# Suitable for parsing. +sensors -u + +# Show temperatures in degrees Fahrenheit. +sensors -f +sensors --fahrenheit +``` + +## Sources + +- [cheat.sh] +- [archlinux wiki] +- [How to Install lm Sensors on Linux] + +[archlinux wiki]: https://wiki.archlinux.org/title/lm_sensors +[cheat.sh]: https://cheat.sh/sensors +[how to install lm sensors on linux]: https://linoxide.com/install-lm-sensors-linux/ diff --git a/knowledge base/nvme-cli.md b/knowledge base/nvme-cli.md new file mode 100644 index 0000000..c019813 --- /dev/null +++ b/knowledge base/nvme-cli.md @@ -0,0 +1,20 @@ +# Nvme-cli + +## TL;DR + +```sh +# Installation. +sudo apt install nvme-cli + +# List available devices. +sudo nvme list + +# Show data about devices. +sudo nvme smart-log /dev/nvme0 +``` + +## Sources + +- [How to check CPU temperature on Ubuntu Linux] + +[how to check cpu temperature on ubuntu linux]: https://www.cyberciti.biz/faq/how-to-check-cpu-temperature-on-ubuntu-linux/