mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
lscpu: Show hypervisor_vendor_id if present
This commit is contained in:
parent
33004f9b9d
commit
4f35c206e4
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ static void print_cpu_info(JsonObject const& value)
|
|||
{
|
||||
outln("CPU {}:", value.get("processor").as_u32());
|
||||
outln("\tVendor ID: {}", value.get("vendor_id").as_string());
|
||||
if (value.has("hypervisor_vendor_id"))
|
||||
outln("\tHypervisor Vendor ID: {}", value.get("hypervisor_vendor_id").as_string());
|
||||
outln("\tBrand: {}", value.get("brand").as_string());
|
||||
outln("\tFamily: {}", value.get("family").as_u32());
|
||||
outln("\tModel: {}", value.get("model").as_u32());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue