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
46376bd40b
eina: remove unneeded _list_free
2020-06-11 12:46:50 +01:00
Alastair Poole
aa6f3e5785
ui: one function to save them all.
2020-06-11 12:22:56 +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
83db45e7c6
ui: search hide on resize fix.
...
Hide the container of the entry when resizing
@fix :)
2020-06-07 18:10:17 +01:00
Alastair Poole
4ffe0a1672
ui: don't let button stretch.
2020-06-07 18:05:13 +01:00
Alastair Poole
8ec8a5efda
ui: size format.
2020-06-07 14:43:56 +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
5725b911d7
mem: remove duplicate noise.
2020-06-03 13:54:08 +01:00
Alastair Poole
200d9860a2
misc: t i d y
2020-06-03 13:48:19 +01:00
Alastair Poole
515f4d73f7
cpu: pointless indentation.
...
Sometimes I wonder about myself....
2020-06-03 13:45:29 +01:00
Alastair Poole
2afc25494e
cpu: remove pointless text.
2020-06-03 13:39:45 +01:00
Alastair Poole
0000464723
ui: remove unnecessary lines of code.
...
noise noise noise
2020-06-03 11:22:07 +01:00
Alastair Poole
ceef9ff049
ui: don't use const positions.
2020-06-02 14:28:34 +01:00
Alastair Poole
6af4814590
style: meh meh meh
2020-06-02 13:23:41 +01:00
Alastair Poole
a1d337618d
style: More tidying.
...
...nothing to interest any users at all!
2020-06-02 13:19:08 +01:00
Alastair Poole
bcea8ef753
style: rm tab
2020-05-31 19:46:51 +01:00
Alastair Poole
1bb13bdfa6
style: nothing of any significance.
2020-05-31 18:43:16 +01:00
Alastair Poole
0c98b55787
format: too many spaces.
2020-05-31 18:05:17 +01:00
Alastair Poole
143c613edd
ui: Fix Scaling.
2020-05-28 10:08:03 +01:00
Alastair Poole
933e0ab15a
ui: sizing.
...
Two simple changes that have a *positive* effect on sizing.
Initial sizing and then bogus field sizing bogusly...
2020-05-26 11:39:44 +01:00
Alastair Poole
39593732dc
ui: Remove comments.
...
These aren't even useful. Let's have ZERO comments :)
It shouldn't be too complicated to understand.
2020-05-26 10:32:47 +01:00
Alastair Poole
95f9d63eb9
style: 80 cols where applicable..
2020-05-24 14:41:13 +01:00
Alastair Poole
73c663c660
title: remove evisum from win title.
2020-05-24 13:47:48 +01:00
Alastair Poole
66f6c4eee1
style: Try to respect 80 columns.
...
Whether it should be 80 or 120 I'm not sure. I think i'll go
with the lower denominator as it's more inclusive.
EVAS_ macros need simplified (this might be too simple)...
2020-05-24 13:34:26 +01:00
Alastair Poole
162e6b7a41
style: improve indentation (function params).
2020-05-23 13:51:26 +01:00
Alastair Poole
01be01dd97
proc_view: fix top "tab" buttons
2020-05-20 11:16:07 +01:00
Alastair Poole
252abddf9c
proc_view: padding
2020-05-19 11:20:32 +01:00
Alastair Poole
eb428dc6e5
proc_view: tidy...
2020-05-18 22:31:40 +01:00
Alastair Poole
6b46fcea2a
util: handle ampersand.
2020-05-18 20:54:27 +01:00
Alastair Poole
32ec3cc822
proc_view: fix man page string parse.
2020-05-18 18:48:53 +01:00
Alastair Poole
1532038b5d
process_viewer: improve visual.
2020-05-18 15:52:35 +01:00
Alastair Poole
ed69480619
ui: ffs
2020-05-18 12:31:27 +01:00
Alastair Poole
914f97e086
ui: create a generic cache API.
...
Reduce code duplication, create:
evisum_ui_item_cache_... functions.
2020-05-18 12:16:35 +01:00
Alastair Poole
b88601ba7d
proc_view: don't leak
2020-05-17 22:01:01 +01:00
Alastair Poole
c546e69c03
changes; various.
...
Sorting threads.
Show version.
Fix bugs.
2020-05-17 19:30:00 +01:00
Alastair Poole
0aea127f8e
process_view: Small Changes
2020-05-17 16:33:27 +01:00
Alastair Poole
4964d649e3
process: small changes to process win.
2020-05-17 13:56:21 +01:00
Alastair Poole
1700489973
ui: oops :)
2020-05-16 18:58:43 +01:00
Alastair Poole
67d354cc99
process: remove duplicate function call.
2020-05-16 17:13:31 +01:00
Alastair Poole
27c4d94680
process: When using KERN_PROC_ALL multiply thread cpu times.
2020-05-16 12:26:35 +01:00
Alastair Poole
88d1fe630d
kvm: Reduce levels of indentation.
2020-05-16 12:12:09 +01:00
Alastair Poole
226579933b
FreeBSD: Don't duplicate code.
2020-05-16 11:57:57 +01:00
Alastair Poole
65f77e1793
ui_disk: oops
2020-05-16 00:47:11 +01:00
Alastair Poole
a7d2a01258
OpenBSD: Add TID and name also refactor.
2020-05-16 00:13:18 +01:00
Alastair Poole
e2556687c6
process: Use statm
2020-05-15 23:42:05 +01:00
Alastair Poole
4d4ba4dec2
proc: Improve PID listing for macOS.
...
Improved PID listing. Old as fallback.
2020-05-15 23:00:44 +01:00
Alastair Poole
b50d9b8dc6
FreeBSD: Add TID and name.
2020-05-15 21:27:59 +01:00
Alastair Poole
801e83d990
Linux: Add TID and name.
2020-05-15 21:17:00 +01:00
Alastair Poole
ee290301af
process: Add thread support (OpenBSD).
2020-05-15 16:15:27 +01:00
Alastair Poole
e2234ef643
proc: remove unused vars
2020-05-15 14:31:27 +01:00
Alastair Poole
92e72dfec1
proc: remove duplicate code
2020-05-15 14:27:34 +01:00
Alastair Poole
9ae4eafa13
FreeBSD: Add Support for Thread States
2020-05-15 14:24:38 +01:00
Alastair Poole
444ad6474a
ui_process: Example thread info output.
...
More to be done.
2020-05-15 13:48:59 +01:00
Alastair Poole
121bdd17de
ui_process: remove more duplicate code.
2020-05-14 20:49:31 +01:00
Alastair Poole
b9a1b3c154
ui_process: avoid some code duplication.
2020-05-14 19:21:23 +01:00
Alastair Poole
9360770593
ui: move thread functions.
2020-05-14 18:37:28 +01:00
Alastair Poole
263245eea7
ui_process: make this more responsive.
2020-05-14 17:35:57 +01:00
Alastair Poole
d80d7154d8
ui_process: make "tabs" functional.
2020-05-14 17:08:07 +01:00
Alastair Poole
d1c35e4baa
process_ui: Use correct struct type
2020-05-14 16:38:35 +01:00
Alastair Poole
dad739383c
ui_process: Handle process termination.
2020-05-14 16:30:29 +01:00
Alastair Poole
3f6de6f8ac
proc: fix man page display
2020-05-14 15:30:03 +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
2083660ed6
remove macro test.
2020-05-14 00:30:13 +01:00
Alastair Poole
1794fe0a5f
list: Reduce code duplication.
2020-05-13 23:55:40 +01:00
Alastair Poole
650250b196
ui: rearrangement
2020-05-13 21:55:58 +01:00
Alastair Poole
dd4ab10381
machine: Fix header indent.
2020-05-13 21:13:01 +01:00
Alastair Poole
f54666f98c
evisum: ...
2020-05-13 13:15:58 +01:00
Alastair Poole
46d47d14fa
ui: Scope
2020-05-13 12:29:35 +01:00
Alastair Poole
21236292f8
machine: rename from system.
2020-05-13 12:18:11 +01:00
Alastair Poole
48afb3f04b
ui: Indent
2020-05-13 11:54:22 +01:00
Alastair Poole
d30434c78a
proc: linux simplify
2020-05-13 02:11:10 +01:00
Alastair Poole
cbd7f9c853
evisum: Split the UI out.
...
More to come...
2020-05-13 00:51:30 +01:00
Alastair Poole
f37c4c2daf
ui: improve tabs?
2020-05-12 21:03:36 +01:00