Mgrctl
From ISPWiki
Introduction
The mgrctl utility is available for all our software programs. It is located in the /usr/local/ispmgr/sbin directory. You may use it to call ISPmanager functions from shell. We would recommend that you use our software functions via API, rather than via HTTP. All the functions are called with admin privileges (root in ISPmanager).
How to use it
The first argument is the function to be called followed by the function parameters in the key=value format. For example:
/usr/local/ispmgr/sbin/mgrctl user
The users list will be displayed
/usr/local/ispmgr/sbin/mgrctl user.edit elid=test
Getting the test user parameters.
/usr/local/ispmgr/sbin/mgrctl database su=test
Getting the list of the test user database.
Optional keys
Parameters:
-m <manager> - name of the control panel's binary file that you want to call.
Default: ispmgr (regardless of the software you are using).
-o <output mode> - possible values: text, devel, xml. Default value - text.
