get_top
Collects a real-time top snapshot from a remote Linux host over SSH, including BusyBox/Alpine variants, to inspect CPU, memory, and process usage without modifying the system.
Instructions
Collects top's snapshot from a remote Linux host via SSH (top -b -n 1 -c).
On BusyBox hosts (Alpine), where top has no -c, the output is plain top -b -n 1:
its first line starts with '# BusyBox' and the columns differ.
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": {
"host": "<host>",
"user": "<user>"
},
"name": "get_top"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | No | ||
| user | Yes | ||
| timeout | No | ||
| key_path | No | ||
| password | No | ||
| accept_new_hostkey | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||