diff --git a/.bash_aliases b/.bash_aliases index 9577b79..d45ca96 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -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; } diff --git a/.local/bin/server/status b/.local/bin/server/status index 6858b97..7d47ffd 100755 --- a/.local/bin/server/status +++ b/.local/bin/server/status @@ -1,4 +1,5 @@ #!/bin/sh -x +sudo systemctl list-units --failed tmux ls sudo docker ps || sudo systemctl status docker zulips status