Make process coalitions configurable
Closed this issue · 4 comments
On development machines it often happens that the shall turns up as head of a process coalition and such all the energy impact and cpu time is accounted to the shell process. #11
There are multiple ways this could be resolved on the client. We show this data on the server.
- add a list of coalition names to the settings file and then resolve them.
- also save the subprocess of coalitions and show them in the hog app view. (This will increase the local DB size quite a bit)
I would recommend to have some commonly used terminal emulators already preconfigured.
From my view these would include:
- mac os terminal
- iterm2
- alacritty
- kitty
Closed with https://github.com/green-coding-berlin/hog/releases/tag/0.3
We will need to gather the coalition names from the server once people start modifying.
@syphar can you please send me the coalition names so I can add them to the defaults.
I still need alacritty and kitty. I need the url like path
perfect. Added to the defaults will roll out in version 0.4 for now you can configure it in our /etc/hog_settings.ini
resolve_coalitions=com.googlecode.iterm2,com.apple.Terminal,com.vix.cron,org.alacritty