LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2013, 05:24 AM   #1
DrTek
LQ Newbie
 
Registered: Oct 2013
Location: Barcelona
Distribution: CentOS 6.4, ElementaryOS Luna, Ubuntu, Ubuntu Server, and other Linux flavors.
Posts: 17

Rep: Reputation: Disabled
Alternatives to lsdev on CentOS/Ubuntu


Hi there:

I was following the book LPI Linux Certification on a Nutshell 3rd Ed. from the O'Reilly publisher, and on the first chapter it talks about lsdev. As I've understood it gathers info from DMA files on /proc to display information about my system hardware. The point is, I've tried to run lsdev both on CentOS 6 and Ubuntu Server, and it looks that it doesn't come default on both. Then I've searched linuxquestions.org since I was sure I'm not the first one to find this problem, and someone suggested to install the package procinfo in order to install lsdev on CentOS. I couldn't find that package neither on the standard repositories nor on elrepo elep ones. So, my question is, what alternative I've got to get the info lsdev shows with the same format it does?

Thanks people!

j
 
Old 10-14-2013, 05:53 AM   #2
GNU/Linux
Member
 
Registered: Sep 2012
Distribution: Slackware-14
Posts: 120

Rep: Reputation: Disabled
Try 'lspci' or 'lspci -v'.
 
1 members found this post helpful.
Old 10-14-2013, 05:56 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Another hardware related command on RHEL/CentOS: lshal

EDIT:

You might want to instal lshw

Last edited by druuna; 10-14-2013 at 05:57 AM.
 
1 members found this post helpful.
Old 10-14-2013, 10:07 AM   #4
DrTek
LQ Newbie
 
Registered: Oct 2013
Location: Barcelona
Distribution: CentOS 6.4, ElementaryOS Luna, Ubuntu, Ubuntu Server, and other Linux flavors.
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks! I think I could survive with lspci-v, but I give a try to lshw. I've read the man for lshal, and it states that it reads the contents of /usr/share/doc/hal-0.5.14/spec/hal-spec.html but I've been looking for that file, and it doesn't appear on my system. Do you have any clue where it could be lshal reading from? Thanks, again!
 
Old 10-14-2013, 10:59 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by DrTek View Post
I've read the man for lshal, and it states that it reads the contents of /usr/share/doc/hal-0.5.14/spec/hal-spec.html but I've been looking for that file, and it doesn't appear on my system. Do you have any clue where it could be lshal reading from?
I'm not 100% sure on this one, but I do believe that hal (hald) hooks into the lower level udev.
 
Old 10-15-2013, 02:01 AM   #6
DrTek
LQ Newbie
 
Registered: Oct 2013
Location: Barcelona
Distribution: CentOS 6.4, ElementaryOS Luna, Ubuntu, Ubuntu Server, and other Linux flavors.
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks for the help. Now I've got a better understanding of what hal is, but I will not bother to go further on that since as I've read on the wikipedia page you linked, is going to be dropped for udev.
 
  


Reply

Tags
centos6, ubuntu server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why don't i have lsdev and lsscsi in centOS? lnthai2002 Linux - Distributions 7 08-24-2015 12:20 PM
LXer: Top 4 Lightweight, Official Ubuntu Based Alternatives for Ubuntu 11.04's Unity 3D LXer Syndicated Linux News 0 05-18-2011 08:30 PM
RHEL MRG alternatives for CentOS zcrxsir88 Linux - Enterprise 4 03-03-2010 04:59 PM
lsdev for linux redhawk1973 Linux - Software 4 05-24-2007 11:44 AM
how put lsdev on debian? xcore_on Linux - Newbie 2 04-19-2006 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration