Custom CSV with accounts details
Hi All,
I am looking to create a custom CSV file that lists all the users on a server with their bandwidth limit, bandwidth usage, disk limit and disk usage.
I assumed that I would do this via the API but I can't wrap my head around it.
Just looking to be pointed in the right direction, unless someone has something that has this functionality already.
Many thanks
Jordan.
-
At bottom of the List Accounts page in WebHost Manager, there is an option you might like to know about, mentioned in this documentation: List Accounts - Version 74 Documentation - cPanel Documentation 0 -
Hi InfoPro, If you are referring to downloading records as CSV then this isn't helpful as the Bandwidth isn't listed within this CSV. only disk usage. 0 -
That is what I was referring to, yes. 0 -
Sadly this won't was as It doesn't list the BW. is there any way around this because the bandwidth usage is handy. If you look at a users cPanel account it lists all the details but it doesn't on WHM which is really annoying. 0 -
That is the easiest way to grab most all of the information from your accounts. These docs may be of some use to you: Guide to UAPI - Developer Documentation - cPanel Documentation 0 -
Thanks Info, I've found the command to request a users disk Usage, but I can't find a command that mentions bandwidth usage. Quota::get_quota_info - This lists basic INFO amount the users disk usage but not BW. Bandwidth:: - there's no reference to bandwidth usage here, just ports in use etc. any Idea where I can get the users bandwidth usage? 0 -
There is a secontion on that page for bandwidth, I assume you've seen it? UAPI Functions - Bandwidth::query - Developer Documentation - cPanel Documentation 0
Please sign in to leave a comment.
Comments
7 comments