Commit graph

118 commits

Author SHA1 Message Date
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
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
4418f956c7 Some cleaning up in the data_conversion area for cpu 2020-01-04 19:20:54 -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
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
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
Clement Tsang
1ab018b7be Placeholder fix for lack of total network on Windows. 2019-12-30 19:28:48 -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
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
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
f8209c9162 Update controls. 2019-12-15 00:17:15 -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
12b4518fa1 Fixed problem with invalid vector index access. 2019-12-13 02:42:36 -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
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
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
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
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
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
12deeb9c46 Fixed linux issue. 2019-09-25 02:00:25 -04:00
Clement Tsang
a24e5dbbcf More fixes for Windows. 2019-09-25 02:00:05 -04:00
ClementTsang
b9ff7efa21 Changed toml one more time. 2019-09-16 23:53:20 -04:00
ClementTsang
1ebe04ecb2 Added vim + keyboard bindings. 2019-09-16 22:39:57 -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
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
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
Renamed from src/canvas/mod.rs (Browse further)