The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DMI::Decode - Perl extension for extracting DMI Information

SYNOPSIS

  #!/usr/bin/perl 

  use strict;
  use warnings;
  use DMI::Decode;

  my $dmi = new DMI::Decode;

  my $bios = $dmi->bios_information;
 
  print "Vendor: " . $bios->{vendor}, "\n";
  print "Version: " . $bios->{version}, "\n";
  print "Rom Size: " . $bios->{romsize}, "\n";
  print "Runtime Size: " . $bios->{runtime}, "\n";
  print "Release Date: " . $bios->{release}, "\n";
 
  foreach (@{$bios->{characteristics}}) { print "\t\t$_\n"; }

DESCRIPTION

DMI::Decode - is a library that provides a object oriented way to display the DMI (Desktop Managment Information) some say SMBIOS (System Managment Basic Input Output System) of your computer.

METHODS

new($filename)

- constructor. Optionally accepts a filename argument. Returns DMI::Decode object. The default filename is /dev/mem.

smbios_version()

- method. Returns a hash reference to the SMBIOS version.

bios_information()

- method. Returns a hash reference to the bios information.

system_information()

- method. Returns a hash reference to the system information.

base_board_information()

- method. Returns a hash reference to the mother board information.

processor_information()

- method. Returns a hash reference to the processor information.

EXPORT

None by default.

SEE ALSO

 http://www.nongnu.org/dmidecode/, http://linux.dell.com/libsmbios/, http://sourceforge.net/projects/x86info/, 
 http://www.dmtf.org/standards/smbios, biosdecode(8), dmidecode(8), vpddecode(8) 

AUTHOR

Russell W. Pettway, <russell_pettway@yahoo.com>

COPYRIGHT AND LICENSE

Copyright (C) 2004 by Russell W. Pettway

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or, at your option, any later version of Perl 5 you may have available.