Commit graph

886 commits

Author SHA1 Message Date
ClementTsang
3b588f1ba9 Removed extra debug statements. 2020-02-15 16:45:09 -05:00
ClementTsang
7a6d8f088c Some refactoring... I also tried to make the processes part mutlithreaded, but that saved negliglble time and increase cpu usage... 2020-02-15 16:28:44 -05:00
ClementTsang
e05b5c46fe Merged async together. 2020-02-14 22:51:20 -05:00
ClementTsang
fe5f911ad3 Added ability to set default highlighted widget. 2020-02-13 21:06:11 -05:00
ClementTsang
5ad522be43 Removed unnecessary clone. 2020-02-12 20:09:36 -05:00
ClementTsang
20b5efcc01 Added esc to title of maximized widgets 2020-02-12 19:55:58 -05:00
ClementTsang
f0dad8f5bf Added maximizing mode to allow users to zoom into a particular widget. Not 100% done. 2020-02-12 00:35:37 -05:00
ClementTsang
908960f783 Potential fix for strange use% in macos...? 2020-02-11 00:45:13 -05:00
ClementTsang
0051477f56 Accidentally left in an extra line of code. 2020-02-11 00:41:28 -05:00
ClementTsang
b17094d4b1 Add current cpu total flag to other OS 2020-02-11 00:34:39 -05:00
ClementTsang
6aaa53ec37 Appease clippy more, remove clippy from travis for now. 2020-02-10 21:59:57 -05:00
ClementTsang
a7025aca4a More clippy fixing. 2020-02-10 19:44:26 -05:00
ClementTsang
f21c06f8ed Update documentation and help menu for HJKL 2020-02-10 00:29:23 -05:00
ClementTsang
37b1d93d05 removed control + hjkl again, added shift + hjkl (or just HJKL) to navigate widgets 2020-02-10 00:26:17 -05:00
ClementTsang
60b6a0911a Major refactoring to appease clippy; potential reintroduction of hjkl keys to navigate widgets... 2020-02-10 00:16:11 -05:00
Clement Tsang
7ec52b722b Some more changes to support sysinfo update 2020-02-09 22:32:28 -05:00
ClementTsang
dbc970abec Accidentally left in some code that prevented the total rx/tx from being shown on windows... oops. 2020-02-09 22:25:47 -05:00
ClementTsang
8098e45dcf Update canvas to support network change on windows 2020-02-09 22:19:05 -05:00
ClementTsang
1ac6cdde2f Update sysinfo, add total network to windows/linux. 2020-02-09 22:11:03 -05:00
ClementTsang
5dd22c6c89 Minor refactoring. 2020-02-09 21:34:44 -05:00
ClementTsang
82cab62790 Made dialog screens affected by colour choice. 2020-02-09 21:28:01 -05:00
ClementTsang
4bc07debb4 Some minor formatting of dialog boxes, added back widget title to search bar 2020-02-09 19:24:22 -05:00
ClementTsang
fac67e00ae Split up help screen into categories, hopefully this makes it easier to spot what you are looking for 2020-02-09 19:17:59 -05:00
ClementTsang
909fbd3571 Made the dd screen prettier. 2020-02-09 17:11:57 -05:00
ClementTsang
4ac3a10fbf Update and clean up ? menu... some more work to be done though 2020-02-08 22:38:55 -05:00
ClementTsang
b593a29e9c More cleaning up of new colour feature 2020-02-08 18:00:50 -05:00
ClementTsang
8764b3092a Some cleaning up of the canvas colour setting feature 2020-02-08 16:39:50 -05:00
ClementTsang
f3a70fbf6d Added more options and removed cursor (merged with overall text highlighting) 2020-02-08 16:00:43 -05:00
ClementTsang
2123becb81 Added colour options to config; updated sample config to reflect this; updated README 2020-02-08 14:28:19 -05:00
ClementTsang
238e0c88e0 Update documentation again, also change temp a bit 2020-02-07 00:28:26 -05:00
ClementTsang
027220e285 [skip travis] Update documentation for config. 2020-02-07 00:19:50 -05:00
ClementTsang
96d405a353 Add config options 2020-02-07 00:16:41 -05:00
ClementTsang
8782b327b9 [skip travis] minor refactor of conversion fns 2020-02-05 21:37:49 -05:00
ClementTsang
7ea20283cf Update cargo to newer versions of crates 2020-02-05 19:53:42 -05:00
ClementTsang
0b857f6609 Remove useless to_vec() calls to reduce clones 2020-02-04 23:33:09 -05:00
ClementTsang
146424a1d4 [skip travis] Remove redundant code 2020-02-04 23:21:44 -05:00
ClementTsang
e0115624a9 Refactoring - moved canvas into its own struct... time to do some more fun optimization. 2020-02-04 22:44:49 -05:00
ClementTsang
41d56d8a9b Update Cargo, changed the CLI flags for search a bit along with the docs to be a bit easier to remember (all caps, change regex option to -R) 2020-02-04 20:07:53 -05:00
ClementTsang
18ae433f22 Tweaked default colour to have better contrast, added labels back to network (note they won't show as of now due to tui-rs, but that should change with an upcoming TUI release) 2020-02-03 00:39:46 -05:00
ClementTsang
3779109180 [skip travis] Rounding added to mem totals 2020-02-03 00:31:38 -05:00
ClementTsang
7bf88dffd1 Fixed network chart to make it a bit more like before my changes 2020-02-03 00:06:54 -05:00
ClementTsang
0a13d75415 Made search drawing on canvas a bit more efficient if possible, fixed app positionings due to search repositioning 2020-02-02 23:50:18 -05:00
ClementTsang
616ba01be0 Added flag functionality, made case insensitive default from now on 2020-02-02 23:25:15 -05:00
ClementTsang
6551885666 Update documentation and added more flags for search as per last commit 2020-02-02 23:20:53 -05:00
ClementTsang
fc3a2e69ec Made search look prettier and organized it a bit... also added match whole word functionality. 2020-02-02 23:15:28 -05:00
ClementTsang
e98cc770a5 Removed Ctrl-hjkl as movement between widgets as Ctrl-j seemed to be broken... replaced with Shift-arrow keys for an alternative 2020-02-02 17:45:05 -05:00
ClementTsang
e548d07c1f Add panic hook, fix cpu legend causing panic on small windows 2020-02-02 17:09:42 -05:00
ClementTsang
96bb4d1dc1 Fix too small window bug 2020-02-02 14:24:10 -05:00
ClementTsang
1b09133e3b Refactor i64 to u64 for position 2020-02-02 14:22:16 -05:00
Clement Tsang
35f78a7e91
Merge pull request #7 from ClementTsang/optimization_and_refactoring_branch
Optimization and refactoring branch
2020-02-02 01:52:39 -05:00
ClementTsang
853ce3c736 Move ignore case to tab 2020-02-02 00:55:57 -05:00
ClementTsang
3327087443 Fix dd with new changes 2020-02-02 00:52:41 -05:00
ClementTsang
0ab4b7f7cc Fix process searching while scrolling... that was broken for a while, I guess 2020-02-02 00:24:00 -05:00
ClementTsang
0bf7f32473 Optimizing processes... 2020-02-01 23:49:44 -05:00
ClementTsang
67ff2f28eb Tweaked point generation a bit again 2020-01-31 21:01:33 -05:00
ClementTsang
971384cf3a New way of doing referencing previous pid stats without having to GC - just write a new one every time... 2020-01-31 20:49:30 -05:00
ClementTsang
24f0bbc852 dd works on macOS now. 2020-01-30 23:13:12 -05:00
ClementTsang
4f31c6ee02 Lowered stale timing again 2020-01-28 22:48:51 -05:00
ClementTsang
2d25abaa16 Removed redundant logic in cpu chart causing average to show the wrong colour 2020-01-28 22:42:14 -05:00
ClementTsang
f32035b8d5 Tweaked the chart ratios 2020-01-28 22:38:36 -05:00
ClementTsang
c415dfd88c Changed wording for case match default in flags 2020-01-28 22:21:31 -05:00
ClementTsang
63299afaf0 Added cleaning event loop 2020-01-28 22:11:00 -05:00
ClementTsang
3d4de7867c Added cleaning function. 2020-01-28 22:06:06 -05:00
ClementTsang
abe8a4bb86 Moved temp and drives over... 2020-01-28 21:24:52 -05:00
ClementTsang
57aa15978c Moved CPU over 2020-01-26 20:14:14 -05:00
ClementTsang
c5cd431e2e Updated memory labels to be more straightforward in generation. 2020-01-26 16:44:24 -05:00
ClementTsang
10b7aa6f78 Converted mem over, will need to move the label over too 2020-01-26 01:51:54 -05:00
ClementTsang
13f6dfc529 Reworked network again; will use this to change all widgets 2020-01-25 16:36:14 -05:00
ClementTsang
fe99b99d0a Removed btreemap and went back to vec as it makes more sense for us 2020-01-21 23:35:16 -05:00
ClementTsang
e6b6048afb Further tweaking of network 2020-01-21 23:29:47 -05:00
ClementTsang
0fdab76cf5 Tweaked network graph generation a bit to match master 2020-01-21 22:59:42 -05:00
ClementTsang
840b0cccc8 Slightly optimized how networking is... I think. 2020-01-21 22:48:56 -05:00
ClementTsang
c0df2e6c33 Only generate regexes during regex mode 2020-01-21 22:48:56 -05:00
ClementTsang
495e6d2dc2 Added cursor hiding if not focused 2020-01-18 14:57:54 -05:00
ClementTsang
2832ddebb0 Updated documentation. 2020-01-17 19:59:01 -05:00
ClementTsang
4c7b3ee239 Add Ctrl-A and Ctrl-E for searching to skip around to start and end respectively. 2020-01-17 19:53:42 -05:00
ClementTsang
7e442330ba Add support for searching while frozen 2020-01-17 19:19:20 -05:00
ClementTsang
40be97eaf4 Add basic cursor movement + visuals + control to search
Add basic cursor movement + control to search
2020-01-16 21:53:22 -05:00
ClementTsang
cc5c6f4d87 Added a very basic way of displaying your current search mode... I need to refine this over the next few days. 2020-01-15 23:03:23 -05:00
ClementTsang
a4badebd73 Added in-program hotkey (Ctrl-S) to switch search levels, need to add some GUI indication. Also made it so that you don't need ENTER anymore to search... will monitor and test how this affects performance. 2020-01-15 22:57:00 -05:00
ClementTsang
5d0c8a9f32 Note this is not 100% complete - there's some nasty code used to just get functionality down. Simple search option added, flag added, no way of switching in-program yet however. 2020-01-15 22:50:11 -05:00
ClementTsang
1b65fa022a Added some logic to allow visibility of network data even when smaller height windows are used 2020-01-15 00:38:43 -05:00
ClementTsang
9393586f56 Revert to labels for now... see if I have to fork tui-rs to get it to work the way I want 2020-01-14 22:28:11 -05:00
ClementTsang
ff3f1fa2ff Move some width ratios around 2020-01-14 21:24:10 -05:00
ClementTsang
e0a4ebda01 Simple moving of ram position to support TUI hiding legends... may revert this in the future, though. 2020-01-13 22:06:44 -05:00
ClementTsang
bd356a851b Regex filter added. This is a very rudimentary implementation, but I feel it's good enough for now. 2020-01-12 18:45:11 -05:00
ClementTsang
2bb1333d04 Mostly done the base display and control logic for search, now need to implement search filter logic 2020-01-12 15:41:27 -05:00
ClementTsang
ffafba2374 Adding documentation to search feature. 2020-01-12 14:25:47 -05:00
ClementTsang
66f27be4bf Update in-tui documentation to be consistent with changes. 2020-01-12 13:18:01 -05:00
ClementTsang
545cb8b8b1 Change of hjkl navigation and removal of q to quit (replaced by Ctrl-[char]) variants. This is required for a less confusing use of upcoming search functionality 2020-01-12 13:15:49 -05:00
ClementTsang
0e35d30068 [skip travis] Remove todo! macro which might cause issues on older rust versions 2020-01-12 03:08:34 -05:00
ClementTsang
94039d19eb Some intrinsic width tweaks. Min thresholds now determined by header title OR a minimum threshold. Added space redistribution as well. 2020-01-11 17:30:04 -05:00
ClementTsang
4e54c2c25d Rewrote scroll to be a bit more simple and less buggy 2020-01-11 16:28:21 -05:00
ClementTsang
86c8ce68e7 Potential fix for a panic with time comparisons 2020-01-11 00:42:03 -05:00
ClementTsang
e78fbbbf55 [skip travis] Fixed slight typo with missing column width ratio in disks. 2020-01-10 23:55:21 -05:00
ClementTsang
ef9e478daf Added new way of calculating the table widths in order to avoid some tui-rs bug causing the lines to freak out. 2020-01-10 23:41:16 -05:00
ClementTsang
c5855e7b0a Bit of a hack, change back to non-percent based for disks to prevent some jumping entries 2020-01-10 19:00:55 -05:00
ClementTsang
2c7ab558d0 Fix a quite large bug with disks table display. 2020-01-09 22:04:32 -05:00
ClementTsang
514c39cc56 Change how we call time in data_collection step 2020-01-09 21:59:52 -05:00
ClementTsang
13180c72d4 Add flag to enable by default, documentation 2020-01-08 22:54:14 -05:00
ClementTsang
c171cd0e0b Implemented dd for grouped processes. 2020-01-08 22:36:36 -05:00
ClementTsang
6cf8f0d98f Traded some mem + cpu for more smoothness while toggling. 2020-01-08 00:28:11 -05:00
ClementTsang
0f2b4a7ba5 Formatting changes to be a bit more strict on line length 2020-01-07 23:40:53 -05:00
ClementTsang
5a32404ed4 Base building blocks of grouped process functionality 2020-01-07 23:39:52 -05:00
ClementTsang
ad190a144d Some basic cleaning 2020-01-06 23:07:58 -05:00
ClementTsang
e71e22f726 [skip travis] Add Home/End keys to navigate tables 2020-01-04 19:41:32 -05:00
ClementTsang
4418f956c7 Some cleaning up in the data_conversion area for cpu 2020-01-04 19:20:54 -05:00
ClementTsang
cfca180a11 [skip travis] More documentation tweaking 2020-01-03 00:00:05 -05:00
ClementTsang
8cc8b47c89 Some documentation changes 2020-01-02 23:42:44 -05:00
Clement Tsang
7b902a9470 Fix mouse scrolling in windows 2020-01-02 22:54:39 -05:00
Clement Tsang
9ff3cb7a52 Add highlighting rows only when you are on that widget, and tweaked table spacing. 2020-01-02 19:07:53 -05:00
Clement Tsang
f018cb7542 Fix bug with network legend on windows 2020-01-02 18:34:09 -05:00
ClementTsang
f6eb2d6e54 Fix problem on windows with dd 2020-01-02 00:31:34 -05:00
ClementTsang
b22c07aba2 Added dialog for dd, added error message if fail to dd, cleaned up some stuff 2020-01-01 23:39:47 -05:00
ClementTsang
7208908413 [skip travis] Add check to prevent improper dd while on another panel 2020-01-01 18:39:59 -05:00
ClementTsang
11a6d25d4a Expand cpu chart size 2020-01-01 17:56:28 -05:00
ClementTsang
2c138378fc Add scrolling to CPU list. 2020-01-01 17:55:15 -05:00
ClementTsang
4e6e32a0ea Fix issue with network legend, by moving it down. 2020-01-01 16:32:20 -05:00
ClementTsang
e5749234a2 Add new option to allow for seeing cpu usage in processes as a percentage of current usage, rather than total 2019-12-31 22:24:54 -05:00
Clement Tsang
d0a7a0dd72 Quick error change for processes to be a bit more graceful, fix tests 2019-12-30 22:39:49 -05:00
Clement Tsang
1ab018b7be Placeholder fix for lack of total network on Windows. 2019-12-30 19:28:48 -05:00
Clement Tsang
98ccc70743 Fix processes in windows 2019-12-29 21:40:22 -05:00
ClementTsang
b52b5ea1de Fix typo in code... oops. 2019-12-28 01:21:49 -05:00
ClementTsang
ad4f124d9d Rearrange to fit legend and extra info. 2019-12-28 01:20:05 -05:00
ClementTsang
f7243bd78b Refactoring (note graphs are shrunk for next commit) of canvas 2019-12-27 22:39:25 -05:00
ClementTsang
e5845d5719 [skip travis] Add field for total rx and tx display in the canvas; note this will get changed when we rewrite legend into a separate tab due to tui-rs limitations 2019-12-27 18:30:35 -05:00
ClementTsang
9b11e7ea9c [skip travis] Fix formatting in field 2019-12-27 18:22:33 -05:00
ClementTsang
25d0ae45b4 Some cleaning to avoid duplicate code 2019-12-27 18:19:57 -05:00
ClementTsang
a8bcccc8cf Some moving of lines 2019-12-27 16:47:12 -05:00
ClementTsang
f25bb68662 Add stock 6 colours 2019-12-26 19:08:43 -05:00
ClementTsang
55b5e5abd5 Add random colour generation to allow for dealing with large multicore systems without overlapping colours (hopefully) 2019-12-26 19:06:30 -05:00
ClementTsang
bf02afcf79 Add g and GG logic 2019-12-25 23:31:18 -05:00
ClementTsang
baf588be8a Redid some of the networking portion, changed cargo a bit, some refactoring 2019-12-25 23:02:21 -05:00
ClementTsang
395a3083c6 Update heim 2019-12-25 20:28:38 -05:00
ClementTsang
b7a7ae1a17 Update to newer version of crates 2019-12-25 20:09:49 -05:00
Clement Tsang
76189efee4 Fix some more clippy hints. 2019-12-23 00:57:16 -05:00
Clement Tsang
eee9c54175 Fix problem with missing brackets and BEDMAS... 2019-12-22 23:38:55 -05:00
Clement Tsang
4974ae0886 Some simple fixes to abide by clippy 2019-12-22 17:37:07 -05:00
ClementTsang
d5bc7810e9 Switch back to round 2019-12-17 02:11:40 -05:00
ClementTsang
bd37915567 Add double tap key timeout to prevent accidental dd's 2019-12-16 02:21:44 -05:00
ClementTsang
f8209c9162 Update controls. 2019-12-15 00:17:15 -05:00
ClementTsang
7592fec1d1 Fixed some labels I forgot to match with networks. 2019-12-14 00:30:34 -05:00
ClementTsang
8d648433f0 Switch to log scale for networks to allow a scale from 0 bytes to 1 GiB. 2019-12-14 00:13:29 -05:00
Clement Tsang
8c005a327b Tweaked mouse and keyboard accept rates 2019-12-13 02:55:25 -05:00
Clement Tsang
a0729d3913 Fix for winapi 2019-12-13 02:45:09 -05:00
Clement Tsang
8d5db7aa79 Rename error name. 2019-12-13 02:43:34 -05:00
Clement Tsang
12b4518fa1 Fixed problem with invalid vector index access. 2019-12-13 02:42:36 -05:00
Clement Tsang
a6b746896b Change to datacol to deal with windows problem. 2019-12-13 01:45:27 -05:00
ClementTsang
076d6a0546 Changed network data to show decimal point. 2019-12-11 01:01:40 -05:00
ClementTsang
467af10c36 Begin change of legend, and fixed scrolling issue caused by tui-fork drop 2019-12-11 01:01:24 -05:00
ClementTsang
f203da1ac5 Tweaked scroll rejection period. 2019-12-11 01:00:56 -05:00
ClementTsang
9913cc9fda Update dependencies 2019-12-07 03:01:35 -05:00
ClementTsang
b9b7d61a99 Add debug flag 2019-12-07 00:58:52 -05:00
ClementTsang
6ac5812ffd Fix travis. 2019-12-06 23:29:23 -05:00
ClementTsang
e7477ce517 Update tui version... legends aren't showing up yet, will have to fork again. 2019-12-06 00:57:04 -05:00
ClementTsang
ff595cd028 Fanagle with tui. Going to probably put this on halt until tui-rs pushes a new stable release... 2019-11-05 16:33:57 -05:00
ClementTsang
6efdce4d43 Also added a keyboard delay handler just in case... 2019-10-12 23:53:45 -04:00
ClementTsang
b87edceb86 Fixed problem caused by overfilling the input queue with scroll events. 2019-10-12 23:51:15 -04:00
ClementTsang
902ed9a839 Separated stale and display constants. 2019-10-12 19:19:53 -04:00
ClementTsang
d35ddf3c6a Added hotkey to reset all data on screen. 2019-10-10 18:01:23 -04:00
ClementTsang
2e6f087a3a Minor change to fern init results and added to error file 2019-10-10 17:22:53 -04:00
ClementTsang
d42f144384 Added scaling factor to make CPU usage in processes more representative of TOTAL usage, rather than percentage of CPU percentage 2019-10-10 17:13:18 -04:00
ClementTsang
726006dbec [skip travis] Minor README and help updates to be more clear. 2019-10-09 22:50:36 -04:00
ClementTsang
0697e44802 Added freezing of updates. 2019-10-09 22:34:09 -04:00
ClementTsang
2900ae2acf Added help screen. 2019-10-09 22:00:10 -04:00
ClementTsang
2d20ec7f6f Fix for cleaning times, as well as made it not run every loop. 2019-10-09 19:19:39 -04:00
ClementTsang
f55d2fff3f Added way of removing stale entries in the old PID list. 2019-10-06 21:06:53 -04:00
ClementTsang
7bd49be49a Removed unsafe unwraps 2019-10-05 21:55:35 -04:00
ClementTsang
72a3de98c2 Added arrows to indicate process sorting direction 2019-10-04 23:22:16 -04:00
ClementTsang
11f8b8ea2b Added RAM values to chart. 2019-10-03 00:05:58 -04:00
ClementTsang
34c102195d Added scrolling for temp and disk list. 2019-09-25 16:43:13 -04:00
ClementTsang
674de1a2d4 Added const to make rate switching in the future easier. 2019-09-25 12:42:39 -04:00
ClementTsang
b5cacb3e2e Added arrow key control for processes and the like, and fixed off by one error. 2019-09-25 12:35:32 -04:00
ClementTsang
a592472562 Changed how we handle total mem = 0 cases; made it so that it just sets a really negative value and we just check if the most recent value is negative 2019-09-25 02:45:09 -04:00
ClementTsang
5ecc80e2ad Fix for divide by zero if swap/mem was 0 2019-09-25 02:13:10 -04:00
ClementTsang
f5d1f624cc [skip travis] Added comment. 2019-09-25 02:00:25 -04:00
ClementTsang
12deeb9c46 Fixed linux issue. 2019-09-25 02:00:25 -04:00
Clement Tsang
52c4234ed0 Added dd for windows. 2019-09-25 02:00:10 -04:00
Clement Tsang
a24e5dbbcf More fixes for Windows. 2019-09-25 02:00:05 -04:00
Clement Tsang
9df0b2e4e2 Support for key events in windows works. 2019-09-25 01:59:58 -04:00
Clement Tsang
bc3169a4df Added some more support for windows. 2019-09-25 01:59:47 -04:00
ClementTsang
cb9ec2cdca Bump up version of crossterm, fix some bugs. 2019-09-24 22:15:43 -04:00
ClementTsang
dfdd6b14d4 Update README, Cargo, and main 2019-09-17 23:48:35 -04:00
ClementTsang
7ce653b8dc [skip travis] More todos. 2019-09-17 00:27:12 -04:00
ClementTsang
db06f8201f Potential fix for windows processes. 2019-09-17 00:24:36 -04:00
ClementTsang
b9ff7efa21 Changed toml one more time. 2019-09-16 23:53:20 -04:00
ClementTsang
11af345ea1 Moved description to cargo.toml. 2019-09-16 23:16:43 -04:00
ClementTsang
f5873db9ac [skip travis] Changed name and some minor things. 2019-09-16 22:54:39 -04:00
ClementTsang
1ebe04ecb2 Added vim + keyboard bindings. 2019-09-16 22:39:57 -04:00
ClementTsang
0550402698 Added dd command on linux. 2019-09-16 21:45:48 -04:00
ClementTsang
1b777d27e5 Fixed off by one error with scrolling. 2019-09-16 20:33:25 -04:00
ClementTsang
266c281024 Modified errors in data_collection portion to use the newer error type added earlier on. 2019-09-16 19:05:44 -04:00
ClementTsang
a5306c6692 Added scrolling in processes. 2019-09-16 18:47:49 -04:00
ClementTsang
43ac5c3399 Added reads and writes for disk. 2019-09-16 16:18:42 -04:00
ClementTsang
1a4a261db6 Added scrolling event, need to implement across processes now. 2019-09-15 14:16:18 -04:00
ClementTsang
05d4e82153 [skip travis] Changed rustfmt, formatting. 2019-09-15 01:32:08 -04:00
ClementTsang
0eb993d129 Added a few changes - fix for slow start time feel, changed cpu legend display, added logic to make avg cpu display over everything. Also changed tui source to a fork. 2019-09-15 01:29:49 -04:00
ClementTsang
282acd1395 Made charting look better, switched back to braille markers (its the only way I could make it look good), and dealt with some issues regarding the display of networking. 2019-09-15 00:06:57 -04:00
ClementTsang
4846175638 Added error util, finished network graph. 2019-09-14 21:48:29 -04:00
ClementTsang
b14432c3df Added average cpu option. 2019-09-14 17:07:18 -04:00
ClementTsang
6d9ed34dcb Added clap support for command line options, as well as tweaked some table placement. 2019-09-14 16:46:14 -04:00
ClementTsang
a5989ad096 Hopefully smoothed out curve a bit. 2019-09-13 16:15:00 -04:00
ClementTsang
71ac3313e4 More refactoring; added logging and error files. 2019-09-11 23:34:26 -04:00
ClementTsang
691c887b56 Dealt with canvas a bit more, removed some redundant code. 2019-09-11 23:23:14 -04:00
ClementTsang
afe9349573 Changed layout again. 2019-09-11 23:15:25 -04:00
ClementTsang
86eb14f620 Added temp setting to app, need to add to data collection. Also refactoring again. 2019-09-11 22:30:57 -04:00
ClementTsang
ae6cd3aa77 Refactoring. Lots of it. 2019-09-11 22:10:49 -04:00
ClementTsang
50d3be05dd More refactoring. 2019-09-11 20:41:11 -04:00
ClementTsang
b7081dd0e4 Hopefully made a much better process CPU tracker... this matchs top pretty closely, within +/- 5% 2019-09-11 17:22:56 -04:00
ClementTsang
2032660230 Rudimentary charting for cpu and mem. 2019-09-11 00:52:51 -04:00
ClementTsang
0d76c49973 Added stale data filtering. 2019-09-11 00:08:55 -04:00
ClementTsang
ac26ac7f5a Re-added timing, refactored. 2019-09-10 23:37:20 -04:00
ClementTsang
9740fe2298 Fixed memory issue. 2019-09-10 19:10:29 -04:00
ClementTsang
939e2d1d77 Tried to fix process cpu usage... and reduce total cpu usage of program. 2019-09-10 18:22:34 -04:00
ClementTsang
8c7b9dab35 I can't spell. 2019-09-09 19:31:03 -04:00
ClementTsang
d9a0d32c1f Ironed out as many kinks as possible in terms of smoothness. 2019-09-09 18:34:13 -04:00
ClementTsang
ff89f1187f Began working on populating fields. 2019-09-09 00:09:58 -04:00
ClementTsang
471209f511 Refactored code such that it fits more of tui-rs' example. 2019-09-08 19:56:23 -04:00
ClementTsang
d80c2387fb Setup layout. 2019-09-08 14:14:50 -04:00
ClementTsang
96ceba92c2 Started terminal UI. 2019-09-08 01:25:53 -04:00
ClementTsang
0050b77caf Removed the 'timing' aspect, it was irrelevant. 2019-09-08 01:01:42 -04:00
ClementTsang
826bc701c1 Added 'used' field in disks polling, as it is more accurate 2019-09-07 23:34:29 -04:00
ClementTsang
ef2dc7e1b5 Added better error handling. 2019-09-07 23:29:30 -04:00
ClementTsang
8da38c061d Finished network polling. 2019-09-07 22:41:52 -04:00
ClementTsang
ac85c42ce9 Added temperature support for data polling. 2019-09-07 22:30:15 -04:00
ClementTsang
521698a2bd Added memory data checking. 2019-09-07 19:03:18 -04:00
ClementTsang
ace6a4bc68 Got processing switched to heim 2019-09-07 18:45:44 -04:00
ClementTsang
f9b98c71ec Set up disk to use heim 2019-09-07 16:39:17 -04:00
ClementTsang
153a2590b0 Started using heim. Not working yet. 2019-09-07 00:49:15 -04:00
ClementTsang
020fb83645 Mostly gotten cpu widget done. 2019-09-06 22:46:44 -04:00
ClementTsang
832d32700e Added interval, disk tracking. 2019-09-06 00:05:50 -04:00
ClementTsang
243742de2a Got the basics of process sorting done. 2019-09-05 18:28:54 -04:00
ClementTsang
c8bbf5850c Set up more file hierarchy. 2019-09-04 23:45:19 -04:00
ClementTsang
2c53ab09a9 Added working sorting for processes. 2019-09-04 23:39:44 -04:00
ClementTsang
2b8676ecf8 Added TODO list, and started more work. 2019-09-04 16:53:05 -04:00
ClementTsang
a1923e198c Setup. 2019-09-03 23:27:25 -04:00