Commit Graph

42 Commits

Author SHA1 Message Date
Bradley Cicenas a603c1b58c Merge remote-tracking branch 'remotes/stokito/uptime' 2021-06-10 22:01:45 -04:00
Sergey Ponomarev 491cd85b4d Additional columns 2020-12-11 21:58:37 +02:00
Sergey Ponomarev cdcb8b6d99 columns.go: remove redundant type 2020-12-11 20:32:22 +02:00
bradley bec78c90b5
Merge pull request #238 from stokito/leftovers
Use standard Go functions
2020-11-29 09:06:13 -05:00
Sergey Ponomarev 4e44c9d5f7 file.go use filepath.Dir() 2020-11-26 12:08:55 +02:00
Bradley Cicenas 87d135909f rename cpus column 2020-11-23 17:48:56 -05:00
Sergey Ponomarev f377dcaee2 #207 Replace scaleCpu option with dedicated column CPU Scaled
The new column is disabled by default.
2020-11-20 23:08:19 +02:00
Sergey Ponomarev 5ec02f760e exec shell: remove shell config or option
The option is never worked and can't properly work because almost all containers anyway using Ash/Dash from /bin/sh
2020-11-20 10:39:28 +02:00
Sergey Ponomarev a22d99fefb file.go: remove duplicated trim
The s var was already trimmed on line 67
2020-11-12 21:23:18 +02:00
Sergey Ponomarev c984b270db #135 Add uptime column 2020-10-26 16:32:51 +02:00
Bradley Cicenas 2fdbb91f87
ensure existing config file is removed prior to writing 2020-10-26 13:04:00 +00:00
Bradley Cicenas 7c6b5c54dc init column config menu 2020-10-25 10:31:51 -04:00
Bradley Cicenas ffb96f4e90 handle empty entries in column config 2020-10-25 10:31:51 -04:00
Bradley Cicenas fc9bd9e5ca refactor column config 2020-10-25 10:31:51 -04:00
Bradley Cicenas c7a8bfa26f integrate widget order, toggling into global config and compact grid 2020-10-25 10:31:51 -04:00
Bradley Cicenas c1d4615cc0 Merge branch 'fr05t1k-exec' 2019-05-12 16:26:51 -04:00
Bradley Cicenas d7384db373 Merge branch 'exec' of https://github.com/fr05t1k/ctop into fr05t1k-exec 2019-05-12 15:31:33 -04:00
CodeLingo Bot b401e7b17e Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-03-07 02:33:29 +00:00
bartfokker 8d8f1e72eb rename ConfigFile to File because `config.ConfigFile` stutters. Instead it's `config.File` 2018-10-25 22:21:08 +02:00
bartfokker 4d48245d7d improve boolean logic 2018-10-25 22:12:17 +02:00
Stanislav Pavlovichev a26fc9169c Ability to change Shell 2018-10-25 21:58:33 +03:00
Bradley Cicenas caf6fc63c1 add config toggle for full-row cursor 2018-09-17 01:33:52 +00:00
Bradley Cicenas d46ce783c2 add statusline widget, status messages to logging 2018-01-11 15:19:01 -03:00
Bradley Cicenas d743472b16 add support for config file, keybinding for exporting active config 2018-01-11 13:15:18 -03:00
Bradley Cicenas d785b263f4 add scale-cpu switch 2018-01-11 12:19:00 -03:00
Bradley Cicenas 8aa932b29f Toggle debug mode via env var
remove logging param from global config, allowing logging server and
level to be configured inside logging subpackage from CTOP_DEBUG env var
2017-03-19 15:10:03 +10:00
Bradley Cicenas 96b01eb3b9 add support for TLS via NewClientFromEnv(), remove dockerHost config param 2017-03-10 12:01:13 +11:00
Bradley Cicenas 0e3fe88bb4 use consistent case for ctop name 2017-03-09 10:40:35 +11:00
Bradley Cicenas a1d68833fa lower logging, add keybindings to help menu 2017-03-07 11:09:46 +11:00
Bradley Cicenas 094be99764 add color for created status containers, update default sortfield 2017-03-01 12:09:05 +11:00
Bradley Cicenas 40085edbcc update switch defaults 2017-02-19 14:58:42 +11:00
Bradley Cicenas 3c28137873 add quote method to config log messages 2017-02-18 14:30:54 +11:00
Bradley Cicenas 47360bc8e7 set default log level to INFO 2017-02-17 10:32:16 +11:00
Bradley Cicenas a1f860a020 export config struct fields, add convenience methods for value fetching 2017-02-16 15:06:05 +11:00
Bradley Cicenas 5bbce31601 simplify config, export GlobalParams+GlobalSwitches 2017-02-16 14:49:41 +11:00
Bradley Cicenas 90f6ce3962 refactor config, add Switch and Param struct + config labels 2017-02-16 14:02:13 +11:00
Bradley Cicenas 5f13563b6f add runtime config param for toggling all containers 2017-02-16 11:00:31 +11:00
Bradley Cicenas 0b100bf4fa add log message to config toggle 2017-02-12 17:25:48 +11:00
Bradley Cicenas d56af1d932 update config with get, gettoggle methods 2017-02-12 17:03:10 +11:00
Bradley Cicenas d5d91398f5 add logging back to config, move logging server start to main package 2017-02-12 16:14:50 +11:00
Bradley Cicenas a6aa9859c0 combine package global vars 2017-02-09 14:49:46 +11:00
Bradley Cicenas 85cd6864ba refactor global config into subpackage 2017-02-07 03:33:09 +00:00