03-12-2013
Query about node activity
Hi,
im just trying to find my way out. can anyone tell me where do nodes keep their info about which other nodes they've interacted with and when? or just where do they store details about which nodes have exchanged info with them, which nodes do they interact with? are the contents of such file encrypted?
Thanks!!
7 More Discussions You Might Find Interesting
1. AIX
I'm new on UNIX and i want to display the LV NAME, LPs, PPs, DISTRIBUTION, MOUNT POINT but i don't know what is the command.
Thanks,
Regards (3 Replies)
Discussion started by: tovohery
3 Replies
2. Shell Programming and Scripting
I would like to use the result of a query in another query. How do I redirect/add the output to another variable?
$result = odbc_exec($connect, $query);
while ($row = odbc_fetch_array($result)) {
echo $row,"\n";
}
odbc_close($connect);
?>
This will output hostnames:
host1... (0 Replies)
Discussion started by: hazno
0 Replies
3. Shell Programming and Scripting
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies
4. Solaris
Hi,
Is it possible to have a Solaris cluster of 2 nodes at SITE-A using SVM and creating metaset using say 2 LUNs (on SAN). Then replicating these 2 LUNs to remote site SITE-B via storage based replication and then using these LUNs by importing them as a metaset on a server at SITE-B which is... (0 Replies)
Discussion started by: dn2011
0 Replies
5. Shell Programming and Scripting
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
Discussion started by: DevendraG
2 Replies
6. Homework & Coursework Questions
Hi Experts,
I am in need of running a script from one node say node 1 via node 2.
My scheduling tool dont have access to node2 , so i need to invoke the list file from node1 but the script needs to run from node2. because the server to which i am hitting, is having access only for the node... (5 Replies)
Discussion started by: arun1377
5 Replies
7. HP-UX
Hi,
We have HP UX service guard cluster on OS 11.23. Recently 40+ LUNs presented to both nodes by SAN team but I was asked to mount them on only one node. I created required VGs/LVs, created VxFS and mounted all of them and they are working fine. Now client requested those FS on 2nd node as... (4 Replies)
Discussion started by: prvnrk
4 Replies
LEARN ABOUT BSD
genders_getnodes
GENDERS_GETNODES(3) LIBGENDERS GENDERS_GETNODES(3)
NAME
genders_getnodes - get nodes from the genders file
SYNOPSIS
#include <genders.h>
int genders_getnodes(genders_t handle, char *nodes[], int len, const char *attr, const char *val);
DESCRIPTION
genders_getnodes() gets the names of nodes in the genders file that have the attribute specified by attr and the value specified by val.
The nodes are stored in the list pointed to by nodes. len indicates the number of nodes that can be stored in the list. If attr is NULL,
genders_getnodes() returns all the nodes listed in the genders file. If val is NULL, attribute values are ignored.
To avoid passing in a list that is not large enough to store all the nodes, genders_getnumnodes(3) should be used to determine the minimum
number of elements nodes should be able to store. genders_nodelist_create(3) could be used to create a list that is guaranteed to be large
enough to store all of the nodes.
RETURN VALUES
On success, the number of nodes stored in nodes is returned. On error, -1 is returned, and an error code is returned in handle. The error
code can be retrieved via genders_errnum(3) , and a description of the error code can be retrieved via genders_strerror(3). Error codes
are defined in genders.h.
ERRORS
GENDERS_ERR_NULLHANDLE
The handle parameter is NULL. The genders handle must be created with genders_handle_create(3).
GENDERS_ERR_NOTLOADED
genders_load_data(3) has not been called to load genders data.
GENDERS_ERR_OVERFLOW
The list pointed to by nodes is not large enough to store all the nodes.
GENDERS_ERR_PARAMETERS
An incorrect parameter has been passed in.
GENDERS_ERR_NULLPTR
A null pointer has been found in the list passed in.
GENDERS_ERR_MAGIC
handle has an incorrect magic number. handle does not point to a genders handle or handle has been destroyed by genders_han-
dle_destroy(3).
FILES
/usr/include/genders.h
SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3), genders_getnumnodes(3), genders_nodelist_create(3), genders_errnum(3), gen-
ders_strerror(3)
LLNL
August 2003 GENDERS_GETNODES(3)