12 lines
344 B
Bash
12 lines
344 B
Bash
#!/bin/
|
|
#This script checks the amount of calcs and amount of connected people
|
|
source /var/local/container-scripts/zabbix-scripts.cfg
|
|
|
|
#statistics
|
|
BIN_TOTAL=$(find ${BIN_PATH} -mindepth 2 -name *.php | wc -l)
|
|
BIN_SIZE=$(du -s ${BIN_PATH} | cut -f1)
|
|
|
|
echo "bin_total ${BIN_TOTAL}" > /tmp/bin_stats
|
|
echo "bin_size ${BIN_SIZE}" >> /tmp/bin_stats
|
|
|