1
1
Fork 0

added get_uptime script

This commit is contained in:
david 2012-06-19 20:30:58 +02:00
parent 1908a8cc8c
commit e07656b348
1 changed files with 22 additions and 0 deletions

22
get_uptime.sh Executable file
View File

@ -0,0 +1,22 @@
#!/bin/bash
# get uptimes of linux machines
array="localhost
blade9.aec.at
blade10.aec.at
blade11.aec.at
blade12.aec.at
blade13.aec.at
blade15.aec.at
nymeria.aec.at
walter.aec.at
search.aec.at
webarchive.aec.at
prix.aec.at
git.aec.at"
for machine in $array; do
echo "$machine: $(ssh -q $machine uptime)"
done