linux下
dmidecode
Usage: dmidecode [OPTIONS]Options are:-d, --dev-mem FILE Read memory from device FILE (default: /dev/mem)-h, --help Display this help text and exit-q, --quiet Less verbose output-s, --string KEYWORD Only display the value of the given DMI string-t, --type TYPE Only display the entries of given typeValid type keywords are:biossystembaseboardchassisprocessormemorycacheconnectorslot-H, --handle HANDLE Only display the entry of given handle-u, --dump Do not decode the entries--dump-bin FILE Dump the DMI data to a binary file--from-dump FILE Read the DMI data from a binary file--no-sysfs Do not attempt to read DMI data from sysfs files--oem-string N Only display the value of the given OEM string-V, --version Display the version and exit
windows下
Get-WmiObject[-Class] <String>[[-Property] <String[]>][-Filter <String>][-Amended][-DirectRead][-AsJob][-Impersonation <ImpersonationLevel>][-Authentication <AuthenticationLevel>][-Locale <String>][-EnableAllPrivileges][-Authority <String>][-Credential <PSCredential>][-ThrottleLimit <Int32>][-ComputerName <String[]>][-Namespace <String>][<CommonParameters>]Get-WmiObject -Class Win32_ProcessGet-WmiObject -Class Win32_Service -ComputerName 10.1.4.62Get-WmiObject -Namespace "root/default" -List
