nukescripts.hardwareinfo.HardwareInfo

class nukescripts.hardwareinfo.HardwareInfo[source]

Bases: object

Methods

MapDictionaries

ParseProcVersion

RunCmdWin

SafeCall

getRegistryNumSubKeys

getRegistryValue

getWindowsL2Cache

getWindowsMachineName

getWindowsOSVersion

getWindowsRam

initLinux

initMac

Initialises the object for mac - relies on system_profiler being in the path

initMacHardware

initMacSoftware

initWin

parseCPUInfo

parseMemInfo

parseProcInfo

parseProcInfoStr

parseProcSimple

printDict

outputs the elements from pDict in XML structure, nesting when an element contains another dict

printXML

testCatCommand

initMac()[source]

Initialises the object for mac - relies on system_profiler being in the path

printDict(pDict, handle, indentLevel=1)[source]

outputs the elements from pDict in XML structure, nesting when an element contains another dict