Commit Graph

626 Commits

Author SHA1 Message Date
Alastair Poole 860358c3c8 process: processs tree (proc view).
Also add the command line evisum -p <pid> to the IPC.

Not done...WIP.
2020-10-27 03:33:01 +00:00
Alastair Poole 7f05af18d6 evisum: let there be choice
soo...let's create a little ipc server and server the minions
whatever they want. So add CPU and memory and Generic thing to the
application menu (desktop). Means you don't have to load up the
main EXE each time you want only one minor feature. Also use the
same process for all of this so we don't eat up resources and
because we can.
2020-10-27 01:33:20 +00:00
Alastair Poole f6c75c6d93 cpu: add some support for known hw... 2020-10-15 15:09:16 +01:00
Alastair Poole f7a1f913de ui_cpu: transparent bg for core icon id. 2020-10-15 14:02:01 +01:00
Alastair Poole d7d7f39394 cpu: find a pie in the sky. 2020-10-14 18:28:56 +01:00
Alastair Poole ef9a6d5370 frame: remove that rubbish 2020-10-14 14:57:35 +01:00
Alastair Poole 9d9fd500b5 cpu: feel the rainbow 2020-10-14 14:45:55 +01:00
Alastair Poole 5db5da933c cpu: rudimentary order by topology... 2020-10-14 14:02:50 +01:00
Alastair Poole 3ec2144f89 coretemp: take topology into account 2020-10-14 11:32:41 +01:00
Alastair Poole cc9b7e6e7f cpu: add k10 support. 2020-10-13 18:17:08 +01:00
Alastair Poole dbef2fff19 snsrs: Naming 2020-10-12 19:17:36 +01:00
Alastair Poole fac207ae88 ui: too much text 2020-10-12 14:56:27 +01:00
Alastair Poole 485fa82685 ui_cpu: bold 2020-10-12 14:05:10 +01:00
Alastair Poole ed30f27f67 cpu: wtf is all these colours??!!!
If confused, do a slightly expensive explanation.
2020-10-12 13:14:45 +01:00
Alastair Poole a3538e9b43 cpu: coretemp out by one ! 2020-10-11 12:06:41 +01:00
Alastair Poole 856b3acd13 cpu: distinguish between thermal drivers.
Each cpu arch is likely to have varying behaviours, as added, for
each the behaviour needs to be taken into account.

This is Linux only...
2020-10-11 11:26:49 +01:00
Alastair Poole 42ec39aa6c cpu: newline. 2020-10-10 18:18:55 +01:00
Alastair Poole a33baabcc3 ui: stuff. 2020-10-10 14:52:11 +01:00
Alastair Poole 0873f7fa0d ui: cosmetics 2020-10-10 12:18:51 +01:00
Alastair Poole 2575e973a0 cpu: ys i know 2020-10-10 12:15:38 +01:00
Alastair Poole 3525063226 nothing of interest. 2020-10-10 12:03:46 +01:00
Alastair Poole b481435d3d temps: oops. 2020-10-08 13:44:50 +01:00
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 324a619a87 sensors: diss the misc.
Rename...
2020-10-05 16:11:26 +01:00
Alastair Poole 2f48f828f3 sensors: sense. 2020-10-05 14:52:00 +01:00
Alastair Poole 78637e708b main: Differentiate tests.
This saves me a job.
2020-10-05 13:19:24 +01:00
Alastair Poole 9fc5b94d6a sensors: Use hwmon interface for thermal.
Should work...
2020-10-05 12:18:26 +01:00
Alastair Poole 42b9ecadc6 ui: "try" to make things clearer. 2020-10-03 15:44:32 +01:00
Alastair Poole 615239115e misc: remove network.
Network needs more details and also its own window...

Move misc to sensors at some point (namespace)...
2020-10-03 14:46:17 +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 3f9a131554 ui_disk: ignore based on path... 2020-10-03 02:25:18 +01:00
Alastair Poole 417c16d540 ui_cpu: Display all cores regardless.
There is no guarantee first n are always on. Show all. Different
CPU behave differently. Can check flags but for now this will do.
2020-10-02 22:26:53 +01:00
Alastair Poole 167b16c7c1 openbsd: is this a meson or linking?
Have done some looking into this issue. With EFL having issues
on FreeBSD i386 and weak symbols and some comments it seems this
must be a linker issue. I need to read up more so for now, this
workaround remains.
2020-10-02 16:47:39 +01:00
Alastair Poole 6f8973ed12 ui: trim some grim 2020-09-29 23:20:00 +01:00
Alastair Poole 43765a53d3 Revert "ui: dont do this..."
This reverts commit b8efdc0a18.

Use your brain
2020-09-28 20:33:59 +01:00
Alastair Poole b8efdc0a18 ui: dont do this...
Might be wrong but I think manually waiting for threads is not
good practice. I don't remember where I learnt this for EFL but
it doesm't seem to be a good idea, the main loop should handle this?
2020-09-28 15:46:44 +01:00
Alastair Poole 68480f726d disk: update objects dont clear and repopulate.
This was annoying as clearing the box breaks scrolling and is
not great...
2020-09-28 15:02:04 +01:00
Alastair Poole 814e6b9e2f ui: silence EFL warning.
I've no idea which EO API was accessed but using this here has
no effect so remove it.
2020-09-14 23:45:14 +01:00
Alastair Poole 97a92a2ed7 btn: use a rect for min sizing.. 2020-09-14 14:35:17 +01:00
Alastair Poole 12afd7b6c0 disk: remove vbox win resize add.
Bad idea...tested with 10+ mounts...disk UI sucks..i'll get that
done some time...
2020-09-14 01:02:09 +01:00
Alastair Poole de385c6930 ui: last one... 2020-09-14 00:38:28 +01:00
Alastair Poole b7ac3b029b prepare 0.5.5 release...
...remove something stupid
2020-09-13 20:27:51 +01:00
Alastair Poole f34de0be19 ui: do chksum 2020-09-12 16:24:06 +01:00
Alastair Poole 811b57f4aa docs: documentation is important...
This is literally how much programmers like to write docs.

It might avoid a few e-mails too...! :
2020-09-12 15:09:59 +01:00
Alastair Poole 25db250732 openbsd: Add comment in case of urge to change.
Still to figure out wtf is going on here....
2020-09-12 14:56:35 +01:00
Alastair Poole 19f7d5cf0b proc_view: defense 2020-09-12 14:31:01 +01:00
Alastair Poole 8f3a80474a ui: aesthetic 2020-09-12 13:57:53 +01:00
Alastair Poole 059290f075 process_view: make sure happens once at a time...
I think this can potentially run twice on a rare occasion when
first populating and/or sorting maybe... it shouldn't hurt
2020-09-12 13:40:40 +01:00
Alastair Poole df89bb22cc menu: clicky clicky come back.
Let's raise the windows if they already exist so you haven't lost
the thing.
2020-09-12 13:22:23 +01:00
Alastair Poole 9de5536c76 ui: Don't let threads select. 2020-09-11 17:15:34 +01:00
Alastair Poole ee3a09faae util: make sure no spaces when generating manpage. 2020-09-11 14:54:02 +01:00
Alastair Poole 316db18173 ui_util: one image is enough. 2020-09-11 14:14:53 +01:00
Alastair Poole db9b8a73a7 init/shutdown: fix.
Queue a restart. Make config checking less aggressive.
2020-09-11 13:52:50 +01:00
Alastair Poole 3453ed3a10 cpu: Disable the checkbox if we can't poll freq. 2020-09-11 09:58:47 +01:00
Carsten Haitzler dc4e297024 split freq and cpu % on 2 rows if cpufreq overlay is on 2020-09-10 13:47:19 +01:00
Alastair Poole c4ac095568 ui: align, menu change 2020-09-10 13:19:42 +01:00
Carsten Haitzler db02f95727 cpu - show core freq as mhz vs ghz to be more human 2020-09-10 12:12:36 +01:00
Carsten Haitzler 27ec63e8eb cpu freq display - show overlayed legends for info 2020-09-10 12:00:40 +01:00
Carsten Haitzler 1c737a8a72 cpu usage/freq display - fix rendering. clearing, efficiency and more
read commnts as to what the code is doing... otherwise its
siginificantly more efficient now, more correct, cleaner, and simpler
even with more features (like properly interpolated colormaps).
2020-09-10 02:47:06 +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 a17120bccb ui_memory: poll as config... 2020-09-10 00:19:16 +01:00
Alastair Poole 0c8ed945cd ui: that'll do for bolts n clouds...... 2020-09-09 20:41:09 +01:00
Alastair Poole cf4a8f7e8a clouds: my attempt. 2020-09-09 13:57:24 +01:00
Alastair Poole 25cc485218 ui_cpu: hope this is ok 2020-09-09 10:53:42 +01:00
Alastair Poole 8366483936 ui_cpu: fit 2020-09-09 10:43:16 +01:00
Alastair Poole cd21a0a83d ui_cpu: remove unused 2020-09-09 01:10:17 +01:00
Alastair Poole 4ac8359015 ui_cpu: clang lied...
gcc caught
2020-09-08 22:38:33 +01:00
Alastair Poole 5bef24447c ui_cpu: bar height... 2020-09-08 22:36:19 +01:00
Alastair Poole 5d091eb8cd ui_cpu: overlay make it respond better....
colors a bit off but it's visible...
2020-09-08 22:24:23 +01:00
Alastair Poole f4ccc999c0 ui_cpu: tidy...that'll do for now. 2020-09-08 21:54:41 +01:00
Alastair Poole 7604daa1ca cpu: that'll do for now. 2020-09-08 16:33:32 +01:00
Alastair Poole daeff14236 ui: let windows live...
sorry about the previous choice
2020-09-08 16:08:33 +01:00
Alastair Poole 80bb2d61f4 ui_cpu: :) 2020-09-08 16:02:26 +01:00
Alastair Poole 489295737f cpu: nuke the poop 2020-09-08 15:27:37 +01:00
Alastair Poole 9c62b9687b ui_cpu: check cpu count :) 2020-09-08 13:47:01 +01:00
Alastair Poole 0d34b4df40 ui_cpu: bit better.
Check threads too!
2020-09-08 13:43:03 +01:00
Alastair Poole 9ceefbeb65 ui_cpu: k 2020-09-08 13:31:12 +01:00
Alastair Poole cbb724eb6e ui_cpu: poll 1/10 sec 2020-09-08 13:07:12 +01:00
Alastair Poole 6ecd5df976 cpu: turn on > 4... 2020-09-08 12:50:48 +01:00
Alastair Poole c1c026c5b9 test..moving between machines...
dont test
2020-09-08 11:18:45 +01:00
Alastair Poole 4e2646144f cpu: add some debugging.
Should be able to turn this on once the colors/sizing is all
plugged in.
2020-09-08 03:02:38 +01:00
Alastair Poole 945568a64c cpu: win del cb 2020-09-08 02:33:27 +01:00
Alastair Poole eaf548637f cpu: strt > 8 2020-09-08 02:25:33 +01:00
Alastair Poole bb1f06e23a colors: programmable for human. 2020-09-07 16:20:12 +01:00
Alastair Poole 5744742c23 cpu: move this animation to own func.
Let's do something better w/the next one > 4 cpus and also tidy
the mess a little.
2020-09-07 16:02:34 +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 b139724e26 aboot: stop effing about now 2020-09-07 00:59:00 +01:00
Alastair Poole b4fb7574fb ui: block horiz scroll.
Our genlist area grows, but we align our table/text...
Block the horiz scroll to hide this hack :)
2020-09-06 23:08:11 +01:00
Alastair Poole 43a4122893 cpu: cpufreq fallback (oops). 2020-09-06 21:40:39 +01:00
Alastair Poole 4f5db6604f process: respect poll settings. 2020-09-06 21:14:52 +01:00
Alastair Poole 690910eef9 ui: reset cpu times on poll time change. 2020-09-06 20:44:37 +01:00
Alastair Poole f76279a6e8 ui: pad... 2020-09-06 20:36:02 +01:00
Alastair Poole ac16641c94 ui: pad...almost done 2020-09-06 19:20:16 +01:00
Alastair Poole f6b535a6d9 main: ffs.
not a good idea
2020-09-06 19:18:27 +01:00