Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- output=$(fmadm faulty)
- if [ -z "$output" ]
- then
- printf "Memory is OK"
- exit 0
- else
- printf "Memory issue found"
- exit 1
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement