This commit is contained in:
Tsanie Lily 2025-03-18 10:21:53 +08:00
parent c0d6450a87
commit 73647e3fad

View File

@ -439,27 +439,27 @@ __PACKAGE__->register_method({
}, },
}, },
cpu => { cpu => {
description => "The current cpu usage.",
type => "number", type => "number",
description => "The current cpu usage.",
}, },
cpuinfo => { cpuinfo => {
type => "object", type => "object",
properties => { properties => {
cores => { cores => {
description => "The number of physical cores of the CPU.",
type => "integer", type => "integer",
description => "The number of physical cores of the CPU.",
}, },
cpus => { cpus => {
description => "The number of logical threads of the CPU.",
type => "integer", type => "integer",
description => "The number of logical threads of the CPU.",
}, },
model => { model => {
description => "The CPU model",
type => "string", type => "string",
description => "The CPU model",
}, },
sockets => { sockets => {
description => "The number of logical threads of the CPU.",
type => "integer", type => "integer",
description => "The number of logical threads of the CPU.",
}, },
}, },
}, },