System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

IOSCAN equivalent command in Linux

 
Syed Fahimuddin
Occasional Advisor

IOSCAN equivalent command in Linux

Is there a command equivalent to ioscan ( HPUX ) in RedHat Linux.

-thanks
Hardwork is the essence of success
9 REPLIES
Huc_1
Honored Contributor

Re: IOSCAN equivalent command in Linux

There are a set of tools you can use, that will do most what ioscan does.

One tool you will find on most Redhat is
# sysreport

this is in fact use to gather as much information as posible to send to redhat so they can help you with "Probems", This will gather HW and SW information create a report for diagnotic purpose only and send this via mail to Redhat but you can run this and not send the mail (It will ask you to send the mail manualy)! I use this one in a while to save elsewhere in case of disaster so I now exactly what I had ! (The whole report is in a tar.bz2 file in /tmp)

there are also is also a lot of informations to be found by reading the file in the /proc directory like
#cat /proc/cupinfo

hope this help you along.

J-P (Jean-Pierre)
Smile I will feel the difference
Ross Minkov
Esteemed Contributor

Re: IOSCAN equivalent command in Linux


There is no direct equivalent, but...

/var/log/dmesg - upon booting the Linux kernel generates messages cataloging detected hardware.

The /proc filesystem contains pseudo-files which provide detailed hardware information. For example /proc/cpuinfo, proc/meminfo, etc.

The kudzu utility maintains a DB of detected and configured hardware, found at /etc/sysconfig/hwconf. As part of the boot process, kudzu compares the currently detected hardware to the stored DB. This comparison can be forced by calling the kudzu command directly. If new hardware is detected, or previousely existing hardware is removed, kudzu will attempt to automatically reconfigure the system, or steer the administrator to the appropriate interactive configuration utility.
Try this:
cat /etc/sysconfig/hwconf

hwbrowser provides a GUI that shows most of the detected hardware.

Tools not in RedHat Linux by default:
scsiadd & the new lshw
They are in Debian Linux

[root@rolin root]# lspci -vt
-[00]-+-00.0 Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub
+-01.0-[01]----00.0 nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro]
+-1e.0-[02]----08.0 Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller
+-1f.0 Intel Corp. 82801BA ISA Bridge (LPC)
+-1f.1 Intel Corp. 82801BA IDE U100
+-1f.4 Intel Corp. 82801BA/BAM USB (Hub #2)
\-1f.5 Intel Corp. 82801BA/BAM AC'97 Audio

usbview (GUI)

On RedHat also try dmidecode


HTH,
Ross
Steven E. Protter
Exalted Contributor

Re: IOSCAN equivalent command in Linux

Sivasingam Santhakumar
Frequent Advisor

Re: IOSCAN equivalent command in Linux

You can try
cat /proc/devices
dirk dierickx
Honored Contributor

Re: IOSCAN equivalent command in Linux

use the command lspci,

other then that you can 'cat' the following:
/proc/devices, /proc/interrupts, /proc/iomem, /proc/ioports

Re: IOSCAN equivalent command in Linux

Check out lshw at http://ezix.sourceforge.net/software/lshw.html

This will look and feel like ioscan..

use the command as lshw -short...

I found this through another thread on this forum but forgot which message..
Rick Garland
Honored Contributor

Re: IOSCAN equivalent command in Linux

There is the lshw command. This will go through the /proc filesystem and glean the info that will provide output you may be looking for.

Other option is the cfg2html script. There is a Linux version of this script available.

Nighwish
Frequent Advisor

Re: IOSCAN equivalent command in Linux

Hi

 

If you are trying to add some more disk's or lun's try fdisk -l

 

If the lun are correctly present they will show in the output of fdisk -l .

 

 

regards.

Nighwish
Frequent Advisor

Re: IOSCAN equivalent command in Linux

Also check Kudzu e hdparm ... Regards