a bash script to take note of current usage