Advertisement
luxaeterna101

openvpn_parse.sh

Jul 27th, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | None | 0 0
  1. #!/usr/bin/env bash
  2. status_location=/etc/openvpn/openvpn-status.log
  3. echo "# Generated using openvpn_parse.sh"
  4. sed '/Real Address\,Last Ref/,/GLOBAL STATS/!d;//d' $status_location | column -t -s , | awk '{print $1"\t"$2}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement