Commit Graph

266 Commits

Author SHA1 Message Date
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
Alastair Poole 6d5f404eb3 proc: Add basic thread support (Linux).
Just a start.
2020-05-12 20:34:07 +01:00
Alastair Poole faf3b8d989 proc: refactor for thread information.
If we are going to be fetching per-process thread states we really
need to clean up this Linux /proc/*/stat parsing.

I think this /proc fs implementation just sort of "happened".
To be decided which I prefer yet of the four architectures, def, not
Linux though :)
2020-05-12 19:51:05 +01:00
Alastair Poole 786817919c proc: trim argument (FreeBSD) 2020-05-12 11:04:21 +01:00
Alastair Poole 5b839a79a3 proc: trim argument. 2020-05-12 10:56:36 +01:00
Alastair Poole a086c779ac ui: trimming.
Nothing of any significance.
2020-05-11 22:51:36 +01:00
Alastair Poole d57883ad57 ui: small changes. 2020-05-11 22:46:04 +01:00
Alastair Poole 1c04d0b527 OpenBSD: Improve Command Parsing. 2020-05-11 17:52:48 +01:00
Alastair Poole a4a889a699 OpenBSD: Not distinguished shared and resident. 2020-05-11 17:42:24 +01:00
Alastair Poole 39d22d66ea macos: dont return if we cannot get workqueueinfo.
Set the memory to zero here when it's unavailable.
2020-05-11 17:00:33 +01:00
Alastair Poole 7d9ef26986 Swap: Handle 0 swap. 2020-05-11 16:55:20 +01:00
Alastair Poole 568045625e proc: FreeBSD changes. 2020-05-11 16:29:49 +01:00