Sponsored Content
Full Discussion: ioscan
Operating Systems HP-UX ioscan Post 11015 by Perderabo on Tuesday 27th of November 2001 10:33:23 AM
Old 11-27-2001
The -k lists everything in the kernel's internal data structures. The -u lists usable entries.

Yes, when you limit things to disks, they are the same. But compare "ioscan -ufn" and "ioscan -kfn". With the -k, you will see entries for cpu and memory. There are no drivers for cpus and memory (/dev/mem is a psuedo driver). We also have some UNCLAIMED entries on our -k listing since we have some hardware connected that doesn't have a driver. Until a driver claims them, those devices are also unusable.

So the -u and -k are indeed different. But "-kC disk" and "-uC disk" are indeed redundant. By the time the kernel knows an entry is a disk, it must also be usable. "Usable" in this context means the kernel can attempt an open on the device, not that the device is working properly.

I'm not absolutely certain that it is impossible to create an unusable disk entry in the kernel, but there is no documented way to do so. But if /etc/ioconfig is badly garbled, maybe ioinit could do it at boot time. Also ioscan, insf, rmsf,...etc all work by opening /dev/config and sending undocumented ioclt's to it. I'm not sure how much checking is done so maybe a program could open /dev/config and fiddle with it.
This User Gave Thanks to Perderabo For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ioscan

Hi, I am looking for a similar 'ioscan' command in solaris 2.7. Is there any ? (5 Replies)
Discussion started by: guest100
5 Replies

2. What is on Your Mind?

IOSCAN Command

I need to know what is the differance between ioscan comand and search command ,in addition I search in your site for more details on ioscan command but I found nothing. (1 Reply)
Discussion started by: Kaswara
1 Replies

3. Solaris

SUN Solaris "ioscan"

Hi, What is the equivelent command for ioscan from HP in SUN, i.e I need to display all hardware devies with path/driver/stats etc. regards, Ahmed (2 Replies)
Discussion started by: Ahmad
2 Replies

4. HP-UX

Question about UNIX ioscan command

Hello there. I have a question regarding the ioscan commnad. When you execute the line ioscan -fnC processor it outputs a list of all processors in the machine. Does this list displays only physical CPUs or does it displays each core? For example, if i have a server with 1 Dual Core... (10 Replies)
Discussion started by: Spilson
10 Replies

5. HP-UX

ioscan on HP-UX 9.1

I am trying to work out the logical device name on a HP 9000 system running HP-UX 9.1. I see that ioscan-fnC disk looks like the command on later versions of HP-UX unfortunately it seems the n option is not available on 9.1. The output from ioscan -fC disk is:- Class H/W Path Driver H/W... (3 Replies)
Discussion started by: malcqv
3 Replies

6. Solaris

Solaris equivalent of the ioscan command

What is the Solaris equivalent of the HP-UX "ioscan -funC" command which lists all hardware on the system? (5 Replies)
Discussion started by: etc
5 Replies

7. Solaris

How to solve "ioscan -En" hardware errors

Hi, I found devices errors in #ioscan -En. it is showing that soft errors = 0 and hard errors= 5. what should i do for hard errors=0. Thanks. (4 Replies)
Discussion started by: arjunreddy3
4 Replies

8. HP-UX

ioscan command

Hi all ! I'm a newbie in HP-Unix . In HP-Unix ,'ioscan' command is used to scan I/O system but I don't know what the 'ioscan' command is in Linux/Unix ? I cannot find it in Linux/Unix OS . Thanks (2 Replies)
Discussion started by: nemoflich
2 Replies

9. Solaris

ioscan -En how to exclude tapes?

i would like to list all disks, but this command with these options list tapes too. i donīt find out an option which list only the class like ioscan in hp-ux. could anybody help me? thanks a lot. (2 Replies)
Discussion started by: pabloli150
2 Replies
iostat(1)						      General Commands Manual							 iostat(1)

NAME
iostat - report I/O statistics SYNOPSIS
[interval [count]] DESCRIPTION
iteratively reports I/O statistics for each active disk on the system. Disk data is arranged in a four-column format: Column Heading Interpretation -------------------------------------------------- device Device name bps Kilobytes transferred per second sps Number of seeks per second msps Milliseconds per average seek If two or more disks are present, data is presented on successive lines for each disk. To compute this information, seeks, data transfer completions, and the number of words transferred are counted for each disk. Also, the state of each disk is examined times per second (as defined in and a tally is made if the disk is active. These numbers can be combined with the transfer rates of each device to determine average seek times for each device. With the advent of new disk technologies, such as data striping, where a single data transfer is spread across several disks, the number of milliseconds per average seek becomes impossible to compute accurately. At best it is only an approximation, varying greatly, based on several dynamic system conditions. For this reason and to maintain backward compatibility, the milliseconds per average seek field is set to the value 1.0. Options recognizes the following options and command-line arguments: Report terminal statistics as well as disk (or lunpath) statistics. When used with the option, lunpath and terminal statistics are displayed. Terminal statistics include: Number of characters read from terminals. Number of characters written to terminals. Percentage of time system (active processors) has spent in user mode. Percentage of time system (active processors) has spent in user mode running low-priority (nice) processes. Percentage of time system (active processors) has spent in system mode. Percentage of time system (active processors) has spent idling. interval Display successive lines which are summaries of the last interval seconds. The first line reported is for the time since a reboot and each subsequent line is for the last interval only. count Repeat the statistics count times. Report active lunpath statistics. When used with the option, lunpath and terminal statistics are reported. The lunpaths are not displayed in any specific order, and the current order may change in future releases. Lunpath data is arranged in a four-column format: symbolic name of the lunpath of the form: diskm_lunpathn, where m is the instance number of LUN and n is the instance number of lunpath. For example, in disk47_lunpath7, m is 47 and n is 7. These instance numbers are displayed by using the option for the LUN and lunpath entries. For more information on LUN and lunpath hardware path, refer to intro(7). Kilobytes transferred per second. Number of seeks per second. Milliseconds per average seek. For multiple lunpaths, data is presented on successive lines for each active lunpath. If no lunpaths were active, a blank line is printed. EXAMPLES
Show current I/O statistics for all disks: Display I/O statistics for all disks every 10 seconds until INTERRUPT or QUIT is pressed: Display I/O statistics for all disks every 10 seconds and terminate after 5 successive readings: Display I/O statistics for all disks every 10 seconds, also show terminal and processor statistics, and terminate after 5 successive read- ings: Display I/O statistics for all active lunpaths: Display I/O statistics for all active lunpaths every 10 seconds until INTERRUPT or QUIT is pressed: Display I/O statistics for all active lunpaths every 10 seconds, and terminate after 5 successive readings: Display I/O statistics for all active lunpaths every 10 seconds, also show terminal and processor statistics, and terminate after 5 succes- sive readings: WARNINGS
Users of must not rely on the exact field widths and spacing of its output, as these will vary depending on the system, the release of HP- UX, and the data to be displayed. AUTHOR
was developed by the University of California, Berkeley, and HP. FILES
SEE ALSO
vmstat(1), ioscan(1M), intro(7). iostat(1)
All times are GMT -4. The time now is 07:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy