Server status command output getting dumped to smtp server instead of a file
I am working on linux server with below specifications.
Linux EDT 2008 i686 i686 i386 GNU/Linux
While checking the status of the server using the command 'opmnctl status' and when server is down the output is not getting redirected to file.
I m using the command as,
opmnctl status > abc.txt.
Need your help in getting this oputput into the specified file.