system · Command reference
qzx getCpuLoad
What it does
Gets information about current CPU usage
Command maturity: Alpha
Available for real use and feedback while its interface and behavior can still evolve. This is the current development-checkout assessment. Every future immutable release tag preserves the exact assessment shipped by that version. Available in PyPI 0.2.2.0.8. This page documents the 0.2.2.0.8 alpha development checkout.
Behavior and built-in protections
Inspects without changing state
Direct execution for this operation
Works without invoking native programs
Works without network access
No elevation required by design
This safety classification was reviewed by OpenAI GPT-5.6 Pro against implementation digest sha256:ae96a6c23b67ae3705858f279c89882732e52e80ebe193e2cc5a873db9f5c2ce on 2026-08-25.
Exact syntax
qzx getCpuLoad [interval] --jsonParameters
Swipe or use the horizontal scrollbar to see every column.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| interval | float | No | 1 | Time interval (in seconds) to calculate CPU usage |
Input examples
qzx getCpuLoadGet CPU usage information with 1-second interval
qzx getCpuLoad 0.5Get CPU usage information with 0.5-second interval
For the complete structured payload, add --json: qzx getCpuLoad [interval] --json
Representative output example
This illustrative JSON is derived from the current implementation-backed result contract. It shows what the command can return without claiming a recorded execution; values vary with inputs, host, permissions, and optional tools.
Example command: qzx getCpuLoad --json
{
"success": true,
"message": "Gets information about current CPU usage. In this illustrative example, the command completed successfully.",
"meta": {
"command": "getCpuLoad",
"command_maturity": {
"stage": "alpha",
"label": "Alpha",
"sequence": 2,
"public_executable": true,
"stability": "interface_may_change",
"summary": "Available for real use and feedback while its interface and behavior can still evolve.",
"promotion_review_required": false,
"assessment_scope": "development_checkout"
},
"duration_ms": 0,
"schema_version": 1
},
"cores_count": 3,
"frequency": "Example value",
"load_average": {
"1min": "Example value",
"5min": "Example value",
"15min": "Example value"
},
"overall_percent": 42.7,
"per_core": [
18.2,
23.5,
12.1,
29.8
],
"per_core_frequency": "Example value",
"times_percent": 42.7
}View the JSON result contract
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": [
"success",
"message",
"meta"
],
"properties": {
"success": {
"type": "boolean"
},
"message": {
"type": "string"
},
"meta": {
"type": "object",
"required": [
"command",
"command_maturity",
"duration_ms",
"schema_version"
],
"properties": {
"command": {
"type": "string"
},
"command_maturity": {
"type": "object",
"required": [
"stage",
"label",
"sequence",
"public_executable",
"stability",
"summary",
"promotion_review_required",
"assessment_scope"
],
"properties": {
"stage": {
"type": "string"
},
"label": {
"type": "string"
},
"sequence": {
"type": "integer"
},
"public_executable": {
"type": "boolean"
},
"stability": {
"type": "string"
},
"summary": {
"type": "string"
},
"promotion_review_required": {
"type": "boolean"
},
"assessment_scope": {
"type": "string"
},
"note": {
"type": "string"
},
"review": {
"type": "object",
"required": [
"reviewed_on",
"rationale",
"evidence"
],
"properties": {
"reviewed_on": {
"type": "string",
"format": "date"
},
"rationale": {
"type": "string"
},
"evidence": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
},
"replacement": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": true
},
"duration_ms": {
"type": "number"
},
"schema_version": {
"type": "integer"
}
},
"additionalProperties": true
},
"cores_count": [],
"error": {
"type": "string"
},
"frequency": [],
"load_average": {
"type": "object",
"properties": {
"1min": [],
"5min": [],
"15min": []
},
"additionalProperties": true
},
"overall_percent": [],
"per_core": {
"type": "array"
},
"per_core_frequency": [],
"times_percent": []
},
"additionalProperties": true
}Errors and limits
The public contract requires success=false and a descriptive message on failure. This catalog does not yet declare a command-specific error taxonomy; inspect the result and do not invent error codes.
QZX is alpha software. Optional dependencies, permissions, and host capabilities can change the result.
Evidence workflow: ready for deterministic automated capture.
Evidence and provenance
- Implementation
- src/qzx/commands/system/get_cpu_load.py
- Tests
- No command-specific test file with the same module name was found; this does not prove that all coverage is absent.
- Documentation channel
- Development documentation 0.2.2.0.8 · main · sha256:9aa902dfb6b006017e52972bf7871fef49b03ec24ff80741231d743d0354bfc2
- Availability
- 0.2.2.0.8 or earlier
Keep exploring
Related commands
These commands also belong to the system category. Compare them to choose the operation that best fits your task.
qzx explainFileWithGeminiPreviews and optionally sends bounded file samples to Google Gemini for explanationqzx getCurrentDateTimeReports the current local date and time with timezone, calendar, ISO-week, and timestamp detailsqzx diagnoseStorageDiagnoses storage pressure by combining disk capacity, large-file discovery, and byte-verified duplicate analysis without deleting anythingqzx getCurrentDirectoryShows the current working directory