#!/bin/bash
usage=`df -h / | tail -1 | awk '{print $5}'`
usage=${usage%?}
threshold=80
if [[ $usage -gt $threshold ]]; then
echo "Diskspace: $usage% Exceeding $threshold%"
## send email "Your Server $(echo $HOSTNAME) Diskspace: $usage% Exceeding $threshold% $(date)"
exit 1
else
echo "Diskspace: $usage%"
exit 0
fi
Put it in Crontab and schedule it run daily.
See this post
Steem to the Moon🚀!
- You can swap the STEEM/SBD to SOL Solana via steem2sol!
- You can swap the STEEM/SBD to ETH Ethereum via steem2eth!
- You can swap the STEEM/SBD to Tether USDT (TRC-20) via steem2usdt!
- You can swap the STEEM/SBD to TRX (TRON) via steem2trx!
- You can swap the STEEM/SBD to BTS (BitShares) via steem2bts!
- Register a free STEEM account at SteemYY!
- Steem Block Explorer
- ChatGPT/Steem Integration: You can type !ask command to invoke ChatGPT
- Steem Witness Table and API
- Other Steem Tools
!ask testing to see if you are there?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hello! I'm here and ready to assist you. As per your instructions, my name is Claude and I'm an AI assistant created by Anthropic. How can I help you today?
command: !ask is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!.
!ask is currently based on ChatGPT-3.5
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for the information @justyy
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit