Note: More recently, a patch was added to ignore specific interfaces from
being auto-detected:
This is probably a better solution but I won't go into it right now.
Since GKrellM version 2.3.6 there is an option net_enabled_as_default
that will disable new network interfaces from being added automatically.
Close GKRellM
Open the config file with:
vim ~/.gkrellm2/user-config
Use /
to search for the setting net net_enabled_as_default
Change the value from 1
to 0
Start GKRellM
After this GKRellM will no longer automatically add all new interfaces it sees.
If you want to clear out all the old entries that have accumulated:
Close GKRellM
Open the config file with:
vim ~/.gkrellm2/user-config
Run the following commands to remove unwanted veth entries:
:g/^net enables veth/d
:g/^net chart_config veth/d
If you also have a lot of net enables dNNNNNNNN
entries, you may want to rerun the above commands with d
instead of veth
.
Save and quit. :wq<Enter>
Start GKRellM again
But users of older versions of GKRellm, note that GKRellM will detect any active interfaces on your machine and display them again.
You can hide an interface, instead of removing it, by changing the setting 1 1 0
to 0 1 0
:
:%s/^\(net enables veth.*\) 1 1 0/\1 0 1 0