Linux hard disk health monitoring

Wmic needs to be installed, which can be used under linux and can be used after installation. Here is an example.

Import wmi_client_wrapper as wmi.

wmic = wmi。 WmiClientWrapper(

User name = "Administrator",

Password = "password",

host = " 192. 168. 1. 149 ",

)

output = wmic . query(" SELECT * FROM Win32 _ Processor ")