I hereby claim:
- I am reard3n on github.
- I am reard3n (https://keybase.io/reard3n) on keybase.
- I have a public key ASC6cE1BNbbkpJFQPwBdeMDZ9qjfa8h5fZv6UarNk8sZRAo
To claim this, I am signing this object:
#!/bin/bash | |
while true | |
do | |
touch /tmp/csv.output | |
top -b -n1 | grep -A3 PID | grep -v PID | awk '{print $9","$10","$12}' > /tmp/procs | |
while read line | |
do | |
CSV=`hostname` | |
DATE=`date +%s` |
#!/bin/bash | |
# credit to @v6 (https://github.com/v6) for the gist this grew from | |
VAULTFQDN=vault.testdomain.local | |
USERNAME=davesusername | |
# Figure out what the latest version of vault is. This script only works on OS X right now, so don't worry about architecture. | |
VAULTLATESTDIR=`curl -s https://releases.hashicorp.com/vault/ | grep href | grep -v - | grep -v "\.\." | head -n1 | awk -F"\"" '{print $2}'` | |
VAULTLATESTBIN=`curl -s https://releases.hashicorp.com/vault/ | grep href | grep -v - | grep -v "\.\." | head -n1 | awk -F">" '{print $2}' | awk -F"<" '{print $1}'` | |
echo "Latest version directory is $VAULTLATESTDIR" |
I hereby claim:
To claim this, I am signing this object: