winops_sys_health
Check CPU, memory, and disk usage against thresholds to determine system health status. Get actionable sampling advice when performance degrades.
Instructions
Check system health against CPU/memory/disk thresholds.
Return Format
{
"success": true,
"status": "healthy" | "degraded" | "unhealthy",
"cpu_percent": float, "memory_percent": float, "disk_percent": float,
"sampling_advice": str // only when degraded/unhealthy and sampling available
}Examples
health()
health(detailed=True)Notes:
degraded: cpu>70% or mem>80% or disk>85%
unhealthy: cpu>90% or mem>90% or disk>95%
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detailed | No | Include full disk usage breakdown. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||