Alastair Poole
8a100e0bbf
machine: add variable CPU poll.
2020-06-24 23:10:50 +01:00
Alastair Poole
f6a279c4a7
LICENSE: List ISC License.
2020-06-24 13:59:10 +01:00
Alastair Poole
18fa8063e1
machine: file_contents
2020-06-20 00:48:15 +01:00
Alastair Poole
0966855f5b
machine: memory use.
...
In line with ActivityMonitor for usage.
Labels need sorting for/by platform. User feedback would be good.
As would users :)
2020-06-18 20:25:50 +01:00
Alastair Poole
ec9773bf15
machine: cast to uint64_t
2020-06-18 20:08:20 +01:00
Alastair Poole
dfc32faee8
Linux: Use sensible sensor name.
2020-06-18 18:37:51 +01:00
Alastair Poole
8d1d9a7aaf
testing: Add testing mechanics.
...
Expose machine.h APIs and introduce code to make testing
very easy.
2020-06-18 15:36:39 +01:00
Alastair Poole
6bd132a6b5
thermal: parse what is good.
2020-06-18 13:36:23 +01:00
Alastair Poole
d9a750e323
AUTHOR: Alastair NOT Alan or Altron or ALDO.
2020-06-18 13:18:53 +01:00
Alastair Poole
cd0bc01101
linux: read sensors (alphasort).
...
Otherwise it's a sh*tshow
2020-06-18 13:11:56 +01:00
Alastair Poole
77516b3a98
openbsd: fix
2020-06-18 12:54:45 +01:00
Alastair Poole
3ed3be21a4
freebsd: fix
2020-06-18 11:47:22 +01:00
Alastair Poole
d5c10b939d
machine: fix index
2020-06-18 12:45:06 +01:00
Alastair Poole
ef961b275a
machine: remove horrible hack
2020-06-18 12:17:11 +01:00
Alastair Poole
8a9146909e
openbsd: clarify sysctl use
2020-06-18 00:39:47 +01:00
Alastair Poole
30dba9499e
machine: Rename
2020-06-17 23:08:44 +01:00
Alastair Poole
461c34fc0d
ui: rename
2020-06-17 22:34:25 +01:00
Alastair Poole
2c552c2625
ui: Move thermal into Misc.
2020-06-17 11:27:36 +01:00
Alastair Poole
00fa1a5467
machine: lindent.
2020-06-16 22:02:01 +01:00
Alastair Poole
b52cc6e717
macos/netbsd: tidy macos and disown netbsd
2020-06-16 21:32:33 +01:00
Alastair Poole
1450752152
machine: Tidy this up, fix leakages.
2020-06-16 20:12:55 +01:00
Alastair Poole
8a5e2704e0
freebsd: thermal here sucks.
...
There are modules for more but it's too much. They should use a
decent API and not put things all over the place/name space.
2020-06-16 17:29:51 +01:00
Alastair Poole
7dd5077692
OpenBSD: Detect thermal zones properly.
2020-06-16 15:21:06 +01:00
Alastair Poole
ab66aa95e8
linux: read as many thermal sensors as we can.
...
As with OpenBSD.
2020-06-16 14:57:09 +01:00
Alastair Poole
2c0ece6008
macos: fix build
2020-06-16 14:39:04 +01:00
Alastair Poole
dcf23687a3
openbsd et al. Support as many sensors we can find.
...
This isn't finished, build broken for Linux and others.
2020-06-16 14:29:06 +01:00
Alastair Poole
384030bade
tz: more precision.
2020-06-15 13:21:34 +01:00
Alastair Poole
0f89e698bb
OpenBSD: Support RPI2/3 and 4 (pending).
...
There is a driver to go along with this. See:
https://haxlab.org/rpi4/bcm2711_temp.diff.txt
2020-06-13 20:54:11 +01:00
Alastair Poole
73a5305dde
machine: read rpi3/4 cpu core temperature.
2020-06-08 14:05:16 +01:00
Alastair Poole
702f650603
freebsd: include zfs abomination if in use.
2020-06-07 12:57:27 +01:00
Alastair Poole
5404906b11
machine: too much indentation.
2020-06-06 12:17:55 +01:00
Alastair Poole
f61e780f0b
bytes: use bytes for everything...
...
Convert Linux memory values to bytes rather than reducing the
granularity of every other OS which reports memory use in
bytes.
The previous method just made everything confusing when it
needn't be.
2020-06-05 15:32:11 +01:00
Alastair Poole
c9a8d114df
style: line length.
2020-06-05 13:04:02 +01:00
Alastair Poole
2114f5dd21
FreeBSD: Fix Memory Display.
...
Peter2121 is right, this is mostly bogus (depending on who you
speak to).
2020-06-05 11:44:54 +01:00
Alastair Poole
162e6b7a41
style: improve indentation (function params).
2020-05-23 13:51:26 +01:00
Alastair Poole
a6d1da406b
ui: Redo Process Panel.
...
Let's create a window per-process instead of the panel.
I want people to learn, let's show the manpage for the process if
one exists.
this is not finished.
2020-05-14 14:43:44 +01:00
Alastair Poole
21236292f8
machine: rename from system.
2020-05-13 12:18:11 +01:00