10-20-2008
Hi,
Thank you for your reply, here is the infos :
AIX 5.3 TL07
HACMP 5.4.1
Jfs2 and ECM do you mean EMC, if so yes the VG's are on EMC disks.
Rgds
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi. I hope someone can help me with this problem.
Being a novice to Unix, I editted my crontab directly
by typing " crontab -e ". Well, I needed to make some
changes so, I typed " crontab -r ". Now I have no crontab,
and I can't seem to get crontab to write a new file.
I' ve tried:
vi... (4 Replies)
Discussion started by: cstovall
4 Replies
2. Shell Programming and Scripting
Hi there,
Can anyone help me find the correct expression for sed.
I want to repace iface eth0 inet wathever
with iface eth0 inet static
Thanks for your help
Santiago (5 Replies)
Discussion started by: chebarbudo
5 Replies
3. Shell Programming and Scripting
cat $1 | sort -n | uniq | $1
in other words, I sort the content of the file and put the ouput in the same file, is there any mistakes in this cshell code ??? (4 Replies)
Discussion started by: Takeeshe
4 Replies
4. UNIX for Dummies Questions & Answers
Hi everyone !
I have a file wich look like this :
>Sis01
> Sis02
...
>Sis44
I want to separe each paragraphe in a different file, so I decide to use the "FOR" loop + sed.
for f in {01..44}
do (5 Replies)
Discussion started by: sluvah
5 Replies
5. Shell Programming and Scripting
Have a textfile (regular updated) with informations about datafiles .
Each line is describing a datafile. Now I am trying to delete several specific lines in this textfile, which are defined before in a kind of removal list.
Can not find the mistake I have done in the script because in the... (5 Replies)
Discussion started by: jurgen
5 Replies
6. AIX
hi,
when I do a failover, hacmp always starts db2 but recently it fails to start db2..noticed the issue is db2nodes.cfg is not modified by hacmp and is still showing primary node..manually changed the node name to secondary after which db2 started immediately..unable to figure out why hacmp is... (4 Replies)
Discussion started by: gkr747
4 Replies
7. UNIX for Dummies Questions & Answers
Hi there can anyone help me to spot my mistake and please explain why it appears
My code :
#!/usr/bin/gawk -f
BEGIN { bytes =0}
{ temp=$(grep "datafeed\.php" | cut -d" " -f8)
bytes += temp}
END { printf "Number of bytes: %d\n", bytes }
when I am running ./q411 an411
an411:
... (6 Replies)
Discussion started by: FUTURE_EINSTEIN
6 Replies
8. UNIX for Advanced & Expert Users
Hi, I recently had an issue and by mistake a script of mine has initiated init 6 command,
Is there a way to stop the reboot manually after init 6 is given,
Your response is highly appreciated.
Thanks in advance !! (9 Replies)
Discussion started by: nanz143
9 Replies
9. Shell Programming and Scripting
Hi,
I want to start MY_PROGRAM in a bash script with additional parameters given in the CONFIGURATION_ARRAY.
IFS="'"
CONFIGURATION_ARRAY=( '-N 0 -m 0' '-N 0 -m 1' )
for configuration in ${CONFIGURATION_ARRAY}
do
//DEBUG
N=${configuration%-*} //-N 0
M=-${configuration##*-} //-m 0... (5 Replies)
Discussion started by: xraystorm
5 Replies
LEARN ABOUT DEBIAN
xpanslookup
xpanslookup(3) SAORD Documentation xpanslookup(3)
NAME
XPANSLookup - lookup registered XPA access points
SYNOPSIS
#include <xpa.h>
int XPANSLookup(XPA xpa,
char *template, char type,
char ***classes, char ***names,
char ***methods, char ***infos)
DESCRIPTION
XPA routines act on a class:name identifier in such a way that all access points that match the identifier are processed. It is sometimes
desirable to choose specific access points from the candidates that match the template. In order to do this, the XPANSLookup routine can
be called to return a list of matches, so that specific class:name instances can then be fed to XPAGet(), XPASet(), etc.
The first argument is an optional XPA struct. If non-NULL, the
existing name server connection associated with the specified xpa is
used to query the xpans name server for matching templates. Otherwise,
a new (temporary) connection is established with the name server.
The second argument to XPANSLookup is the class:name template to match.
The third argument for XPANSLookup() is the type of access and can be any combination of:
type explanation
------ -----------
g xpaget calls can be made on this access point
s xpaset calls can be made on this access point
i xpainfo calls can be made on this access point
The call typically specifies only one of these at a time.
The final arguments are pointers to arrays that will be filled in and returned by the name server. The name server will allocate and return
arrays filled with the classes, names, and methods of all XPA access points that match the template and have the specified type. Also
returned are info strings, which generally are used internally by the client routines. These can be ignored (but the strings must be
freed). The function returns the number of matches. The returned value can be used to loop through the matches:
Example -
#include <xpa.h>
char **classes;
char **names;
char **methods;
char **infos;
int i, n;
n = XPANSLookup(NULL, "foo*", "g", &classes, &names, &methods, &infos);
for(i=0; i<n; i++){
[more specific checks on possibilities ...]
[perhaps a call to XPAGet for those that pass, etc. ...]
/* don't forget to free alloc'ed strings when done */
free(classes[i]);
free(names[i]);
free(methods[i]);
free(infos[i]);
}
/* free up arrays alloc'ed by names server */
if( n > 0 ){
free(classes);
free(names);
free(methods);
free(infos);
}
The specified template also can be a host:port specification, for example:
myhost:12345
In this case, no connection is made to the name server. Instead, the call will return one entry such that the ip array contains the ip for
the specified host and the port array contains the port. The class and name entries are set to the character "?", since the class and name
of the access point are not known.
SEE ALSO
See xpa(7) for a list of XPA help pages
version 2.1.14 June 7, 2012 xpanslookup(3)