12-03-2010
Quote:
Originally Posted by
FrankM
[...] Intermittent remote connections. Seems to connect every other time I try via my putty client. [...]
check
- issues with IP address (duplicates?),
- problems with name resolution (does it make a difference whether you connect via IP or name, do you use DNS or hosts?),
- routing issues (check route to target and route back from target)
- flapping etherchannel
- any other redundant component you might use in the network
and so on.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I need to generate a listing of files that have been changed since x day. the listing is to be sorted by date.
I managed to get the 1st requirement using the find command :
find . -mtime -100 -type f -ls
but I don't know how to sort the ls listing by date. :(
The challenge comes... (4 Replies)
Discussion started by: ppohz
4 Replies
2. UNIX for Advanced & Expert Users
Hi, there are some servers here at work which issue a Safeword challenge after I login. Can anyone tell me exactly how the challenge/response system works? In particular, how are the valid keys decided? (2 Replies)
Discussion started by: blowtorch
2 Replies
3. Shell Programming and Scripting
I have the following text
Microsoft iSCSI Initiator version 2.0 Build 3497
Targets List:
iqn.2001-05.com.equallogic:0-8a0906-daef43402-138000002a4477ba-grsrv12-extra
iqn.2001-05.com.equallogic:0-8a0906-986f43402-520000002b447951-exchange
... (9 Replies)
Discussion started by: netmedic
9 Replies
4. Shell Programming and Scripting
I have a web xml file that looks like this:
<allinfo>
<info>
<a>Name1<\a>
<b>address1<\b>
<c>phone1<c>
<\info>
<info>
<a>Name2<\a>
<b>address2<\b>
<c>phone2<c>
<\info>
<\allinfo>
I want to use sed to... (2 Replies)
Discussion started by: katrvu
2 Replies
5. Shell Programming and Scripting
Here's a regex substitution operation that has stumped me with sed:
How do you convert lines like this:
first.key ?{x.y.z}
second.key ?{xa.ys.zz.s}
third.key ?{xa.k}
to:
first.key ?{x_y_z}
second.key ?{xa_ys_zz_s}
third.key ?{xa_k}
So i'm basically converting all the... (11 Replies)
Discussion started by: neked
11 Replies
6. Shell Programming and Scripting
Default shell is /usr/bin/zsh
Script will be running #!/bin/bash
Need to pull information from database while using other scripts already made (not by me).
Ok, so i need a script pulling certain information about a customer's router interfaces.
I am using a ROUTER-DNS-NAME as variable $1
I... (3 Replies)
Discussion started by: ///NNM
3 Replies
7. Shell Programming and Scripting
Ok then i Have a challenge for you :
Give me PS1 so that it always display the least 2 levels of directory
(except if i am above of course)
I want it this way :
so if i go to
/
/home/
/home/user
/home/user/whatever
/home/user/whatever1/whatever2
my PS1 should respectively... (12 Replies)
Discussion started by: ctsgnb
12 Replies
8. UNIX for Dummies Questions & Answers
I've been given a directory full of subdirectories full of logfiles of the same name:
/logfiles/day1/file1/blockednodes.csv
day1-14
file1-48
The above is the actual directory structure for 14 days worth of a logfile that is generated every 30 minutes. It's been done this way to preserve the... (15 Replies)
Discussion started by: Cludgie
15 Replies
9. Shell Programming and Scripting
I have searched through google, and this forum to try and find the answer, but alas, nothing quite hits the whole answer.
I am trying to read the last line (or lines) of some log files. I do this often.
The files are named sequentially, using the date as part of the file name, and appending... (18 Replies)
Discussion started by: BatterBits
18 Replies
LEARN ABOUT DEBIAN
csolver
CSolver(3U) InterViews Reference Manual CSolver(3U)
NAME
CSolver - enforces connector semantics
SYNOPSIS
#include <Unidraw/csolver.h>
DESCRIPTION
A CSolver object defines and implements a model for specifying connectivity semantics that connector subclasses can build upon to implement
their specialized semantics. Normally, only one CSolver instance is used per application, and only connector subclasses need access it.
The Unidraw class constructor initializes the csolver global to point to a CSolver instance it creates. Thus applications should not
instantiate CSolver directly.
CSolver models a connection between two connectors (regardless of their particular subclass or semantics) as a pair of generic connectors
with a piece of CGlue interposed. The CGlue characterizes the relationship between the connectors' centers in terms of a natural size
(which corresponds to the distance between the centers), elasticity, and deformation limits. Connector subclasses specify their connectiv-
ity behavior with a CGlue instance and subsequently rely on the CSolver to reorient them to conform to that behavior. For example, when a
pin is told to connect itself to another pin, it registers with the global csolver a connection containing the two connectors (the pins
themselves) and a piece of CGlue having zero natural size, elasticity, and deformation limits. This specification effectively constrains
the connectors' centers to coincide. The connectivity semantics of other connector combinations, including those involving application-
specific connectors, must be specified using CGlue.
PUBLIC OPERATIONS
CSolver()
Create a new instance. Application programs do not normally instantiate CSolver explicitly.
virtual void Connect(Connector*, Connector*, CGlue* = nil)
Specify a connection between two connectors, optionally with a piece of CGlue interposed. Omitting the CGlue parameter is equiva-
lent to specifying a connection with CGlue having zero natural size, elasticity, and deformation limits.
void Disconnect(Connector*, Connector*)
void Disconnect(Connector*)
Destroy the connection(s) established between two connectors (the two-parameter form), or destroy all connections to a given connec-
tor (the one-parameter form).
void Solve()
Solve instructs the CSolver to reorient connected connectors to conform to their connectivity semantics as reflected by its connec-
tion specifications. Normally this function is called automatically and only in response to Unidraw::Update.
CSolverState* GetState(Connector*)
void SetState(CSolverState*)
CSolverState is a class that encapsulates all the information about the connections in which a connector participates. Only CSolver
can create or do anything with a CSolverState instance. GetState initializes and returns a CSolverState instance for the given con-
nector, and SetState establishes the connections that a CSolverState instance specifies without disturbing existing connections.
These operations are useful when it is necessary to reestablish a connector's connections after they have been lost, for example, by
removing the connector from the component hierarchy (as caused by a command to delete the component).
void Read(istream&)
void Write(ostream&)
Explicitly read/write the csolver's contents from/to disk. Normally only a catalog calls these operations.
SEE ALSO
Catalog(3U), GGlue(3U), Connector(3U), globals(3U)
Unidraw 20 November 1990 CSolver(3U)