bin/server: add basic status overview

This commit is contained in:
xeruf 2023-01-20 08:40:41 +01:00
parent 2bc7ba8dff
commit b3af695101
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ alias sc="sudo systemctl"
alias scs="sudo systemctl status"
alias sce="sudo systemctl enable --now"
alias scr="sudo systemctl reload-or-restart"
alias status="sudo systemctl list-units --failed || service --status-all; tmux ls; sudo docker ps || sudo systemctl status docker"
# Diff recursively
difr() { diff --color=always --unified=1 --recursive "$@" | less --RAW-CONTROL-CHARS --quit-on-intr --quit-if-one-screen; }

View File

@ -1,4 +1,5 @@
#!/bin/sh -x
sudo systemctl list-units --failed
tmux ls
sudo docker ps || sudo systemctl status docker
zulips status