Alastair Poole
f4abba9a65
machine: remove generic func
3 years ago
Alastair Poole
6cc91568e7
ui: yeh rewrite
3 years ago
Alastair Poole
57ac9fee94
ui: don't waste CPU!!!
3 years ago
Alastair Poole
9fc5b94d6a
sensors: Use hwmon interface for thermal.
...
Should work...
3 years ago
Alastair Poole
45a1eef26f
small tidy: makes editing easier.
...
If someone wants to split each window out or have an idea wtf is
happening this makes more sense...just..
3 years ago
Alastair Poole
09e8249689
machine: Explain use of machine and tidy Linuxisms
...
The functions machine.h provides are deliberately using standard
functions from a base install of the operating system. This IS
intentional. I'd like to be able to modify and reuse this anywhere
without having to untangle additional dependencies from machine to
machine.
3 years ago
Alastair Poole
5c3a3cfe10
machine: Include .bogox files for clarity.
...
To make this maintainable (for now), split the machine querying
code into separate files. I'd like to be able to modify the file
without fear of breaking it here or there. Also, for anyone who
wants to make a change or ammendment doing this is cleaner.
3 years ago
Alastair Poole
9e62816cdc
macros: MEMSZ macro.
3 years ago
Alastair Poole
9ed9bd3bb5
macos: wrong, wrong, wrong.
...
1) test stuff more.
2) Don't have too many SSH sessions open and querying the wrong
machines!!!
3 years ago
Alastair Poole
8f2a25ccfb
macros: underflow, overflow, wombling free....
...
I can see this happening elsewhere, we'll need to use these in
other parts where struct members are of varying signage...
3 years ago
Alastair Poole
a46f2718ca
machine: simple macros to cast.
3 years ago
Alastair Poole
8a100e0bbf
machine: add variable CPU poll.
3 years ago
Alastair Poole
f6a279c4a7
LICENSE: List ISC License.
3 years ago
Alastair Poole
18fa8063e1
machine: file_contents
3 years ago
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 :)
3 years ago
Alastair Poole
ec9773bf15
machine: cast to uint64_t
3 years ago
Alastair Poole
dfc32faee8
Linux: Use sensible sensor name.
3 years ago
Alastair Poole
8d1d9a7aaf
testing: Add testing mechanics.
...
Expose machine.h APIs and introduce code to make testing
very easy.
3 years ago
Alastair Poole
6bd132a6b5
thermal: parse what is good.
3 years ago
Alastair Poole
d9a750e323
AUTHOR: Alastair NOT Alan or Altron or ALDO.
3 years ago
Alastair Poole
cd0bc01101
linux: read sensors (alphasort).
...
Otherwise it's a sh*tshow
3 years ago
Alastair Poole
77516b3a98
openbsd: fix
3 years ago
Alastair Poole
3ed3be21a4
freebsd: fix
3 years ago
Alastair Poole
d5c10b939d
machine: fix index
3 years ago
Alastair Poole
ef961b275a
machine: remove horrible hack
3 years ago
Alastair Poole
8a9146909e
openbsd: clarify sysctl use
3 years ago
Alastair Poole
30dba9499e
machine: Rename
3 years ago
Alastair Poole
461c34fc0d
ui: rename
3 years ago
Alastair Poole
2c552c2625
ui: Move thermal into Misc.
3 years ago
Alastair Poole
00fa1a5467
machine: lindent.
3 years ago
Alastair Poole
b52cc6e717
macos/netbsd: tidy macos and disown netbsd
3 years ago
Alastair Poole
1450752152
machine: Tidy this up, fix leakages.
3 years ago
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.
3 years ago
Alastair Poole
7dd5077692
OpenBSD: Detect thermal zones properly.
3 years ago
Alastair Poole
ab66aa95e8
linux: read as many thermal sensors as we can.
...
As with OpenBSD.
3 years ago
Alastair Poole
2c0ece6008
macos: fix build
3 years ago
Alastair Poole
dcf23687a3
openbsd et al. Support as many sensors we can find.
...
This isn't finished, build broken for Linux and others.
3 years ago
Alastair Poole
384030bade
tz: more precision.
3 years ago
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
3 years ago
Alastair Poole
73a5305dde
machine: read rpi3/4 cpu core temperature.
3 years ago
Alastair Poole
702f650603
freebsd: include zfs abomination if in use.
3 years ago
Alastair Poole
5404906b11
machine: too much indentation.
3 years ago
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.
3 years ago
Alastair Poole
c9a8d114df
style: line length.
3 years ago
Alastair Poole
2114f5dd21
FreeBSD: Fix Memory Display.
...
Peter2121 is right, this is mostly bogus (depending on who you
speak to).
3 years ago
Alastair Poole
162e6b7a41
style: improve indentation (function params).
3 years ago
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.
3 years ago
Alastair Poole
21236292f8
machine: rename from system.
3 years ago
Alastair Poole
cbd7f9c853
evisum: Split the UI out.
...
More to come...
3 years ago
Alastair Poole
41a8e8b7ca
FreeBSD: Fix
3 years ago