Difference between revisions of "Script Prototypes"
From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search (→setres) |
|||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | == | + | ==Einstein/Lentil checkup== |
− | + | There are probably some other critical services that should be added to this list, although many are checked implicitly if the user can log into a non-einstein machine (LDAP, NFS). | |
− | <pre> | + | <pre>#!/bin/bash |
− | + | ||
− | + | ssh root@einstein "df -h; service spamassassin status; service amavisd status; service postfix status" | |
− | + | ssh root@lentil "df -h /mnt/npg-daily-current" | |
− | + | </pre> | |
− | |||
− |
Latest revision as of 14:16, 15 February 2008
Einstein/Lentil checkup
There are probably some other critical services that should be added to this list, although many are checked implicitly if the user can log into a non-einstein machine (LDAP, NFS).
#!/bin/bash ssh root@einstein "df -h; service spamassassin status; service amavisd status; service postfix status" ssh root@lentil "df -h /mnt/npg-daily-current"