Sponsored Content
Full Discussion: telnet problem
Operating Systems Linux telnet problem Post 302382191 by gaurav1086 on Tuesday 22nd of December 2009 01:53:40 PM
Old 12-22-2009
Hello ,
I think you only want to check whether the host is up or not.
Code:
while read ip
do 
ping -c 3 $ip
done<ip_file.txt

if you put the ip addresses in the file ip_file.txt
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Having problem using Telnet!!!!

Good day to you all, Hope you must doing good..me..oh no I am not..I've trying to log on to my network from home...but it's not letting me...I am trying to use telnet cis.hfcc.net but it's saying "connection to the host cannot to be established"????what is this...any good reason...do I have to... (2 Replies)
Discussion started by: tahaislam
2 Replies

2. Filesystems, Disks and Memory

telnet problem

Hello friends, The problem is that we have one SunOS5.7 server, while attempting telnet to that server following error is occured - ld.so.1: login: fatal: libc.so.1: open failed: Too many open files The login on console is possible. The inetd daemon is running. inetd.conf and services... (1 Reply)
Discussion started by: rahul72
1 Replies

3. IP Networking

telnet problem

Hello friends, The problem is that we have one SunOS5.7 server, while attempting telnet to that server following error is occured - ld.so.1: login: fatal: libc.so.1: open failed: Too many open files The login on console is possible. The inetd daemon is running. inetd.conf and services... (3 Replies)
Discussion started by: rahul72
3 Replies

4. HP-UX

telnet problem, help

Hi, My network layout is: Pub LAN | freeBSD | Internal LAN | + telnet srv on HP-UX 10.x box + other services (http, pop3, smtp, ftp)... I've the following problem: Inside Internal LAN I can connect myself to HP-UX telnet but from Public LAN in some place is refusing me... (5 Replies)
Discussion started by: efrenba
5 Replies

5. AIX

telnet problem

hi all, i have a problem in telnet.when i am using telnet to my new aix server it takes about 5min to open. can any one tell what i have to do.???? (5 Replies)
Discussion started by: rrlog
5 Replies

6. Solaris

Telnet Problem Help

Dear All I have a Sun280R server when i telnet to this server from my Laptop i got error : Could connect to 192.168.199.10(Server IP):port 23 closed I want to login to the server through its Db25 serial port but i used to connect to it from my laptop through USB to db9 then to Db25 so do... (1 Reply)
Discussion started by: zanetti321
1 Replies

7. UNIX for Dummies Questions & Answers

Telnet Problem

I have a problem where on one unix machine I can telnet all IP addresses in the host file with no connection problem and another machine has recently started to have trouble connecting with the same host IP's on just some IP addresses where it had no trouble before. Have any ideas?? (17 Replies)
Discussion started by: tazzy
17 Replies

8. UNIX for Dummies Questions & Answers

telnet problem

Hello everyone, I have got this following script to telnet to other UNIX boxes from one UNIX box and then run a script to count a certain paramater. The following line connects to the other box(es): (sleep 1; echo $username; sleep 1; echo $password ; sleep 1 ; echo y; sleep 1; echo "\r" ; sleep 1... (2 Replies)
Discussion started by: Rajat
2 Replies

9. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies

10. Shell Programming and Scripting

problem with Net::Telnet

#!/usr/bin/perl use strict; use warnings; use Net::Telnet (); my $t = new Net::Telnet (Timeout => 10, Prompt => '/.*(#|>|\))\s*$/'); my $remote_host='home'; $t->open(Host => $remote_host, Port =>23); $t->login('root', 'pass'); the error that I get... (4 Replies)
Discussion started by: lassimanji
4 Replies
asadmin-ping-connection-pool(1AS)				   User Commands				 asadmin-ping-connection-pool(1AS)

NAME
asadmin-ping-connection-pool, ping-connection-pool - tests that a connection pool is usable SYNOPSIS
ping-connection-pool --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename] [--terse=false] [--echo=false] [--interactive=true] pool_name Tests that a connection pool is usable for both JDBC connection pools and connector connection pools. For example, if you create a new JDBC connection pool for use with an application that is expected to be deployed, before deploying the application, the previously created pool is tested with this command. This command is supported in remote mode only. OPTIONS
--user authorized domain application server administrative username. --password password to administer the domain application server. --host machine name where the domain application server is running. --port port number of the domain application server listening for administration requests. --secure if true, uses SSL/TLS to communicate with the domain application server. --passwordfile file containing the domain application server password. --terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well- formatted data for consumption by a script. Default is false. --echo setting to true will echo the command line statement on the standard output. Default is false. --interactive if set to true (default), only the required password options are prompted. OPERANDS
poolname name of the connection pool to be tested. Example 1: Using ping-connection-pool Before you can ping a connection pool, you must: o Create a connection pool with authentication. o Make sure the Enterprise Information Server (can be the database) is started. asadmin> ping-connection-pool --user admin1 --password adminadmin1 --host pigeon --port 5001 sampleConnectionPool Command ping-connection-pool executed successfully EXIT STATUS
0 command executed successfully 1 error in executing the command asadmin-create-connector-connection-pool(1AS), asadmin-delete-connector-connection-pool(1AS), asadmin-list-connector-connection-pool(1AS), asadmin-create-jdbc-connection-pool(1AS), asadmin-delete--jdbc-connection-pool(1AS)asadmin- list--jdbc-connection-pools(1AS) J2EE 1.4 SDK March 2004 asadmin-ping-connection-pool(1AS)
All times are GMT -4. The time now is 09:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy