LinuxQuestions.org
Visit Jeremy's Blog.
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 06-02-2009, 02:32 AM   #1
nithinh
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
Hardware configuration


Hello,
I'm working on a script that tries to find out all the information regarding the parameters of the system. I'm working from a red hat enterprise edition linux but would like the script to work in most linux distros.
Please help me with any command you can find in this regard.
I have already used /proc/cpuinfo , meminfo , dmidecode , top , hdparm , fdisk, smartctl , systool
Thanks for the time

Nithin
 
Old 06-02-2009, 02:43 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
lspci and lsusb
 
Old 06-02-2009, 06:58 AM   #3
nithinh
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Original Poster
Rep: Reputation: 0
sorry didn't mention
used that as well
 
Old 06-02-2009, 07:10 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
If you have already tried all those things, then tell us what additional functionality you need.
 
Old 06-02-2009, 09:26 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,603
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Hi,

What have you attempted to date? Do you have a sample so we can assist?

What about 'lshw'? The 'lshw' package is not always available but can be installed.
 
Old 06-03-2009, 01:40 AM   #6
nithinh
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Original Poster
Rep: Reputation: 0
I need to find out about lvm parameters,filesytem,kernel and tape drives. ALso plug and play devices, printer ,monitor,camera etc.
Commands I have used
dmidecode
lspci
cat /proc/cpuinfo
cat /proc/meminfo
cat /proc/interrupts
cat /proc/IOports
cat /proc/bus/ usb,input
lsusb
systool
hdparm
fdisk
smartctl
lvm pvs
df -aTh
mount -l
cat /etc/fstab
sysctl -a
top

Are there more?
I'm doin this so as to get familiar with hardware devices in various machines
So I don't want to spend time installing lshw in all of them
Thanks again.....
 
Old 06-03-2009, 08:18 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
lshw does an awesome job of getting the majority of hardware info. it's my tool of choice for that task as well. Takes less time to install lshw than to run all those separate commands imho.

lshal, hwinfo, report-hw are a couple other tools you missed.
 
  


Reply


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
How to consult the hardware configuration thelonius Debian 6 06-23-2007 07:32 PM
Hardware Configuration jstrope Fedora - Installation 2 08-25-2006 01:01 PM
Hardware configuration alint7 Linux - Hardware 0 02-11-2005 08:07 PM
hardware configuration bong.mau Linux - Hardware 0 04-22-2004 12:03 PM


All times are GMT -5. The time now is 04:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration