Caleb Bassi
c48984563e
Switch to master branch of gizak/termui after its update
2019-01-23 21:23:35 -08:00
Caleb Bassi
cf00920745
Fix data race for CPU widget
2019-01-19 20:46:33 -08:00
Caleb Bassi
97f490be80
Fix data race between rendering and updating
2019-01-19 20:34:19 -08:00
Caleb Bassi
523a190e66
Refactor
2019-01-19 19:37:31 -08:00
Caleb Bassi
c34782d45f
Upgrade gizak/termui@v3-wip
2019-01-14 19:47:44 -08:00
Caleb Bassi
e74e48424a
Refactor
2019-01-12 16:40:05 -08:00
Sean E. Russell
2a6a479d11
Merge https://github.com/cjbassi/gotop
...
Disable all battery code if battery not selected in options.
Refactors widgetCount to localize use.
2019-01-01 11:04:31 -06:00
Caleb Bassi
2934d6fd48
Fix sparkline title overflowing
2019-01-01 02:29:14 -08:00
Caleb Bassi
5d17121510
Add statusbar ( Close #72 )
2019-01-01 02:15:31 -08:00
Caleb Bassi
ff62b55133
Fix race condition panic
2018-12-31 18:37:47 -08:00
Caleb Bassi
2e48524cc9
Port to termui 2.0
2018-12-31 18:23:45 -08:00
Caleb Bassi
b73fe56e94
Add widget files from cjbassi/termui
2018-12-31 15:01:13 -08:00
Sean E. Russell
5ee4b4a978
Adds battery support
...
Cleans up mod file; adds flag for battery.
Adds documentation; fixes missing color sets for battery.
2018-12-26 23:15:44 -06:00
Caleb Bassi
6188e24c73
Fix unnecessary goroutine
2018-12-18 18:13:18 -08:00
Caleb Bassi
625b16c916
Close #85
2018-12-13 21:59:45 -08:00
Caleb Bassi
23b961bcfa
Fix panics on error for Mem widget
2018-12-13 21:32:22 -08:00
Caleb Bassi
f608f636ce
Use old 'ps' parsing method on freebsd
2018-12-13 19:24:34 -08:00
Caleb Bassi
a28e8117d7
Add freebsd build flag
2018-12-13 19:13:28 -08:00
Caleb Bassi
45a252f2d9
Revert changes to 'ps' on Darwin
2018-12-13 13:55:58 -08:00
Caleb Bassi
c1e7986ed0
Fix stderr redirection on arm64
2018-12-12 18:18:43 -08:00
Caleb Bassi
001d5ca835
Change Disk column widths
2018-12-12 17:35:55 -08:00
Caleb Bassi
f5ad5e8441
Fix double counting network data with VPN ( Close #61 )
2018-12-10 14:43:01 -08:00
Caleb Bassi
defda4a38a
Remove 'mapper' from disk name
2018-12-10 11:20:32 -08:00
Caleb Bassi
67e0fedbed
Don't show Docker containers in Disk widget
2018-12-10 11:10:28 -08:00
Caleb Bassi
2043837fd8
Fix ignoring of loop disk devices
2018-12-09 22:04:43 -08:00
Caleb Bassi
7e9de44b3a
Cleanup logic to trim 'dev' from disk partition
2018-12-09 21:11:03 -08:00
Caleb Bassi
d712195a6e
Fix panic on partition error
...
- Ignore partitions that cause errors, instead of panicking due to a nil
dereference
- Fixes errors caused by insufficient permissions of certain devices
2018-12-08 00:25:56 -08:00
Caleb Bassi
23fdf43936
Fix ps whitespace parsing errors
2018-12-07 12:33:46 -08:00
Caleb Bassi
44ed6e8752
Fix process name cropping
2018-12-07 10:42:23 -08:00
Caleb Bassi
1aa5eea24c
Fix cpu usage percents panic
2018-12-05 20:05:57 -08:00
Caleb Bassi
cfcb489862
Add more logging for Disk widget
2018-12-04 22:34:45 -08:00
Caleb Bassi
a3c934e86b
Update gopsutil for #41
2018-12-04 21:53:53 -08:00
Caleb Bassi
c7171781c1
Log to file on errors
...
- Also recover from issue #12
- Make config path management more portable
2018-12-04 21:44:49 -08:00
Caleb Bassi
a2d80c8282
Fix C import; Closes #71
2018-12-03 18:24:24 -08:00
Caleb Bassi
e596d524e5
Improve OSX temp names ( #71 )
2018-12-03 14:28:15 -08:00
Sophie Tauchert
40260a8e04
Filter loop devices in disk stats
2018-12-03 10:55:39 +01:00
Caleb Bassi
1b8c3ed918
Format cpu names based on cpu count
2018-12-01 21:00:17 -08:00
Caleb Bassi
357050207e
Refactor inline celsius conversion into a function
2018-12-01 20:51:51 -08:00
Tony Lambiris
f66833c2cc
Add --fahrenheit flag, fix CPU ordering
2018-12-01 20:44:12 -08:00
Caleb Bassi
8ee8950ba2
Refactor
...
Updated event management based on changes to termui
2018-11-29 18:17:13 -08:00
Caleb Bassi
ce5342cfc9
Don't sensor with a temp of 0
2018-11-29 17:37:41 -08:00
Caleb Bassi
57781676d8
Fix #41
2018-11-15 10:07:32 -08:00
Caleb Bassi
db1b2fbc70
Add custom colorscheme loading. Closes #55
2018-09-18 13:42:49 -07:00
Caleb Bassi
d14e09c34f
Net and ram formatted to 1 decimal place
...
Closes #51
2018-08-23 11:43:21 -07:00
PanteR
94e4cd8878
Use Home and End keys to navigate Top/Bottom.
2018-08-19 08:01:16 +03:00
Caleb Bassi
c3603ea1d5
Fix issues when using both percpu and averagecpu
...
* Change 'Average' to 'AVRG'
* Run both updates with goroutines so they don't case each other to
block
2018-08-16 16:44:44 -07:00
Caleb Bassi
8de8367084
Added cli options for cpu load
2018-08-16 16:38:00 -07:00
Caleb Bassi
c71cd760e6
Merge pull request #45 from b1narykid/master
...
Remove 8 cores limit in CPU widget
2018-08-16 15:44:06 -07:00
李俊杰
72c8c43b07
Fix a bug about a defunct state kill process
...
When using dd shortcut to kill a process, a kill process with a defunct state is left.
2018-08-16 09:50:32 +08:00
Caleb Bassi
04d3dca8ca
Removed obsolete disk.Mountpoint fix
...
Fixed upstream in gopsutil
2018-08-11 16:34:43 -07:00
Caleb Bassi
77f728fb44
Fix byte conversions; add TB
2018-08-08 22:30:24 -07:00
Ivan Trubach
813c239f7e
Preserve old CPU widget behavior
2018-08-01 00:40:51 +03:00
Ivan Trubach
12527db13f
Remove 8 cores limit in CPU widget
2018-08-01 00:24:44 +03:00
Caleb Bassi
eb17f69606
Add comment referencing gopsutil issue
2018-07-18 09:19:09 -07:00
Caleb Bassi
8103dd377c
Fix bug when partition mountpoint has a space
2018-07-17 13:36:52 -07:00
Caleb Bassi
bed05dc425
Merge branch 'temps'
2018-05-23 21:43:29 -07:00
Michael R Fleet
08ea0b3db0
fix typo in temp_darwin
2018-05-23 22:09:04 -04:00
Caleb Bassi
42a949c5aa
Add detailed memory usage labels to memory widget
2018-05-23 18:52:35 -07:00
Caleb Bassi
ae2fff9655
Make ps command work on OSX
2018-05-23 17:08:33 -07:00
Caleb Bassi
6f4984e5e7
Separate temp widget by platform
2018-05-23 11:02:33 -07:00
Caleb Bassi
00e866c104
Change disk widget into a table
2018-05-21 16:02:31 -07:00
Caleb Bassi
ee1c57c6fe
Show process args when ungrouped on unix
2018-05-16 14:55:18 -07:00
Caleb Bassi
0647a4b433
Remove heading in ps output using arg
2018-05-15 20:21:25 -07:00
Caleb Bassi
3387d4c792
Add back files removed from gopsutil
2018-05-15 13:46:50 -07:00
Caleb Bassi
a65523dab6
Fix build issue on windows
2018-05-15 13:21:53 -07:00
Caleb Bassi
f243be7e69
Re-add windows gopsutil process info retrieval
2018-05-15 13:13:22 -07:00
Caleb Bassi
3ab6ea2380
Fix process cpu usage being divided by cpu count
2018-05-15 11:46:06 -07:00
Caleb Bassi
b42d098a99
Switch to custom process info retrieval
...
* Switch from gopsutil to using 'ps' for process info retrieval.
* Much faster now since we are getting all info in a batch.
* Should hopefully fix the issue on OSX where process info retrieval was
taking too long.
* CPU percentage reporting should also be imporoved, since it is more
realtime.
2018-05-15 11:14:22 -07:00
Caleb Bassi
da6f6d28f4
Change process widget name to processes
2018-05-10 23:51:50 -07:00
Caleb Bassi
28066827ae
Move source files to src folder
2018-05-10 21:23:20 -07:00