1
0
This commit is contained in:
syui 2024-02-10 23:25:48 +09:00
parent b41edcb693
commit fb4d801972
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -179,7 +179,7 @@ pub fn c_ascii(x: &str) {
println!("total memory: {} bytes", sys.total_memory()); println!("total memory: {} bytes", sys.total_memory());
println!("System name: {:?}", System::name().unwrap()); println!("System name: {:?}", System::name().unwrap());
println!("System kernel version: {:?}", System::kernel_version().unwrap()); println!("System kernel version: {:?}", System::kernel_version().unwrap());
println!("System OS version: {:?}", System::os_version().unwrap()); //println!("System OS version: {:?}", System::os_version().unwrap());
println!("System host name: {:?}", System::host_name().unwrap()); println!("System host name: {:?}", System::host_name().unwrap());
println!("NB CPUs: {}", sys.cpus().len()); println!("NB CPUs: {}", sys.cpus().len());