Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: hackin" dmidecode

by bart (Canon)
on Apr 19, 2011 at 12:52 UTC ( #900106=note: print w/replies, xml ) Need Help??


in reply to hackin" dmidecode

Your code snippet comes straight out of the module synopsis, so far for "original work". And of course it will not do what you want.

And looking over the module source, I can find no mention of the word "host". So I don't think the module does it.

As it apparently is just an interface to a command line tool "dmidecode" which doesn't even take arguments (in this module), I can only recommend to run the command line tool by hand and see if the data you're after is even there. If it is, you might be able to amend the module to produce the info you're after.

BTW the man page for dmidecode doesn't mention "host" either.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://900106]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2022-08-11 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?