Alastair Poole
5fa570c123
fbsd: dfly misssed
2020-10-08 13:43:02 +01:00
Alastair Poole
4d5baa6498
temps...freeebsd....
2020-10-08 13:20:43 +01:00
Alastair Poole
64050fc9c0
temps: try this
2020-10-08 12:54:33 +01:00
Alastair Poole
6c39ea11e8
sensors: FreeBSD
...
I don't think you can support more than this atm on this OS..atm.
2020-10-06 11:10:02 +01:00
Alastair Poole
2f48f828f3
sensors: sense.
2020-10-05 14:52:00 +01:00
Alastair Poole
9fc5b94d6a
sensors: Use hwmon interface for thermal.
...
Should work...
2020-10-05 12:18:26 +01:00
Alastair Poole
b04cde56b8
ui: options kthreads check.
2020-10-03 14:19:29 +01:00
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..
2020-10-03 11:35:36 +01:00
Alastair Poole
26169009d5
proc: show kernel threads by default...
...
Not showing them puts doubt...it also means having to explain to
a user somewhere how to turn it on...OpenBSD doesnt have this..
Linux does, FreeBSD does...macOS probably does but you'd need to
buy a permit and then sign it in blood...
2020-09-10 00:49:32 +01:00
Alastair Poole
64a9085e3e
clang: shhhh
2020-09-07 15:42:39 +01:00
Alastair Poole
60282d7076
cpu: colorz
2020-09-07 14:39:29 +01:00
Alastair Poole
af63cd9ce6
cpu...leeenooks
2020-09-07 12:50:32 +01:00
Alastair Poole
43a4122893
cpu: cpufreq fallback (oops).
2020-09-06 21:40:39 +01:00
Alastair Poole
779af23183
linux: current cpu freq.
...
Not sure if there is a 3rd fallback...
2020-09-06 14:09:28 +01:00
Alastair Poole
0781f707d5
cpu: basic freq.
2020-09-06 13:23:08 +01:00
Alastair Poole
9803a904ea
battery: Fix Linux typo.
...
Remember to check on Linux before doing a release you spazz!!!
2020-08-23 17:56:48 +01:00
Alastair Poole
604c4040c6
process: start time (macOS).
...
As usual, ever-changing...What a shame if they would drop this OS
midway through all these changes towards some vision.
Dear Apple, finish what you have begun...too many wasted man hours
bodging all the changes you make between releases (major and minor).
2020-08-16 15:07:00 +01:00
Alastair Poole
cf9d6dd95c
process: start time (linux)
2020-08-16 14:56:50 +01:00
Alastair Poole
71aae93dc3
process: start time (OpenBSD).
2020-08-16 14:56:27 +01:00
Alastair Poole
a76e5b54e6
process: Start time.
...
We need this for something :)
2020-08-16 13:49:06 +01:00
Alastair Poole
7293df18b0
proc: Document reason behind weird division.
...
Maybe need to relook at this at a later date...for now it's okay
2020-08-13 13:36:51 +01:00
Alastair Poole
e96a614c15
macos: missed one.
2020-08-12 11:03:19 +01:00
Alastair Poole
50e31b32ab
ppid: linux...prepare 0.5.3...
2020-08-11 12:21:40 +01:00
Alastair Poole
3ef00ca584
PPID: ppid macos
2020-08-11 12:00:02 +01:00
Alastair Poole
afb6428e2d
PPID: ppid openbsd.
2020-08-11 12:54:06 +01:00
Alastair Poole
7e358de2b3
ppid: PPID fbsd.
2020-08-11 11:49:49 +01:00
Alastair Poole
d4d94c97c2
process.h: Minimal document of kthreads_show/hide.
2020-08-01 11:37:26 +01:00
Alastair Poole
305ba225e4
processes: Allow toggle of kernel threads.
2020-07-31 19:13:23 +01:00
Alastair Poole
e1874496fd
process: macos process address space...
...
This comment's origin could be disputable it's from libtop.c
from macOS top command. There is very little external documentation
for these things. As time goes on it gets worse....
2020-07-26 22:48:52 +01:00
Alastair Poole
3c62339c07
formatting: some spaces.
2020-07-12 22:56:36 +01:00
Alastair Poole
3ceaad0afd
machine: ifdef chopping and splicing functions.
...
This stuff is bad...where did i learn to be doing such things.
2020-07-11 18:34:49 +01:00
Alastair Poole
fe30a5a72f
machine: ifdef chopping within functions.
...
I don't belive in ifdef blocks within a single function. Ideally
keep the blocks separate at worst. I think if this is necessary
at the time it's permissible but overall it's fucking ugly.
2020-07-11 18:30:23 +01:00
Alastair Poole
c0c26ff882
machine: linux battery model/vendor purge
...
If enough people complain i'll bring this back, but for now keep
it simple until i can test it again properly...it works but
it's horrible
2020-07-11 18:24:30 +01:00
Alastair Poole
aa1822c212
machine: ahead of the game...
...
Meh, we can't yet query by type.
2020-07-11 18:48:13 +01:00
Alastair Poole
d1d4d0fb9e
openbsd: fix for non-acpi batteries
2020-07-11 17:23:34 +01:00
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.
2020-07-11 13:09:38 +01:00
Alastair Poole
b018c8a3f7
machine: tidy declaration
2020-07-11 02:04:48 +01:00
Alastair Poole
9178cbc0d3
cosmetics: if, for, while, wtf
2020-07-10 19:12:30 +01:00
Alastair Poole
ff4a80bd87
network: handle multiple addresses on same interface.
2020-07-10 15:04:06 +01:00
Alastair Poole
3c2b50adea
typo
2020-07-10 12:00:03 +01:00
Alastair Poole
c0f6d74903
Add Copyright.
2020-07-10 11:58:09 +01:00
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.
2020-07-10 11:50:49 +01:00
Alastair Poole
05cfc11cf5
machine: unnused
2020-07-10 10:50:35 +01:00
Alastair Poole
9e62816cdc
macros: MEMSZ macro.
2020-07-09 23:39:15 +01:00
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!!!
2020-07-09 22:13:25 +01:00
Alastair Poole
554eae2965
proc: cast linux.
2020-07-09 21:37:34 +01:00
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...
2020-07-09 20:23:14 +01:00
Alastair Poole
a46f2718ca
machine: simple macros to cast.
2020-07-09 16:59:05 +01:00
Alastair Poole
35323ea227
evisum: Traditional
...
Make the UI simpler. Give everything a window. It's not clever
to only allow one action at a time. I think it seemed cool
because every other environment is simplifying the interface.
I don't really agree with this. Also some "tabs" don't
currently justify having the whole window.
hashtag **** it!
2020-06-28 20:02:07 +01:00
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
ce200bf65f
filesystems: fix naming
2020-06-17 23:04:52 +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
b1d6b691a5
eina: remove unneeded _list_free part 2.
2020-06-11 12:53:45 +01:00
Alastair Poole
5bfb60cbd6
build: Fix on OpenBSD.
2020-06-11 11:57:19 +01:00
Alastair Poole
73a5305dde
machine: read rpi3/4 cpu core temperature.
2020-06-08 14:05:16 +01:00
Alastair Poole
cc4e50fb3e
filesystem: Linux again diverges from the pack.
...
As we are aiming to suport the other OS, we will treat
Linux as the exception as with memory use.
Linux uses /proc/mounts for all this however BSD/macOS use a
single struct and system call. The argument might be the
expense of the syscall, but for our purposes and sanity use
the greatest common demoninator again. Sorry Linux...
Seems procfs isn't going to scale very well in the future, am
not looking forward to what they use next...
2020-06-08 12:20:55 +01:00
Alastair Poole
68f5c3fcbf
macos/openbsd: fs type name
2020-06-08 11:25:36 +01:00
Alastair Poole
ed267ba555
fbsd: fs type name.
2020-06-08 11:23:12 +01:00
Alastair Poole
86d7f2adda
ui: crude listing of fs type.
2020-06-08 11:07:07 +01:00
Alastair Poole
b8e8164f85
ZFS: Changes.
2020-06-08 10:39:43 +01:00
Alastair Poole
f5e8d5e6de
disk: fix linux build
2020-06-08 01:24:30 +01:00
Alastair Poole
a209120b96
disks: eina_list_free non needed.
2020-06-08 01:16:57 +01:00
Alastair Poole
2a90bc465e
disks: small refactor
2020-06-08 01:05:30 +01:00
Alastair Poole
4542ad10db
fs: dont expose magic
2020-06-07 21:46:51 +01:00
Alastair Poole
dbf3f10194
filesystem: add initial fs info api.
2020-06-07 20:00:43 +01:00
Alastair Poole
04ea3ddce8
space: for the future.
2020-06-07 14:39:13 +01:00
Alastair Poole
702f650603
freebsd: include zfs abomination if in use.
2020-06-07 12:57:27 +01:00
Alastair Poole
4dc7109ce9
disks: abstract disks.
...
We need to be able to know which maniac is using ZFS or some other
weird filesystem that is going to munch as much RAM as possible
before we report it as used...
fs type is useful too...will need a mapping to the super block
magic listing.
2020-06-07 12:17:03 +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
1bb13bdfa6
style: nothing of any significance.
2020-05-31 18:43:16 +01:00
Alastair Poole
162e6b7a41
style: improve indentation (function params).
2020-05-23 13:51:26 +01:00