curl -H "Authorization: Bearer alf_your_key_here" \
/api/v1/admin/system/info
{
"uptime": "up 5 days, 3 hours, 42 minutes",
"disk": "Filesystem Size Used Avail Use% Mounted on\n/dev/sda1 200G 85G 115G 43% /data",
"memory": " total used free shared buff/cache available\nMem: 7982 4915 1228 256 1838 2810\nSwap: 2047 512 1535"
}
Get system information and resource usage for your instance
curl -H "Authorization: Bearer alf_your_key_here" \
/api/v1/admin/system/info
{
"uptime": "up 5 days, 3 hours, 42 minutes",
"disk": "Filesystem Size Used Avail Use% Mounted on\n/dev/sda1 200G 85G 115G 43% /data",
"memory": " total used free shared buff/cache available\nMem: 7982 4915 1228 256 1838 2810\nSwap: 2047 512 1535"
}
"unknown".
curl -H "Authorization: Bearer alf_your_key_here" \
/api/v1/admin/system/info
{
"uptime": "up 5 days, 3 hours, 42 minutes",
"disk": "Filesystem Size Used Avail Use% Mounted on\n/dev/sda1 200G 85G 115G 43% /data",
"memory": " total used free shared buff/cache available\nMem: 7982 4915 1228 256 1838 2810\nSwap: 2047 512 1535"
}
"unknown".Was this page helpful?