Commit Graph

32 Commits

Author SHA1 Message Date
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
Jamie Cameron
59228089b6 Factor out CPU usage function 2017-11-27 13:34:37 -08:00
Jamie Cameron
305899c6d2 Move CPU temps function to proc module 2017-11-27 13:18:53 -08:00
Jamie Cameron
438e95e616 ps V output may not include the word version https://sourceforge.net/p/webadmin/bugs/4683/ 2015-12-01 15:09:38 -08:00
Jamie Cameron
c378e60ec7 Show process sizes using sensible units https://github.com/webmin/webmin/issues/202 2015-04-13 22:34:02 -07:00
Jamie Cameron
f92fbe8bc0 Fail if fuser is missing 2014-07-30 19:44:23 -07:00
Jamie Cameron
25303ca2c5 Properly handle case where burstable and real limit are the same http://www.virtualmin.com/node/29522 2013-08-21 11:27:00 -07:00
Jamie Cameron
6ed31c6d1c Handle multiple privvmpages lines https://sourceforge.net/p/webadmin/bugs/4241/ 2013-08-19 10:28:19 -07:00
Jamie Cameron
51db7fb3c5 Collect burst limit 2013-06-27 17:59:49 -07:00
Jamie Cameron
fd2ee6c1ff Use memory used from free rather than beancounters https://sourceforge.net/p/webadmin/bugs/4247/ 2013-05-24 10:38:37 -07:00
Jamie Cameron
a7b7a80eab Use real page size instead of guessing 2013-05-22 15:58:00 -07:00
Jamie Cameron
f873959e57 Don't believe beancounters if higher than 1 TB of RAM https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3613423&group_id=17457 2013-05-17 16:13:57 -07:00
Jamie Cameron
6d2bf46025 Include cached memory in proc response 2013-04-18 13:48:16 -07:00
Jamie Cameron
7a62e6a0ce Handle spaces at start of beancounters line 2013-03-03 22:22:50 -08:00
Jamie Cameron
5fdad592ca Don't call 'ps V' over and over again 2011-09-26 21:09:03 -07:00
Jamie Cameron
5cee0a3985 Allow wildcards when searching for processes using files
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3354129&group_id=17457
2011-07-05 12:05:49 -07:00
Jamie Cameron
6176658965 Quotemeta params, suppress stderr 2011-04-11 10:21:22 -07:00
Jamie Cameron
e41225e65a Don't set CPU info if not available 2010-04-02 10:42:58 -07:00
Jamie Cameron
8763d10f7a Increase ps columns to 2048 2009-12-08 16:46:57 -08:00
Jamie Cameron
9dbd5db2c9 Fix permissions 2009-07-20 23:42:32 -07:00
Jamie Cameron
cbf05d7ece Fields to change IO class and priority 2008-06-08 22:00:51 +00:00
Jamie Cameron
c9d9f426f2 ui-lib.pl re-write 2007-12-28 01:21:11 +00:00
Jamie Cameron
fc1c1b243f Initial checkin of Webmin 2007-04-12 20:24:50 +00:00