10-20-2004
First, if you did a search on ioscan, you would have found quite a few threads with that subject.
Second, what OS is this you are using? Hard to tell since some UNIX don't have a ioscan (HP and AIX do - Solaris doesn't). And some don't have a search command. Giving enough (and basic ) information will get you an answer more quickly.
And third, this forum "What's on your mind" is more for chatting about things other than UNIX - you should look at the different forums and try to put your questions in one that fits.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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. HP-UX
Hi,
what is the difference in these two commands/
#ioscan -funC disk
#ioscan -knfC disk
To me both the commands produce the same information.
regards
jennifer:( (1 Reply)
Discussion started by: jennifer
1 Replies
3. Solaris
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
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
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
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
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
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
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
10. UNIX for Dummies Questions & Answers
HI Guys,
I hope you are well. I am trying to write a script that gets executed every time i open a shell (cshell). I have two questions about that
1) I need to enter these commands
$ echo $DISPLAY
$ setenv $DISPLAY output_of_echo_$display_command
How can i write a... (2 Replies)
Discussion started by: kaaliakahn
2 Replies
LEARN ABOUT PHP
str_ireplace
STR_IREPLACE(3) 1 STR_IREPLACE(3)
str_ireplace - Case-insensitive version ofstr_replace(3).
SYNOPSIS
mixed str_ireplace (mixed $search, mixed $replace, mixed $subject, [int &$count])
DESCRIPTION
This function returns a string or an array with all occurrences of $search in $subject (ignoring case) replaced with the given $replace
value. If you don't need fancy replacing rules, you should generally use this function instead of preg_replace(3) with the i modifier.
PARAMETERS
If $search and $replace are arrays, then str_ireplace(3) takes a value from each array and uses them to search and replace on $subject. If
$replace has fewer values than $search, then an empty string is used for the rest of replacement values. If $search is an array and
$replace is a string, then this replacement string is used for every value of $search. The converse would not make sense, though.
If $search or $replace are arrays, their elements are processed first to last.
o $search
- The value being searched for, otherwise known as the needle. An array may be used to designate multiple needles.
o $replace
- The replacement value that replaces found $search values. An array may be used to designate multiple replacements.
o $subject
- The string or array being searched and replaced on, otherwise known as the haystack. If $subject is an array, then the search
and replace is performed with every entry of $subject, and the return value is an array as well.
o $count
- If passed, this will be set to the number of replacements performed.
RETURN VALUES
Returns a string or an array of replacements.
EXAMPLES
Example #1
str_ireplace(3) example
<?php
$bodytag = str_ireplace("%body%", "black", "<body text=%BODY%>");
?>
NOTES
Note
This function is binary-safe.
Caution
Replacement order gotcha
Because str_ireplace(3) replaces left to right, it might replace a previously inserted value when doing multiple replacements.
Example #2 in the str_replace(3) documentation demonstrates how this may affect you in practice.
SEE ALSO
str_replace(3), preg_replace(3), strtr(3).
PHP Documentation Group STR_IREPLACE(3)