Skip to content

Instantly share code, notes, and snippets.

@vnugent
Last active August 29, 2015 14:00
Show Gist options
  • Save vnugent/11386638 to your computer and use it in GitHub Desktop.
Save vnugent/11386638 to your computer and use it in GitHub Desktop.
#!/bin/bash
now=`date +%FT%TZ`
s=`du -sk /home/hudson/rhq-data | awk '{print $1}'`
echo "$now,$s" >> /tmp/rhq-dir-size.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment