Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- status_location=/etc/openvpn/openvpn-status.log
- echo "# Generated using openvpn_parse.sh"
- 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