capture-machine¶
Captures system information including CPU, memory, OS, and hostname.
Use Cases¶
- Track hardware specifications
- Debug platform-specific issues
- Correlate results with system capabilities
- Document resource requirements
Configuration¶
No configuration options needed.
Output Example¶
Fields that cannot be retrieved on the machine, for example because the platform does not support them, are omitted from the output instead of failing the hook. A warning is logged for each omitted field. Only architecture is always present.
{
"__meta": {
"id": "capture-machine",
"config": {},
"success": true
},
"hostname": "macbook-pro.local",
"os": "Darwin",
"os_version": "25.2.0",
"kernel_version": "25.0.0",
"architecture": "aarch64",
"total_memory": 68719476736,
"cpus": [
{
"name": "1",
"brand": "Apple M3 Max",
"vendor_id": "Apple",
"frequency_mhz": 4056
},
{
"name": "2",
"brand": "Apple M3 Max",
"vendor_id": "Apple",
"frequency_mhz": 4056
}
]
}