From dbb77f15412bdaeafacacb80f520c5bd906aa4a4 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 28 Sep 2014 19:10:49 +0200 Subject: Added more journalctl aliases. --- .zsh.after/aliases.zsh | 9 ++++++--- 1 file 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' -- cgit v1.2.3-70-g09d2