72 Commits

Author SHA1 Message Date
Ilia Ross
74f879dc2b Fix to move sub to Linux lib
https://github.com/webmin/webmin/pull/2589#discussion_r2539675817
2025-11-18 23:16:10 +02:00
Ilia Ross
e6e79a7eb5 Fix to replace vmstat with /proc sampler for same output with much lower overhead 2025-10-01 18:35:20 +03:00
Ilia Ross
86968bfc31 Fix support for other Raspberry Pi sensors #2545 2025-09-29 18:23:10 +03:00
Ilia Ross
a73210adc9 Fix to show FAN even if RPM is zero 2025-09-06 18:51:36 +03:00
Ilia Ross
1453508592 Add support for Raspberry Pi sensors #2539 #2517 2025-09-06 00:44:10 +03:00
Ilia Ross
35455f04e6 Fix comment 2025-09-05 18:16:16 +03:00
Ilia Ross
afa9e9bd38 Fix to rethink what CPU fan is #2517
[no-build]
2025-07-24 22:50:18 +03:00
Ilia Ross
1c991f9635 Add check if some IOs related functions supported 2024-11-12 01:05:19 +02:00
Ilia Ross
fae522a28e Add support for another AMD CPU #2140 [build] 2024-04-30 15:51:16 +03:00
Ilia Ross
01a10d1f08 Fix collecting CPU fan data
https://forum.virtualmin.com/t/show-cpu-fan-speed-on-dashboard/125292
2024-03-03 21:52:22 +02:00
Ilia Ross
a85fa2f8c2 Fix Cortex CPU detection in sensors output
https://forum.virtualmin.com/t/cpu-temp-id-missing-dashboard/123096
[build]
2023-10-19 20:35:57 +03:00
Jamie Cameron
94f23e63e7 Hide ps command in output 2023-08-31 22:44:44 -07:00
iliajie
682399997f Fix to skip CPU IO in initial load 2023-03-04 20:20:49 +02:00
iliajie
f126fc3133 Fix to exclude sensors with unknown temperatures 2022-10-02 19:50:11 +03:00
iliajie
2eded6df95 Revert "Fix to exclude sensors with unknown temperatures"
This reverts commit f596d064b4.
2022-10-02 19:48:59 +03:00
iliajie
f596d064b4 Fix to exclude sensors with unknown temperatures 2022-10-02 19:48:16 +03:00
iliajie
cf5568ea1d Add support for AMD CPU thermisters #1714 2022-08-13 20:45:54 +03:00
Maykol
0196d33f7e Fix sensors fans information not saved in some cases 2022-05-07 13:18:03 +02:00
Jamie Cameron
cc0c4c6e49 RSS is a better measure of size than VSS 2022-04-04 21:45:02 -07:00
Ilia Rostovtsev
0a3f8985d0 Fix regex for CPU temp https://github.com/webmin/webmin/issues/1552#issuecomment-985504912 2021-12-03 21:58:16 +03:00
Ilia Rostovtsev
a18bf52ce0 Extract ASUS like motherboards CPU fans and temp data
https://sourceforge.net/p/webadmin/discussion/600155/thread/1b4ee640c6/
2021-11-29 19:48:35 +03:00
Ilia Rostovtsev
1e0cfa5b23 Fix to prioritize CPU package core temperature over motherboard sensor 2021-11-28 22:17:54 +03:00
Ilia Rostovtsev
dbe2aba0eb Add support for displaying CPU fans on the Dashboard 2021-11-17 23:21:20 +03:00
Ilia Rostovtsev
d10e122cea Fix core count start with zero https://github.com/webmin/webmin/issues/1484#issuecomment-867139310 2021-06-23 23:38:47 +03:00
Ilia Rostovtsev
76591fab0a Fix to the prev commit 68674ed355 for #1484 2021-06-23 22:53:15 +03:00
Ilia Rostovtsev
68674ed355 Add CPU temp for AMD Ryzen Threadripper #1484 2021-06-23 22:37:17 +03:00
Ilia Rostovtsev
939c8eb4fe Fix regex for matching CPU temp https://github.com/webmin/webmin/issues/1484#issuecomment-864450300 2021-06-22 10:57:53 +03:00
Ilia Rostovtsev
7fe97a751f Fix to support more fancy sensor command outputs 2021-05-16 17:11:06 +03:00
Jamie Cameron
4911196fdf Clean up formatting 2021-05-14 19:22:16 -07:00
Ilia Rostovtsev
9463635e74 Add AMD Ryzen temperature based on "die" of the CPU
https://sourceforge.net/p/webadmin/discussion/600155/thread/a9d8fe19c0/?limit=25
2020-11-16 22:22:22 +03:00
Ilia Rostovtsev
1f50a3a4e6 Add more support for strangiest sensors command output
https://sourceforge.net/p/webadmin/discussion/600155/thread/38946ad0d7
2020-10-05 23:16:38 +03:00
Ilia Rostovtsev
eb04469846 Fix to better accommodate different sensors output https://github.com/webmin/webmin/issues/1253 https://github.com/webmin/webmin/issues/1280 https://github.com/authentic-theme/authentic-theme/issues/1481 2020-08-25 23:58:10 +03:00
Ilia Rostovtsev
a2f88e1d1a Fix to accommodate Raspberry Pi sensors output #1280 2020-08-10 22:43:45 +03:00
Ilia Rostovtsev
3fa7141ae7 Fix CPU temp output #1253 https://github.com/authentic-theme/authentic-theme/issues/1481
https://sourceforge.net/p/webadmin/discussion/600155/thread/38946ad0d7/?limit=25#2479
https://github.com/webmin/webmin/issues/1253
2020-07-07 17:28:39 +03:00
Ilia Rostovtsev
e867622895 Fix indentation 2020-06-27 20:16:21 +03:00
Ilia Rostovtsev
50d8f0a527 Adjust to start from 0 as all other outputs 2020-06-27 20:12:02 +03:00
Jamie Cameron
beaef6869b Temp is sometimes shown as temp1: +45.0 C https://github.com/webmin/webmin/issues/1253 2020-06-26 16:50:51 -07:00
Ilia Rostovtsev
c0788e285a Fix when no version found - assume greater than 3.2 2020-05-03 21:51:20 +03:00
Ilia Rostovtsev
613f3a5f41 Fix to handle missing ps version number 2020-05-03 21:47:43 +03:00
Jamie Cameron
a2dc3f7124 Switch all calls to open() to explicitly open for read 2020-03-14 17:20:54 -07:00
Jamie Cameron
1c1f6b4ffb Handle invalid day numbers https://sourceforge.net/p/webadmin/bugs/5311/ 2019-10-25 18:33:14 -07:00
Jamie Cameron
e975c8bd37 Handle unexpected ps time format 00~https://sourceforge.net/p/webadmin/bugs/5311/01~ 2019-10-24 19:40:58 -07:00
Jamie Cameron
d38bb8ed8a Fail gracefully if time isn't in the expected format https://github.com/webmin/webmin/issues/1119 2019-09-29 13:40:36 -07:00
Jamie Cameron
8d04bd2b3f Get CPU model from /proc/device-tree https://sourceforge.net/p/webadmin/bugs/5308/ 2019-09-22 22:48:58 -07:00
Jamie Cameron
e581097113 Show start time nicely formatted https://github.com/authentic-theme/authentic-theme/issues/1387 2019-07-30 23:05:07 -07:00
Jamie Cameron
80510b63f6 fix bogomips regexp 2017-12-24 16:54:35 -08:00
Jamie Cameron
ae50a280b8 Merge pull request #734 from gnadelwartz/patch-2
fix :CPU info is now displayed, even no `cpu mhz` entry is availible in `/proc/cpuinfo`
2017-12-24 16:51:36 -08:00
Kay Marquardt
0b10b7ef38 add BogoMIPS to model name if no cpu mhz availible 2017-12-24 10:46:07 +01:00
Kay Marquardt
71b9136d2c fix displaying processor model on system page
linux `os_get_cpu_info()` returns onyl info about CPU if  CPU speed is found, this leads to displaying no CPU Info at all if  `/proc/cpuinfo` has no info about CPU speed!

Changes this to check for `model name` which is the minimum requeired Info to show CPU Info
2017-12-23 20:07:38 +01:00
Kay Marquardt
387be1d100 try dstat if vmstat is not availible
extends sub `get_cpu_io_usage()` to test if  `vmstat` or `dstat` is availible to get CPU usage.
2017-12-22 23:11:19 +01:00