08-25-2014
Hi Dave,
As a pointer I can give nmap. You can scan networks and given ranges with it. It also has GUI called Zenmap, but I have never used that.
I can think only of nmap for this or some small script with netcat, but I think nmap would give you broader view of the network.
Regards
This User Gave Thanks to night_watcher For This Post:
6 More Discussions You Might Find Interesting
1. Solaris
when I "ls /dev/dsk/ ", I can see c0t0d0 and c0t2d0;
but when I use format command, I can only see c0t0d0 available;
why this happens? how many disk do I have on the machine? (I do not know that) (2 Replies)
Discussion started by: fredao
2 Replies
2. Shell Programming and Scripting
I am trying to make a bash script to scan subnets to see what hosts are available. Is it correct that you can not make the ping command time out less than a second? The script below works, but can take up to 255 seconds which is a bit long :( Is there a way to solve this using bash only?
<code>... (6 Replies)
Discussion started by: bronkeydain
6 Replies
3. UNIX for Dummies Questions & Answers
Hello All!
New Unix admin here, with a bit of a problem I can't seem to get a straight answer to..
I've been tasked with mapping out the topology (with IPs/Hostnames) of networks...remotely. So, I have SSH access to firewalls, but that's about as far as I can get - how would I go about... (4 Replies)
Discussion started by: Tiyugro
4 Replies
4. AIX
Hi All,
i would like to know if it's possible to know all the IP Addresses of all LPAR's interfaces from HMC (without connect into LPAR).
And if i can know also the "Application" hostname of LPAR from HMC.
Thanks in advance.
Bye
Mario (2 Replies)
Discussion started by: Zio Bill
2 Replies
5. AIX
Hi all,
i must add a new disk on a LPAR.
I've done all the HMC and VIOS Procedure to create a virtual host with disk and assign it to lpar.
I don't remember how i must do on the lpar to see this disk. (i use lvm not veritas).
Thanks in advance and sorry for my english.
Bye
Mario (2 Replies)
Discussion started by: Zio Bill
2 Replies
6. Red Hat
Installed the iscsi target and configured its working fine
While i'm running command in initiator
# iscsiadm --mode discoverydb --type sendtargets --portal 192.168.1.5 --discover
iscsiadm: No portals found
i cant find the LUN1 , its not discovering it what may be the issue and how to... (0 Replies)
Discussion started by: babinlonston
0 Replies
LEARN ABOUT PHP
array_fill
ARRAY_FILL(3) 1 ARRAY_FILL(3)
array_fill - Fill an array with values
SYNOPSIS
array array_fill (int $start_index, int $num, mixed $value)
DESCRIPTION
Fills an array with $num entries of the value of the $value parameter, keys starting at the $start_index parameter.
PARAMETERS
o $start_index
- The first index of the returned array. If $start_index is negative, the first index of the returned array will be $start_index
and the following indices will start from zero (see example).
o $num
- Number of elements to insert. Must be greater than or equal to zero.
o $value
- Value to use for filling
RETURN VALUES
Returns the filled array
ERRORS
/EXCEPTIONS
Throws a E_WARNING if $num is less than zero.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.6.0 | |
| | |
| | $num may now be zero. Previously, $num was |
| | required to be greater than zero. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
array_fill(3) example
<?php
$a = array_fill(5, 6, 'banana');
$b = array_fill(-2, 4, 'pear');
print_r($a);
print_r($b);
?>
The above example will output:
Array
(
[5] => banana
[6] => banana
[7] => banana
[8] => banana
[9] => banana
[10] => banana
)
Array
(
[-2] => pear
[0] => pear
[1] => pear
[2] => pear
)
NOTES
See also the Arrays section of manual for a detailed explanation of negative keys.
SEE ALSO
array_fill_keys(3), str_repeat(3), range(3).
PHP Documentation Group ARRAY_FILL(3)