Well, it depends on what you consider healthy.
If you only need to check if the process is responding, a simple "oneuser
show" would be enough.
Or you could check the number of Hosts or VMs in 'fail' state to get a
quick warning about a problem in your cloud.
Regards
--
Carlos Martín, MSc
Project
Hi
I want to write a shell script to monitor oned process to check if oned is
running and healthy.
my script only can count the number of process. and it can’t check if it is
really healthy.
could you please give me some ideas? thank you very much.
$ ps -fu oneadmin
UIDPID PPID C