Thanks both of you.
I am able to get the WriteDaemon status using SYS.Stats.Dashboard class and IsWDSuspended() method.
ZN "%SYS"
%SYS>s ref=##class(SYS.Stats.Dashboard).Sample()
%SYS>w ref.WriteDaemon
Normal
%SYS>w ##class(Backup.General).IsWDSuspended()
0
- Log in to post comments