Add system_information example
This commit is contained in:
parent
c8ed318e17
commit
53538b65b1
5 changed files with 130 additions and 6 deletions
|
|
@ -589,8 +589,6 @@ pub fn run_command<Message: 'static + std::fmt::Debug + Send, E: Executor>(
|
|||
system_kernel: system.kernel_version(),
|
||||
system_version: system.long_os_version(),
|
||||
cpu_brand: cpu.brand().into(),
|
||||
cpu_vendor: cpu.vendor_id().into(),
|
||||
cpu_name: cpu.name().into(),
|
||||
cpu_cores: system.physical_core_count(),
|
||||
memory_total: system.total_memory(),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue