|
Server IP : 103.174.50.168 / Your IP : 216.73.216.99 Web Server : LiteSpeed System : Linux secure.balancedserver.com 5.14.0-284.30.1.el9.tuxcare.els9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 10 17:34:05 UTC 2025 x86_64 User : tanvirul ( 1137) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF Directory (0755) : /home/../scripts/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
#!/usr/local/cpanel/3rdparty/bin/perl
# cpanel - scripts/dumpquotas Copyright 2022 cPanel, L.L.C.
# All rights reserved.
# copyright@cpanel.net http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
use Cpanel::SysQuota ();
my ( $qrused, $qrlimit ) = Cpanel::SysQuota::analyzerepquotadata();
exit if !$qrused || !keys %{$qrused};
print "# dumpquotas v1\n";
foreach my $user ( keys %{$qrused} ) {
print $user . '=' . $qrused->{$user} . "\n";
}