Sponsored Content
Full Discussion: Network Topology Discovery
Top Forums UNIX for Dummies Questions & Answers Network Topology Discovery Post 302537356 by RolfB on Friday 8th of July 2011 01:01:38 AM
Old 07-08-2011
This may help You:

Code:
dig +short google.com

74.125.77.104
74.125.77.147
74.125.77.99


Code:
ping -c 1 google.com | egrep -m1 -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'

74.125.77.104


Another tool I use is Superscan (Windows) who can generate an text file with hostname and IP + open ports if You need that too.
It is so "good" that I did not bother to make a script who does same.

RolfB

Last edited by rbatte1; 09-05-2016 at 10:29 AM.. Reason: Please use code tags for code and data samples, thank you
This User Gave Thanks to RolfB For This Post:
 

6 More Discussions You Might Find Interesting

1. Solaris

disk discovery

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

host discovery using bash

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. Infrastructure Monitoring

Discovering Network Topology

Hi all, I am tasked to write a program that learns all possible paths between each pair of nodes in an internetwork. I am not an expert in the area of IP networking/routing. I have been reading about this the last few days. If you know of examples that are close to what I am trying to do, I would... (4 Replies)
Discussion started by: nzeidat
4 Replies

4. AIX

Discovery LPAR from HMC

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

Discovery/Mount new disk

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. Infrastructure Monitoring

Discovery Tools.

Hi Folks, realise that this forum might not be the exact match for this question, so feel free to put it somewhere more apropriate. I'm currently involved in a project that has gone somewhat pear shaped, just to keep this all short the situation is as follows. I was brought in to manage a... (2 Replies)
Discussion started by: gull04
2 Replies
Create and Destroy Topologies(3)			     Hardware Locality (hwloc)				  Create and Destroy Topologies(3)

NAME
Create and Destroy Topologies - Functions int hwloc_topology_init (hwloc_topology_t *topologyp) int hwloc_topology_load (hwloc_topology_t topology) void hwloc_topology_destroy (hwloc_topology_t topology) void hwloc_topology_check (hwloc_topology_t topology) Detailed Description Function Documentation void hwloc_topology_check (hwloc_topology_ttopology) Run internal checks on a topology structure. The program aborts if an inconsistency is detected in the given topology. Parameters: topology is the topology to be checked Note: This routine is only useful to developers. The input topology should have been previously loaded with hwloc_topology_load(). void hwloc_topology_destroy (hwloc_topology_ttopology) Terminate and free a topology context. Parameters: topology is the topology to be freed int hwloc_topology_init (hwloc_topology_t *topologyp) Allocate a topology context. Parameters: topologyp is assigned a pointer to the new allocated context. Returns: 0 on success, -1 on error. int hwloc_topology_load (hwloc_topology_ttopology) Build the actual topology. Build the actual topology once initialized with hwloc_topology_init() and tuned with Configure Topology Detection routines. No other routine may be called earlier using this topology context. Parameters: topology is the topology to be loaded with objects. Returns: 0 on success, -1 on error. Note: On failure, the topology is reinitialized. It should be either destroyed with hwloc_topology_destroy() or configured and loaded again. This function may be called only once per topology. See Also: Configure Topology Detection Author Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. Version 1.7 Sun Apr 7 2013 Create and Destroy Topologies(3)
All times are GMT -4. The time now is 03:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy