ISPmanager API get the amount of free or occupied physical memory

I need to find out how much physical memory is left or occupied in the user, is this possible? The API returns only information about how much memory is allocated to the user in total.

https://1.1.1.1:1500/ispmgr?authinfo=name:password&out=xml&func=user.edit&elid=username

enter a description of the image here

Author: Abmin, 2018-02-04

1 answers

Hello.

You can view it either via mgrctl /usr/local/mgr5/sbin/mgrctl -m ispmgr userstat elid= or via the API https://1.1.1.1:1500/ispmgr?authinfo=name:password&out=xml&func=userstat&elid=username

The userstat variable should be used, not user. edit

 1
Author: ISPsystem, 2018-02-13 11:50:35