Build precise queries to find exactly what you need
Press ESC to close
@jurim
Favorites0
Views
Projects0
RAID CRITICAL: 1 array not ok - Array 0 is in state "clean " (raid1) [1 array checked] To chomp spaces, if state = "clean " or "active " if "State :" in line: state = line.split(":")[-1][1:-1] state = state[:-1]
Reviewed 11 years ago
In "sched_host_downtime" $ECHOCMD is pretty useless, "echo" is a shell builtin. if [ $# -gt 0 ]; then usage Should be: if [ $# -eq 0]; then usage Also "usage" function should be defined before, not after.
Reviewed 12 years ago