get_ps_aux_top_mem_consumers
Lists the top 10 memory-consuming processes on a remote host over SSH, using ps aux sorted by memory and RSS fallback for BusyBox.
Instructions
Lists top 10 mem consumers, MEM desc (ps aux --sort=-%mem).
On BusyBox hosts (Alpine), where ps cannot sort and has no %MEM, the output is
ps -o pid,user,rss,vsz,args sorted by RSS instead: its first line starts with
'# BusyBox' and sizes are in KB unless they carry an m or g suffix.
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_ps_aux_top_mem_consumers"
}
}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 | |||