nukescripts.hardwareinfo.HardwareInfo¶
-
class
nukescripts.hardwareinfo.HardwareInfo[source]¶ Bases:
objectMethods
MapDictionariesParseProcVersionRunCmdWinSafeCallgetRegistryNumSubKeysgetRegistryValuegetWindowsL2CachegetWindowsMachineNamegetWindowsOSVersiongetWindowsRaminitLinuxInitialises the object for mac - relies on system_profiler being in the path
initMacHardwareinitMacSoftwareinitWinparseCPUInfoparseMemInfoparseProcInfoparseProcInfoStrparseProcSimpleoutputs the elements from pDict in XML structure, nesting when an element contains another dict
printXMLtestCatCommand