You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
600 B
Makefile
25 lines
600 B
Makefile
api.sh.gz: api.sh
|
|
gzip -f -9 --keep $<
|
|
chmod 644 $@
|
|
scp $@ ssd:eloyd/
|
|
|
|
nagios:
|
|
gzip -f -9 --keep nlog
|
|
rsync -avu nlog api.sh root@192.168.1.19:/usr/local/bin/
|
|
|
|
test: api.sh
|
|
@echo "### Checking HGM:"
|
|
./api.sh -t hgm -hg arrs -o i -o h -v | head -5
|
|
@echo ""
|
|
@echo "### Checking -Q -f .output:"
|
|
./api.sh -Q -f .output | head -5
|
|
@echo ""
|
|
@echo "Checking file sizes for current and save/file:"
|
|
./api.sh --save asdhjadkajthksdfga.json -v | head -5
|
|
./api.sh | wc
|
|
./api.sh --file asdhjadkajthksdfga.json | wc
|
|
rm -f asdhjadkajthksdfga.json
|
|
@echo ""
|
|
@echo "Checking stats:"
|
|
./api.sh --stats
|