Return to Snippet

Revision: 46964
at May 28, 2011 01:43 by silviud


Initial Code
import dmidecode


s = dmidecode.system()

for k,v in s.iteritems():
    if v.has_key('data'):
        if v['data'].has_key('UUID'):
            print v['data']['UUID']

Initial URL

                                

Initial Description

                                

Initial Title
UUID - of motherboard

Initial Tags
python, unix, linux

Initial Language
Python