get_user_usage
Retrieves resource usage and quota details for all users or a specific user in a YuniKorn partition, enabling monitoring of CPU and memory consumption against configured limits.
Instructions
Retrieves resource usage and quota information for all users or a specific user. IMPORTANT: resource values are raw integers (bytes for memory, millicores for CPU). Convert these to human-readable formats (e.g., GiB or Cores) before presenting to the user.
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": {
"partitionName": "<partitionName>"
},
"name": "get_user_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userName | No | ||
| partitionName | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |