there are the “process-control” and “system-observe” interfaces (the htop snap uses them) with which you should be able to do everything that is needed here in a confined snap … though note that the above instructions also say --devmode … so i guess @popey is simply running it unconfined atm.