Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dmidecode

Status
Not open for further replies.

cndcadams

IS-IT--Management
Feb 11, 2004
725
US
messing around with dmidecode and documentation shows the ability to run command such as below but getting an error. Has anyone ever run into this or direct me on what I am doing wrong

dmidecode --type 17 (this would be for memory)

but I get
dmidecode --type 17
--type: No such file or directory

I am rather confused why it is looking for a directory.

dmidecode by itself runs fine.
 
What does dmidecode --help give you? And dmidecode --version? Does it definitely match the documentation you're reading?

dmidecode --type 17 works fine for me with version 2.10 on RHEL 5.5.

Annihilannic
[small]tgmlify - code syntax highlighting for your tek-tips posts[/small]
 
lots to learn that is for sure
Red Hat Enterprise Linux AS release 4 (Nahant Update 5) I am running this version because that was the highest version the Sun X4100 version had support through the Sun Installation Assistant CD.

so none of the dmidecode -- commands work

When I run dmidecoe by itslef is show
# dmidecode 2.2
which I assume is the running version but I could be wrong?

I installed dmidecode 2.11 see output below but it seems when I run dmidecode it still shows 2.2????

[root@x4100 proc]# rpm -qi dmidecode
Name : dmidecode Relocations: (not relocatable)
Version : 2.11 Vendor: Dag Apt Repository, Release : 0.1.el4.rf Build Date: Mon 16 May 2011 08:35:10 AM EDT
Install Date: Wed 31 Aug 2011 03:44:32 PM EDT Build Host: lisse.hasselt.wieers.com
Group : System Environment/Base Source RPM: dmidecode-2.11-0.1.el4.rf.src.rpm
Size : 206427 License: GPLv2+
 
In RHEL4 the standard dmidecode is part of the kernel-utils package, so your alternative package may have chosen to install it elsewhere. Try rpm -ql dmidecode to see where it has placed the files and make sure you're running the right binary.

Annihilannic
[small]tgmlify - code syntax highlighting for your tek-tips posts[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top