Displaying 1 result from an estimated 1 matches for "nut_act".
Did you mean:
authact
2015 Oct 09
0
NUT with openSUSE 13.2
...n by service
unit rather than by tag, I wrote a Bash script to extract the lines
generated by NUT activity.
#! /bin/bash
# nut-journal Display NUT activity recorded by journald for
# previous complete boot and current (unfinished) boot.
TEMPFILE=`mktemp`
JOURNALCTL=/usr/bin/journalctl
NUT_ACTIVITY="upsd|upsmon|upssched|upsdrvctl"
# Does user have access to journalctl for upsd?
$JOURNALCTL -b 0 -n 10 --no-pager > /dev/null
if [ $? -eq 0 ]; then :
else echo " Welcome to nut-journal"
echo "You do not seem to have access to the journa...