Get live resource usage of a running instance
flux_get_app_statsCPU, memory and network stats of the containers of an app on one node. Requires the owner key.
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": {
"name": "<name>"
},
"name": "flux_get_app_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| nodeIp | No | ||
| component | No | Component name for multi-component apps. | |
| fluxIdPrivateKey | No | WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key. | |
| paymentPrivateKey | No | WIF private key of the Flux address that pays. Fund it with only what you intend to spend. |