command to see FROM SHELL quota assigned of users ?

000

Well-Known Member
Jun 3, 2008
549
30
78
hello,

some command to check QUOTA of users ?

is possible from SHELL see disk assigned AND disk used?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,597
2,617
363
cPanel Access Level
Root Administrator
Hey there! We have the following API that will return this information:


You can see from the example on that page it will show the amount used and the "blocks_limit" value, which is the account's quota.

Let me know if that helps!
 

000

Well-Known Member
Jun 3, 2008
549
30
78
thanks master,
then over CentOs 8
not exists a command to run from SHELL
and see details of QUOTA asigned + used for ALL users?
 

000

Well-Known Member
Jun 3, 2008
549
30
78
That command would work no matter which operating system you are using, as it's a cPanel command and not an operating system command.
thanks master cPREex, please run:
Code:
repquota -a
then you can see QUOTA, but me not understand the output

some flag to get output readable?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,597
2,617
363
cPanel Access Level
Root Administrator
repquota is a system command that isn't created by cPanel. The top of the command should give you the following, showing what each column means:

Code:
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
so that would apply to each row of the output. For cPanel systems, "hard" and "grace" don't come into play, as those are Linux user features.