Do you guys not have a network diagram? We can tell by IP what switch something is connected to, and this tells us right away: desktop PC, unix box, windows server, etc.
I am assuming that the linux, NT, etc boxes have names like Server1 or whatever.
What you want to do requires some sort of human intervention.
Your first step would be to get the node names of things. Why? Because people tend to name things in such a way that you get meaning from the name. This will allow you to winnow the list down to something manageable.
Let's assume you have a file with 500 ip addresses in it. I'll call it ip.dat. This is a bash script example.
The file called outputfile requires humans to read it. So get it into an editor.
You should be able to manually eliminate a lot of ip's from the list. From that point you will have to login via ssh to verify what each box is. If the name of the box does not tell you.
> how the sendmsg and recvmsg calls will know which kernel module to use (SCTP, RTP etc.) internally(kernel mapping: how kernel handle socket call) (1 Reply)
This is truly embarrassing but I have to know the answer anyway :p
Can anyone share, how to assign keyboard mapping in hp-ux system? Every time I issue command which contain character "@", it'll go the next line. What I need is how to assign the character "@" to @ as it is supposed to be.
... (2 Replies)
Hi,
I just started looking into various aspect of unix shell scripting. I am completely new to the world of UNIX. Could any one help me in solving the following requirement.
I have a parameter file with some data e.g.
sample.param
-------------
Andrew=201
Bob=219
Shelly=239... (4 Replies)
This is my first post and right off the bat, I want to let you know that my experience in UNIX is 2 days only backed up with over 20 years of IT working. So, if this is a dumb question or too stupid, please bear with me.
I read somewhere on the web and also on these forums that you can map your... (7 Replies)
Hi All,
I am working on the Scenario where i need compare the integer value with other using bit mapping.
input file,
1,4,5,4
1,2,4,6
2,3,4,4 like i have many fields.
Script :
i need to filter hte field one value "1" and field 3 value "4" and Filed 4 i need to do the Bitwise... (5 Replies)
Hi we have a situation where some printers are on a server that sometimes has to be rebooted. If this happens the Unix boxes we have that are referencing the printers in the vfstab file fail to work even when the print server is brought back up. Does anyone know if it would be possible to put... (0 Replies)
Hello,
I do not know if this is the right title to use. I have a large dictionary database which has the following structure:
where a b c d e are in English and p q r s t are in a target language., the two separated by the delimiter =.
What I am looking for is a perl script which will take... (5 Replies)
please forgive me. i know this is unix forum.
CIFS can map to shared windows folder.
i just wonder if windows can map to unix shared folder.
if yes, please enlight me... (5 Replies)
INPUT
13333--TEXT1
14444--TEXT2
13333--TEXT3
12233--TEXT5
14444--TEXT5
12233--TEXT1
12222--TEXT5
13333--TEXT09
what I'm looking for is something using awk arrays with below given output.
14444--TEXT2,TEXT5
13333--TEXT1,TEXT3,TEXT09
12233--TEXT5,TEXT1
12222--TEXT5 (6 Replies)
Discussion started by: busyboy
6 Replies
LEARN ABOUT HPUX
fs_getclientaddrs
FS_GETCLIENTADDRS(1) AFS Command Reference FS_GETCLIENTADDRS(1)NAME
fs_getclientaddrs - Displays the client interfaces to register
SYNOPSIS
fs getclientaddrs [-help]
fs gc [-h]
fs getcl [-h]
DESCRIPTION
The fs getclientaddrs command displays the IP addresses of the interfaces that the local Cache Manager registers with a File Server when
first establishing a connection to it.
The File Server uses the addresses when it initiates a remote procedure call (RPC) to the Cache Manager (as opposed to responding to an RPC
sent by the Cache Manager). There are two common circumstances in which the File Server initiates RPCs: when it breaks callbacks and when
it pings the client machine to verify that the Cache Manager is still accessible.
If an RPC to that interface fails, the File Server simultaneously sends RPCs to all of the other interfaces in the list, to learn which of
them are still available. Whichever interface replies first is the one to which the File Server then sends pings and RPCs to break
callbacks.
fs_setclientaddrs(1) explains how the Cache Manager constructs the list automatically in kernel memory as it initializes, and how to use
that command to alter the kernel list after initialization.
CAUTIONS
The File Server uses the list of interfaces displayed by this command only when selecting an alternative interface after a failed attempt
to break a callback or ping the Cache Manager. When responding to the Cache Manager's request for file system data, the File Server replies
to the interface which the Cache Manager used when sending the request. If the File Server's reply to a data request fails, the file server
machine's network routing configuration determines which alternate network routes to the client machine are available for resending the
reply.
The displayed list applies to all File Servers to which the Cache Manager connects in the future. It is not practical to register different
sets of addresses with different File Servers, because it requires using the fs setclientaddrs command to change the list and then
rebooting each relevant File Server immediately.
The displayed list is not necessarily governing the behavior of a given File Server, if an administrator has issued the fs setclientaddrs
command since the Cache Manager first contacted that File Server. It determines only which addresses the Cache Manager registers when
connecting to File Servers in the future.
The list of interfaces does not influence the Cache Manager's choice of interface when establishing a connection to a File Server.
OPTIONS -help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The output displays the IP address of each interface that the Cache Manager is currently registering with File Server processes that it
contacts, with one address per line. The File Server initially uses the first address for breaking callbacks and pinging the Cache Manager,
but the ordering of the other interfaces is not meaningful.
EXAMPLES
The following example displays the two interfaces that the Cache Manager is registering with File Servers.
% fs getclientaddrs
192.12.105.68
192.12.108.84
PRIVILEGE REQUIRED
None
SEE ALSO fileserver(8), fs_setclientaddrs(1)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 FS_GETCLIENTADDRS(1)