aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/aliases.zsh9
1 files changed, 6 insertions, 3 deletions
diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh
index 07b14dd..8201ef6 100644
--- a/.zsh.after/aliases.zsh
+++ b/.zsh.after/aliases.zsh
@@ -53,9 +53,12 @@ alias sdlfail='sudo systemctl --all --full |grep failed'
alias sdt='sudo systemctl list-timers'
#journalctl
alias sdj='sudo journalctl'
-alias sdjf='sudo journalctl -f'
-alias sdjb='sudo journalctl -b'
-alias sdjgrep='sudo journalctl -an1000 |grep '
+alias sdjf='sudo journalctl -f' #Follow the messages
+alias sdjb='sudo journalctl -b' #Show only messages from this boot
+alias sdju='sudo journalctl -u' #Show messages of only the specified unit
+alias sdjk='journalctl _TRANSPORT=kernel' #Show kernel ring buffer
+alias sdjp='sudo journalctl _PID=' #Show all messages of specified process (PID)
+alias sdjgrep='sudo journalctl -an1000 |grep ' #Use a grep command to search through journal
#systemd system services
alias sdsstart='sudo systemctl start'
alias sdsstop='sudo systemctl stop'