Commit Graph

59 Commits

Author SHA1 Message Date
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 7679d4a7fd exec shell: fix shell config
Currently each time when ctop started it overwrites "shell" config with default value of program argument.
This means that in fact default shell config is never worked at all.
2020-11-20 10:31:00 +02:00
Bradley Cicenas 2fdbb91f87
ensure existing config file is removed prior to writing 2020-10-26 13:04:00 +00:00
Bradley Cicenas 53ec5c911a
return static error on unimplemented manager actions 2020-10-26 11:38:17 +00:00
Bradley Cicenas 98fcfe8b6f refactor connectors for retry logic, add error view 2019-05-22 16:58:55 +00:00
Stanislav Pavlovichev a26fc9169c Ability to change Shell 2018-10-25 21:58:33 +03:00
Bradley Cicenas 842809bef5 enable termbox alt input 2018-05-10 09:44:57 +00:00
Bradley Cicenas a3b67e4607 add available connectors to help dialog 2018-01-30 07:54:13 -03: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 1be64f0d11 define flag vars in block 2017-11-29 03:03:46 +00:00
Bradley Cicenas 13029cc7fe add go runtime to version output 2017-06-19 12:23:39 +00:00
Bradley Cicenas 617b1b2863 omit runc connector from darwin build 2017-06-14 10:11:40 -03:00
Bradley Cicenas 400d9471b6 add pidcount,io to mock collector 2017-06-13 17:25:58 -03:00
Bradley Cicenas 446708e456 add default runc root path 2017-06-09 18:35:28 -03:00
Bradley Cicenas af3f1e2a85 update glide deps 2017-06-09 18:11:59 -03:00
Bradley Cicenas d372043a17 add --connector switch, validation 2017-06-09 14:35:29 -03:00
Bradley Cicenas 6392d63ff8 prevent panic messages from being hidden due to ui.Init() race condition 2017-06-08 17:19:34 -03:00
Bradley Cicenas b85ca680f0 restructure container,connectors in subpackage 2017-06-08 11:51:02 -03:00
Bradley Cicenas 084c0c4ec8 add global Shutdown() method for exit cleanup 2017-03-23 16:48:25 +10: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 e94a9c0cc2 remove redundant bool comparisons 2017-03-15 10:06:52 +10:00
Bradley Cicenas e82d77ecb0 add option for color inversion 2017-03-15 10:02:46 +10:00
Bradley Cicenas 1285288b9e add validation to sort field option 2017-03-15 08:49:11 +10:00
Bradley Cicenas b3cdb33efc add explicit version to Dockerfile, circleci 2017-03-15 08:34:58 +10:00
Vishnu Bharathi 8203d0b883 adds more commandline arguments 2017-03-11 00:09:06 +05:30
Bradley Cicenas 0e3fe88bb4 use consistent case for ctop name 2017-03-09 10:40:35 +11:00
Bradley Cicenas b8eb386360 add global default ColorMap 2017-03-08 10:40:03 +11:00
Bradley Cicenas aaf98a77dc add version, help printing to main() 2017-03-07 12:04:45 +11:00
Bradley Cicenas d40b765dbb add version, build vars 2017-03-07 11:13:48 +11:00
Bradley Cicenas a1d68833fa lower logging, add keybindings to help menu 2017-03-07 11:09:46 +11:00
Bradley Cicenas 132335c8a4 remove Grid struct, move cursor into own package file 2017-03-06 14:03:05 +11:00
Bradley Cicenas 56be64367b refactor widgets, add wrapper structs 2017-03-03 18:57:26 +11:00
Bradley Cicenas 2fdf68e876 move logging server into own file, improve cleanup 2017-02-17 17:48:38 +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 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 4450abf89b update logging with Init() method 2017-02-12 16:10:40 +11:00
Bradley Cicenas 85cd6864ba refactor global config into subpackage 2017-02-07 03:33:09 +00:00
Bradley Cicenas 198d4974e3 add waitgroup, exit handlers to logging server 2017-02-05 11:25:30 +11:00
Bradley Cicenas 03789b8ed3 add ctoplogger, log facility, socket server 2017-02-04 13:01:52 +11:00
Bradley Cicenas 062c4298f2 init global config 2017-01-03 12:37:09 -05:00
Bradley Cicenas e09bcd0272 move ui.Init() into main, allow any key to exit help dialog 2017-01-01 17:48:35 -05:00
Bradley Cicenas 6e87539b9d add client to containermap, add views package, help view 2017-01-01 17:42:13 -05:00
Bradley Cicenas 995285ebb9 refactor sort into containermap struct 2016-12-30 15:14:07 -06:00
Bradley Cicenas 12ce9b1874 add custom container sorter 2016-12-29 21:22:25 -06:00