1825882 Members
2853 Online
109689 Solutions
New Discussion

ioscan

 
SOLVED
Go to solution
Tammy Liang
Regular Advisor

ioscan

Is there a similiar command at Linux RedHat
as "ioscan" on HP-UX?
Or is there any command or tool that I can use
on linux to check out what hardware I have on
the system?

Thanks for any help...

take easy, enjoy life
16 REPLIES 16
Steven E. Protter
Exalted Contributor

Re: ioscan

In the gui there is a point and click hardware checker.

Those that follow me will post a few commands than mimic ioscan functions.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tammy Liang
Regular Advisor

Re: ioscan

Thanks, Steve. I am mainly looking for the commands that can enter via command line.
We don't have GUI on our linux systems.
take easy, enjoy life
Hazem Mahmoud_3
Respected Contributor

Re: ioscan

Unfortunately there is no all-inclusive ioscan command like HP-UX. You would have to use several other commands to get different information about they system (ie: ifconfig, etc.)
Another option is to use something called "hwbrowser". You can get it from here:
http://rpmfind.net/linux/RPM/ASP/i386/RPMS.9/hwbrowser-0.8-9.noarch.html
I personally have not tried this yet.

-Hazem
Hazem Mahmoud_3
Respected Contributor

Re: ioscan

I just read your post, in that case forget about the hwbrowser option.

-Hazem
Stuart Browne
Honored Contributor

Re: ioscan

Have you tried:

cdrecord -scanbus

It's good for scanning SCSI bus's
One long-haired git at your service...
Martin P.J. Zinser
Honored Contributor
Solution

Re: ioscan

Hello Tammy,

have a look at lshw

http://ezix.sourceforge.net/software/lshw.html

It has an "ioscan-like" output mode.

Greetings, Martin
Karthik S S
Honored Contributor

Re: ioscan

With lshw I had some problems installing. Refer to,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=493910

it works fine ...

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
dirk dierickx
Honored Contributor

Re: ioscan

/proc is your friend.

everything you want to know on hardware and more is in there, you can simply 'cat' the files to get info.

like 'cat /proc/pci' will give you all info on the pci bus and connected cards/devices, likewise 'cat /proc/cpuinfo' will show you all details on cpu's etc...
Tammy Liang
Regular Advisor

Re: ioscan

Thanks all, especially Martin. I install lshw and it works.
I just have one more question. lshw is opensource free software that can be installed on my linux, right?

Thanks...
take easy, enjoy life
Tammy Liang
Regular Advisor

Re: ioscan

Stuart, There is no cdrecord command in my linux. Is it opensource free software that I can download and install it? I do have "lspci" command on my RH.
take easy, enjoy life
Martin P.J. Zinser
Honored Contributor

Re: ioscan

Hello Tammy,

lshw is licensed under the GPL, the full text can be found in the COPYING file that came with the source code. Essentially it means you can use it for free, but can not claim it as your own and sell it to others.

Greetings, Martin
Tammy Liang
Regular Advisor

Re: ioscan

Thanks, Martin...
take easy, enjoy life
Tammy Liang
Regular Advisor

Re: ioscan

I got error message when I try to compile and
install lshw on redhat 7 (Kernel 2.4.18-3)
The error message is below:

[root@akrengcvs1 lshw-A.01.06]# make all
c++ -g -Wall -c usb.cc -o usb.o
usb.cc: In function `string BCDversion (short unsigned int)':
usb.cc:216: `snprintf' undeclared (first use this function)
usb.cc:216: (Each undeclared identifier is reported only once for each
function it appears in.)
make: *** [usb.o] Error 1

I am not familiar with c++ with function.
Am I missing library that include snprintf function?

Thanks for any help..
take easy, enjoy life
Martin P.J. Zinser
Honored Contributor

Re: ioscan

Hello Tammy,

the file mentioned does miss the line

#include

And just for completeness, somebody else figured this in another thread here in the forums.

Greetings, Martin
Tammy Liang
Regular Advisor

Re: ioscan

Thanks Martin. I found the thread after I post the question...
take easy, enjoy life
Agam Upadhyay
New Member

Re: ioscan

Closest would be "/sbin/lspci". Do a "man lspci " for options.