Sponsored Content
Full Discussion: Network Topology Discovery
Top Forums UNIX for Dummies Questions & Answers Network Topology Discovery Post 302537084 by RolfB on Thursday 7th of July 2011 04:31:11 AM
Old 07-07-2011
Code:
nmap -sP 192.168.1.0/24

If You got nmap
Code:
for i in {1..254}; do ping -c 1 -W 1 10.1.1.$i | grep 'from'; done

If You do not got nmap

RolfB

Last edited by pludi; 07-07-2011 at 05:42 AM..
 

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
XSetPointerMapping(3)						  XLIB FUNCTIONS					     XSetPointerMapping(3)

NAME
XSetPointerMapping, XGetPointerMapping - manipulate pointer settings SYNTAX
int XSetPointerMapping(Display *display, unsigned char map[], int nmap); int XGetPointerMapping(Display *display, unsigned char map_return[], int nmap); ARGUMENTS
display Specifies the connection to the X server. map Specifies the mapping list. map_return Returns the mapping list. nmap Specifies the number of items in the mapping list. DESCRIPTION
The XSetPointerMapping function sets the mapping of the pointer. If it succeeds, the X server generates a MappingNotify event, and XSet- PointerMapping returns MappingSuccess. Element map[i] defines the logical button number for the physical button i+1. The length of the list must be the same as XGetPointerMapping would return, or a BadValue error results. A zero element disables a button, and elements are not restricted in value by the number of physical buttons. However, no two elements can have the same nonzero value, or a BadValue error results. If any of the buttons to be altered are logically in the down state, XSetPointerMapping returns MappingBusy, and the mapping is not changed. XSetPointerMapping can generate a BadValue error. The XGetPointerMapping function returns the current mapping of the pointer. Pointer buttons are numbered starting from one. XGetPoint- erMapping returns the number of physical buttons actually on the pointer. The nominal mapping for a pointer is map[i]=i+1. The nmap argu- ment specifies the length of the array where the pointer mapping is returned, and only the first nmap elements are returned in map_return. DIAGNOSTICS
BadValue Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an argu- ment, the full range defined by the argument's type is accepted. Any argument defined as a set of alternatives can generate this error. SEE ALSO
XChangeKeyboardControl(3), XChangeKeyboardMapping(3) Xlib - C Language X Interface X Version 11 libX11 1.5.0 XSetPointerMapping(3)
All times are GMT -4. The time now is 12:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy