cPanel API 2 Functions - DiskCounter::disk_counter
The cPanel API 2 system is deprecated. We strongly recommend that you use UAPI instead of cPanel API 2.
Description
This function lists files on your server as a nested directory tree.
We strongly recommend that you use UAPI instead of cPanel API 2. However, no equivalent UAPI function exists.
Examples
WHM API (JSON)
https://hostname.example.com:2087/cpsess##########/json-api/cpanel?cpanel_jsonapi_user=user&cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=DiskCounter&cpanel_jsonapi_func=disk_counter
For more information, read our Calls from the WHM API documentation.
LiveAPI PHP Class
$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
// List files in a nested directory tree.
$list_files = $cpanel->api2(
'DiskCounter', 'disk_counter'
);
For more information, read our Guide to the LiveAPI System.
LiveAPI Perl Module
my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
# List files in a nested directory tree.
my $list_files = $cpliveapi->api2(
'DiskCounter', 'disk_counter',
);
For more information, read our Guide to the LiveAPI System.
cPanel Tag System (deprecated)
- cPanel tags are deprecated . We strongly recommend that you only use the LiveAPI system to call the cPanel APIs. Examples are only present in order to help developers move from the old cPanel tag system to our LiveAPI .
- cPanel API 2 calls that use cPanel tags vary in code syntax and in their output.
- For more information, read our Deprecated cPanel Tag Usage documentation.
Command Line
cpapi2 --user=username DiskCounter disk_counter
- You must URI-encode values.
-
username
represents your account-level username. -
You
must
include the
--user=username
option. -
For more information and additional output options, read our
Guide to cPanel API 2
documentation or run the
cpapi2 --help
command. -
If you run CloudLinux™, you
must
use the full path of the
cpapi2
command:/usr/local/cpanel/bin/cpapi2
Output (JSON)
{
{
"cpanelresult": {
"apiversion": 2,
"func": "disk_counter",
"data": [
{
"owner": "example",
"usage": 4096,
"name": "example",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": ".spamassassin",
"contents": [
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".autorespond",
"contents": [
],
"user_contained_usage": 8192,
"contained_usage": 8192,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cpbandwidth",
"contents": [
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 8192,
"contained_usage": 8192,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "logs",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "etc",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "example.com",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "@pwcache",
"contents": [
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "a",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": ".boxtrapper",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "forms",
"contents": [
],
"user_contained_usage": 16384,
"contained_usage": 16384,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 24576,
"contained_usage": 24576,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 32768,
"contained_usage": 32768,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 81920,
"contained_usage": 81920,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 90112,
"contained_usage": 90112,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "public_html",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "newdir",
"contents": [
],
"user_contained_usage": 8192,
"contained_usage": 8192,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "cgi-bin",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "guestbook",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "admin",
"contents": [
],
"user_contained_usage": 110592,
"contained_usage": 110592,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "lang",
"contents": [
],
"user_contained_usage": 413696,
"contained_usage": 413696,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "img",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "smilies",
"contents": [
],
"user_contained_usage": 475136,
"contained_usage": 475136,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 581632,
"contained_usage": 581632,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "lib",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "fonts",
"contents": [
],
"user_contained_usage": 466944,
"contained_usage": 466944,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 618496,
"contained_usage": 618496,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "misc",
"contents": [
],
"user_contained_usage": 16384,
"contained_usage": 16384,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "public",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "doc",
"contents": [
],
"user_contained_usage": 45056,
"contained_usage": 45056,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "templates",
"contents": [
],
"user_contained_usage": 106496,
"contained_usage": 106496,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 1966080,
"contained_usage": 1966080,
"type": "dir",
"traversible": 1
},
{
"owner": "root",
"usage": 4096,
"name": "testdir",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 1994752,
"contained_usage": 1998848,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".sqmailattach",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".cpaddons",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "moderation",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 16384,
"contained_usage": 16384,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".sqmaildata",
"contents": [
],
"user_contained_usage": 16384,
"contained_usage": 16384,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "thumbs",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "thumbnails",
"contents": [
],
"user_contained_usage": 548864,
"contained_usage": 548864,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 7225344,
"contained_usage": 7225344,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "mail",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 20480,
"contained_usage": 20480,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Trash",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 20480,
"contained_usage": 20480,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "example.com",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "e",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Trash",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Junk",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Sent",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Drafts",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 81920,
"contained_usage": 81920,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "a",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Trash",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 20480,
"contained_usage": 20480,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Junk",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Sent",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 36864,
"contained_usage": 36864,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Drafts",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 135168,
"contained_usage": 135168,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "d",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Trash",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Junk",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Sent",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Drafts",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 81920,
"contained_usage": 81920,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "freeeed",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Trash",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Junk",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Sent",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Drafts",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 81920,
"contained_usage": 81920,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "c",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Trash",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Junk",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Sent",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Drafts",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 86016,
"contained_usage": 86016,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "b",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 8192,
"contained_usage": 8192,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Trash",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 20480,
"contained_usage": 20480,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Junk",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Sent",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Drafts",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 122880,
"contained_usage": 122880,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "kitty",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Trash",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Junk",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Sent",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Drafts",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 81920,
"contained_usage": 81920,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "doggy",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Trash",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Junk",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Sent",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Drafts",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 81920,
"contained_usage": 81920,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "fishy",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Trash",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Junk",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Sent",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Drafts",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 81920,
"contained_usage": 81920,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "f",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Trash",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 20480,
"contained_usage": 20480,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Junk",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Sent",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Drafts",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 110592,
"contained_usage": 110592,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 987136,
"contained_usage": 987136,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Sent",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".Drafts",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "cur",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "new",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 1110016,
"contained_usage": 1110016,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".trash",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "ssl",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "keys",
"contents": [
],
"user_contained_usage": 8192,
"contained_usage": 8192,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "csrs",
"contents": [
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "certs",
"contents": [
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 45056,
"contained_usage": 45056,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".htpasswds",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "public_html",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "testdir",
"contents": [
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 16384,
"contained_usage": 16384,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "ruby",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "bin",
"contents": [
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "gems",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "lib",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "rubygems",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "commands",
"contents": [
],
"user_contained_usage": 159744,
"contained_usage": 159744,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "ext",
"contents": [
],
"user_contained_usage": 16384,
"contained_usage": 16384,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "package",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "tar_reader",
"contents": [
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 45056,
"contained_usage": 45056,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 630784,
"contained_usage": 630784,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "rbconfig",
"contents": [
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 684032,
"contained_usage": 684032,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 700416,
"contained_usage": 700416,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".gem",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "specs",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "rubygems.org%80",
"contents": [
],
"user_contained_usage": 2027520,
"contained_usage": 2027520,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 2031616,
"contained_usage": 2031616,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 2035712,
"contained_usage": 2035712,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "rails_apps",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "Test",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "app",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "models",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "controllers",
"contents": [
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "views",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "layouts",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "helpers",
"contents": [
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 32768,
"contained_usage": 32768,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "script",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "performance",
"contents": [
],
"user_contained_usage": 8192,
"contained_usage": 8192,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 49152,
"contained_usage": 49152,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "test",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "unit",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "integration",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "functional",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "fixtures",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "performance",
"contents": [
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 32768,
"contained_usage": 32768,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "db",
"contents": [
],
"user_contained_usage": 8192,
"contained_usage": 8192,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "tmp",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "sessions",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "sockets",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "pids",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "cache",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 20480,
"contained_usage": 20480,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "lib",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "tasks",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 8192,
"contained_usage": 8192,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "public",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "images",
"contents": [
],
"user_contained_usage": 8192,
"contained_usage": 8192,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "stylesheets",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "javascripts",
"contents": [
],
"user_contained_usage": 245760,
"contained_usage": 245760,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 290816,
"contained_usage": 290816,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "doc",
"contents": [
],
"user_contained_usage": 8192,
"contained_usage": 8192,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "config",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "environments",
"contents": [
],
"user_contained_usage": 12288,
"contained_usage": 12288,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "initializers",
"contents": [
],
"user_contained_usage": 24576,
"contained_usage": 24576,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "locales",
"contents": [
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 73728,
"contained_usage": 73728,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "log",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "vendor",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "plugins",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 8192,
"contained_usage": 8192,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 593920,
"contained_usage": 593920,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 598016,
"contained_usage": 598016,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".razor",
"contents": [
],
"user_contained_usage": 24576,
"contained_usage": 24576,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "cpanel3-skel",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "public_html",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "public_ftp",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 8192,
"contained_usage": 8192,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": ".cpanel",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "datastore",
"contents": [
],
"user_contained_usage": 1765376,
"contained_usage": 1765376,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "caches",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "mailmanconfig",
"contents": [
],
"user_contained_usage": 28672,
"contained_usage": 28672,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "dynamicui",
"contents": [
],
"user_contained_usage": 57344,
"contained_usage": 57344,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "config",
"contents": [
],
"user_contained_usage": 16384,
"contained_usage": 16384,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "filesys",
"contents": [
],
"user_contained_usage": 8192,
"contained_usage": 8192,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 131072,
"contained_usage": 131072,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "nvdata",
"contents": [
],
"user_contained_usage": 20480,
"contained_usage": 20480,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 2019328,
"contained_usage": 2019328,
"type": "dir",
"traversible": 1
},
{
"owner": "example",
"usage": 4096,
"name": "public_ftp",
"contents": [
{
"owner": "example",
"usage": 4096,
"name": "incoming",
"contents": [
],
"user_contained_usage": 0,
"contained_usage": 0,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 4096,
"contained_usage": 4096,
"type": "dir",
"traversible": 1
}
],
"user_contained_usage": 16060416,
"contained_usage": 16064512,
"type": "dir",
"traversible": 1
}
],
"event": {
"result": 1
},
"module": "DiskCounter"
}
}
Use cPanel's API Shell interface (cPanel >> Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return | Type | Description | Possible values | Example |
---|---|---|---|---|
owner |
string | The object's owner. | A valid string. | example |
usage |
integer | The object's size. | A positive integer which represents the object's size, measured in bytes. | 100000 |
name |
string | The object's name. | A valid string. | logs |
contents |
integer | The number of file objects that this file object contains. | A non-negative integer. | 3 |
user_contained_usage |
integer | The object's size | A positive integer which represents the object's size, measured in bytes. | 100000 |
contained_usage |
integer | The total size of the file objects that this file object contains. | A positive integer which represents the size of the contained file objects, measured in bytes. | 100000 |
type |
string | The object's type. |
|
dir |
traversible |
Boolean | Whether a user or script can traverse the file object. |
|
1 |
reason |
string |
A reason for failure. This function only returns a |
A string that describes the error. |
This is an error message. |
result |
Boolean | Whether the function succeeded. |
|
1 |