LinuxQuestions.org
Review your favorite Linux distribution.
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 07-30-2001, 03:42 AM   #1
Supraj
LQ Newbie
 
Registered: Jul 2001
Location: kolkata,india
Posts: 17

Rep: Reputation: 0
Question How to see the hardware resources of my machine.


dear all,

Is there any command in linux which allows to see all the hardware resources of your computer...i know there are such commands in other blends of unix like hinv command in Irix platform lists all the drives , tape drive etc. present in your computer...soliciting your early replies.

thx n' regrds

suprajccvv
 
Old 07-30-2001, 04:44 AM   #2
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
If I understand your question correctly, /proc holds most of that information. Try the following:

cat /proc/pci
cat /proc/interrupts
cat /proc/ioports
 
Old 07-30-2001, 05:11 AM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
For PCI kit there is also lspci

cheers

Jamie...
 
Old 07-30-2001, 09:23 PM   #4
Supraj
LQ Newbie
 
Registered: Jul 2001
Location: kolkata,india
Posts: 17

Original Poster
Rep: Reputation: 0
thx a lot friends for your kind help..lspci is for pci devices but suppose i want to know about the IDE devices ,say my hard disk or tape drive than what is the procedure ?
 
Old 07-31-2001, 05:43 AM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Have a look at some of the entries in /proc/ide

HTH

Jamie...
 
Old 07-31-2001, 10:11 PM   #6
Supraj
LQ Newbie
 
Registered: Jul 2001
Location: kolkata,india
Posts: 17

Original Poster
Rep: Reputation: 0
I have tried cat /proc/ide,but invalid argument message is coming.

cat: /proc/ide: Invalid argument

this message is being displayed.....I am logged in as root.
 
Old 08-01-2001, 08:16 PM   #7
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
/proc/ide is a sub-directory of proc, not a file, so you can't use cat. You'll have to navigate down into /proc/ide's subdirectories, where the actual info files live. Of course, if you have X installed, this can all be done with the many GUI-based system monitoring/info tools available in KDE, Gnome, etc.

BTW- Strangely enough, trying to cat any "real" directory/filesystem will give you the slightly more informative "cat: /<directory_name>: Is a directory" error. I think because /proc is a virtual filesystem, you get the "Invalid Argument" error instead. Any gurus out there have the definitive answer on that one?

Last edited by DMR; 08-01-2001 at 08:20 PM.
 
Old 08-01-2001, 09:59 PM   #8
Supraj
LQ Newbie
 
Registered: Jul 2001
Location: kolkata,india
Posts: 17

Original Poster
Rep: Reputation: 0
thx everybody for your co-operation in sorting out my problem.....will be coming with more silly questions to trouble u all..ha ha....cheer up.
 
  


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
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 12:23 PM
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 10:20 AM
leaving a machine on 24/7. whats the impact on hardware life-span ??? qwijibow Linux - Hardware 8 01-23-2005 07:12 PM
Hardware Conflict Crashses Machine brainless8888 Linux - Hardware 0 05-31-2004 01:05 PM
Client machine hardware and software detection using a program in red hat 9 network. Mohit.Project Linux - Networking 1 01-28-2004 01:46 PM


All times are GMT -5. The time now is 01:39 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