03-12-2013
Not in any standard way. You can get a tool that goes promiscuous on your LAN and watch it all go by, but there is no spec to save anything, just transfer. You can get some idea of who talks to who, locally, if you query arp cache, but that is different on every OS. Firewalls and proxy servers can log all activity passing through them, not entire messages but packet headers.
This User Gave Thanks to DGPickett For This Post:
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 DEBIAN
graph::easy::layout::chain
Graph::Easy::Layout::Chain(3pm) User Contributed Perl Documentation Graph::Easy::Layout::Chain(3pm)
NAME
Graph::Easy::Layout::Chain - Chain of nodes for layouter
SYNOPSIS
# used internally, do not use directly
use Graph::Easy;
use Graph::Easy::Layout::Chain;
my $graph = Graph::Easy->new( );
my ($node, $node2) = $graph->add_edge( 'A', 'B' );
my $chain = Graph::Easy::Layout::Chain->new(
start => $node,
graph => $graph, );
$chain->add_node( $node2 );
DESCRIPTION
A "Graph::Easy::Layout::Chain" object represents a chain of nodes for the layouter.
METHODS
new()
my $chain = Graph::Easy::Layout::Chain->new( start => $node );
Create a new chain and set its starting node to $node.
length()
my $len = $chain->length();
Return the length of the chain, in nodes.
my $len = $chain->length( $node );
Given an optional $node as argument, returns the length from that node onwards. For the chain with the three nodes A, B and C would return
3, 2, and 1 for A, B and C, respectively.
Returns 0 if the passed node is not part of this chain.
nodes()
my @nodes = $chain->nodes();
Return all the node objects in the chain as list, in order.
add_node()
$chain->add_node( $node );
Add $node to the end of the chain.
start()
my $node = $chain->start();
Return first node in the chain.
end()
my $node = $chain->end();
Return last node in the chain.
layout()
my $todo = $chain->layout();
Return an action stack as array ref, containing the nec. actions to layout the chain (nodes, plus interlinks in the chain).
Will recursively traverse all chains linked to this chain.
merge()
my $chain->merge ( $other_chain );
my $chain->merge ( $other_chain, $where );
Merge the other chain into ourselves, adding its nodes at our end. The other chain is emptied and must be deleted by the caller.
If $where is defined and a member of $other_chain, absorb only the nodes from $where onwards, instead of all of them.
error()
$last_error = $node->error();
$node->error($error); # set new messags
$node->error(''); # clear error
Returns the last error message, or '' for no error.
dump()
$chain->dump();
Dump the chain to STDERR, to aid debugging.
EXPORT
None by default.
SEE ALSO
Graph::Easy, Graph::Easy::Layout.
AUTHOR
Copyright (C) 2004 - 2006 by Tels <http://bloodgate.com>.
See the LICENSE file for more details.
perl v5.14.2 2011-12-23 Graph::Easy::Layout::Chain(3pm)