Skip to content

Get Current CPU information

GET
/info/cpu
curl --request GET \
--url https://sylve.lan:8181/api/info/cpu \
--header 'Authorization: <Authorization>'

Retrieves real-time CPU info

Success

Media typeapplication/json
object
data
object
architecture
string
Allowed values: amd64 386 arm arm64 riscv64 ppc64 ppc64le s390x wasm loong64
cache
object
l1d
integer
l1i
integer
l2
integer
l3
integer
cacheLine
integer
family
integer
features
Array<string>
frequency
integer
logicalCores
integer
model
integer
name
string
physicalCores
integer
sockets
integer
threadsPerCore
integer
usage
number
error
string
message
string
status
string
Example
{
"data": {
"architecture": "amd64"
}
}

Internal Server Error

Media typeapplication/json
object
data
error
string
message
string
status
string
Examplegenerated
{
"data": "example",
"error": "example",
"message": "example",
"status": "example"
}