1
0
mirror of https://gist.github.com/d6c00bdb2aa87d4d598c1fb1e7bb928e.git synced 2024-10-22 09:28:49 -07:00
Python-SSH-Nagios-Icinga-Sc.../yum_log_parse.bash
2017-12-27 20:56:41 -08:00

6 lines
147 B
Bash
Executable File

#!/bin/bash
# yum_log_parse.bash
# invoked from check_last_yum_upgrade_via_ssh.py
grep Updated /var/log/yum.log | tail -1 | awk '{print $1" "$2}'