Submit an operator command
Submit an operator command and write the output to the console
With ZOAU, you can run the specified operator command and write the output to the console. For example, you can display active jobs in the following ways:
- Issuing a shell command:
opercmd "d a,all"
- Calling an API in Python programs:
opercmd.execute(command="d", parameters="a,all")
Print operator command output in terse mode
With ZOAU, you can print operator command output in terse mode in the following ways:
- Issuing a shell command:
opercmd -t "d iplinfo"
- Calling an API in Python programs:
opercmd.execute(command="d", parameters="iplinfo", terse=True)