ssh_disk_breakdown
Identifies what filled a remote disk by reporting free space per filesystem, largest directories under specified paths, and Docker, journald, and package cache usage; reads only and deletes nothing.
Instructions
Finds what filled a disk: free space per filesystem, the largest directories under each path given, and what docker, journald and package caches hold. Reads only, nothing is deleted. For how full the disks are at all, ssh_snapshot answers in one line.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"profile": "<profile>"
},
"name": "ssh_disk_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sudo | No | Read as root. Straight away for places a plain user cannot read (/root, /var/lib/docker); otherwise retry with true when the answer names what it could not read. Default: false The cache section then reads root's home, not the profile user's. | |
| paths | No | Where to look. Naming the suspect beats walking the whole filesystem. Default: ["/"] | |
| top_n | No | Largest directories named per path. Default: 20 | |
| profile | Yes | Machine name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache | No | ||
| docker | No | ||
| largest | No | ||
| var_log | No | ||
| journald | No | ||
| unreadable | No | Not looked into: the sizes above leave these out | |
| filesystems | No | ||
| unavailable | No |