Commit Graph

354 Commits

Author SHA1 Message Date
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