disk
Information about the TFS disk usage can be obtained from the disk list item. The default returns detailed disk usage information about each database for each pack in use by the database. You can use options to turn the details off.
Utilizes HTTP GET method.
http://hostname:port/rdmadmin/?list=disk[options[options]...]
The supported [options] are:
| &databases=boolean | Display database itemization (default is OFF) |
| &packfiles=boolean | Display pack file itemization for each database (default is OFF) |
boolean values are:
| true | false | True or False |
| 1 | 0 | 1 or 0 |
| on | off | On or Off |
Example 1
http://localhost:21553/rdmadmin/?list=disk
Returns
{
"total_disk_usage":3343664
}
Example 2
http://localhost:21553/rdmadmin/?list=disk&databases=true&packfiles=true
Returns
{
"databases": [
{
"name": "BICYCLE_DB",
"pack files": [
{
"name": "p00000001.pack",
"disk_usage":3504
}
],
"total_disk_usage":3504
},
{
"name": "BOOKSHOP",
"pack files": [
{
"name": "p00000001.pack",
"disk_usage":214656
}
],
"total_disk_usage":214656
},
{
"name": "NSFAWARDS",
"pack files": [
{
"name": "p00000001.pack",
"disk_usage":3126144
}
],
"total_disk_usage":3126144
}
],
"total_disk_usage":3344304
}