-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcountzombies.sh
executable file
·11 lines (9 loc) · 1.06 KB
/
countzombies.sh
1
2
3
4
5
6
7
8
9
#!/bin/bash
mysql -e 'select "Station Location: ", count(*) FROM stationlocation WHERE station not in (select id from stations)' ognrange
mysql -e 'select "Position Mgrs: ", count(*) FROM positions_mgrs WHERE station not in (select id from stations)' ognrange
mysql -e 'select "Availability: ", count(*) FROM availability WHERE station_id not in (select id from stations) ' ognrange
mysql -e 'select "Availability log: ", count(*) FROM availability_log WHERE station_id not in (select id from stations) ' ognrange
mysql -e 'select "Rough Coverage: ", count(*) FROM roughcoverage WHERE station not in (select id from stations) ' ognrange
mysql -e 'select "Estimated Coverage: ", count(*) FROM estimatedcoverage WHERE station not in (select id from stations) ' ognrange
mysql -e 'select "Stats: ", count(*) FROM stats WHERE station not in (select id from stations) ' ognrange
mysql -e 'select "Stats Summary: ", count(*) FROM statssummary WHERE station not in (select id from stations) ' ognrange