-
Notifications
You must be signed in to change notification settings - Fork 42
Administration
SkyperTHC edited this page Nov 27, 2022
·
30 revisions
Misc information for SSC Administrators.
Load Admin Tools:
source "${SF_BASEDIR:-/sf}/sfbin/funcs_admin.sh"
Reset a messed up docker/overlay2:
systemctl stop docker
docker rm -vf $(docker ps -aq)
docker rmi -f $(docker images -aq)
docker volume prune -f
systemctl start docker
(to free enough space docker rmi -f sf-guest
is normally sufficient)
Quick Traffic Rate check:
iftop -BnN -f "not host ${SSH_CONNECTION%% *}" # then press 's' and 't'
Update & restart just 1 container
docker-compose build tor
docker-compose up -d --no-deps tor
Check CGROUP stats:
systemd-cgtop
List all guest processes:
systemctl status sf_guest.slice
List processes for $LID
systemctl status docker-"$(docker inspect --format='{{.Id}}' "$LID")".scope
Display cgroup for a pid
cat /proc/PID/cgroup
List all cgroups on the system
ps xawf -eo pid,user,cgroup,args
Join us on Telegram if you have any questions or comments.