Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Check telnet port multiple server Post 303034911 by RudiC on Thursday 9th of May 2019 09:52:14 AM
Old 05-09-2019
Or nc (netcat)?
This User Gave Thanks to RudiC For This Post:
 

10 More Discussions You Might Find Interesting

1. Solaris

disabled telnet now need port 23 or port 22

we disabled telnet on solaris 9 via previous a thread. We use CMS (call management system) supervisor which used port 23 (telnet). We cannot use telnet via local directive and it was shut down as stated when we shut down telnet in the inetd file. I cannot now log into the CMS box since port 23 is... (3 Replies)
Discussion started by: panzerkw
3 Replies

2. Shell Programming and Scripting

Telnet IP and Port Script

Hi, I would like to create a simple script that will telnet a number of IP and Ports one after the other to confirm connectivity to those addresses. I don't need to log on, just output to a file what the response is, i.e Escape Character, connectivity refused etc. Complete newbie to... (6 Replies)
Discussion started by: asou
6 Replies

3. AIX

Telnet to port

can some one help me ? what happens when we telnet to a port ? example telnet 192.168.0.xx 1234 where 1234 is a port number Thank you (5 Replies)
Discussion started by: anwesh
5 Replies

4. Windows & DOS: Issues & Discussions

Telnet to a serial port

Hello all. I have an old computer with M$-DOS 7. I want to use it like a dumb terminal, with telnet. I need to connect it to my desktop These are my questions: How can i configure the serial port on dos? How can i telnet form dos to the serial port? How can i set up a telnet server on the... (12 Replies)
Discussion started by: mghis
12 Replies

5. Cybersecurity

Can't telnet to port 25 on the host.

Hi, we have recently setup a new UNIX server with solaris 10 and I am having issue with with SMTP/sendmail. telnet localhost 25 --- works telnet hostname.domain.com 25 -- does not work. # telnet hostname.domain.com 25 Trying 10.122.1.111... telnet: Unable to connect to remote host:... (1 Reply)
Discussion started by: esmgr
1 Replies

6. Red Hat

telnet port 23

My linux version is 2.6.18-194.e14 (Oracle enterprise linux). Could you please tell me how to enable telnet on the server. When I try to connect the server through another pc using telnet it is throwing error. Connecting To <ip address>...Could not open connection to the host, on port 23.... (3 Replies)
Discussion started by: oradba_arun
3 Replies

7. HP-UX

how to check remote server port listening from application.

Hi, I have an application running on HP-UX, from this application I need to findout if the port number. lets say 7890,7891, 7892 are listening on the remote server running on HP-UX. Is there any way of doing it using "system()" function or any other? I noticed that nmap, netcat are not... (0 Replies)
Discussion started by: einsteinBrain
0 Replies

8. IP Networking

telnet for port 5433 is not working while it works for port 22

Hi, I am trying to set up a dev environment and I have Ubuntu server (10.16.1.92) and a CentOS VM (10.16.3.235) on this. On the CentOS I have a program running on port 5433. Now my problem is that I am unable to telnet this port from another Windows server whereas I can telnet port 22 from... (5 Replies)
Discussion started by: rishav
5 Replies

9. Shell Programming and Scripting

*ix script to check port of client server and return output

Hello EveryOne, I am new to *ix. some could help to write a script. Problem :- Have to ssh to so many client and check port or filesystem usage, so thinking to automate using script. What i Need:- when i run script on my Launchpad server, it should Should ask and SSH to user provided... (3 Replies)
Discussion started by: MeFirst
3 Replies

10. Shell Programming and Scripting

Telnet of multiple server and ports

Hi, I do a telnet to a single server using command :telnet tibserver001 9640 The output i get is : Trying 10.19.... Connected to tibserver001 However i need to put all the servers in a single file and get the output to see if the server is connected or not. #! /bin/bash telnet... (3 Replies)
Discussion started by: samrat dutta
3 Replies
HDDTEMP(8)                                                    System Manager's Manual                                                   HDDTEMP(8)

NAME
hddtemp - Utility to monitor hard drive temperature SYNOPSIS
hddtemp [options] [type:]disk... DESCRIPTION
hddtemp will give you the temperature of your hard drive by reading Self-Monitoring Analysis and Reporting Technology (S.M.A.R.T.) infor- mation on drives that support this feature. Only modern hard drives have a temperature sensor. hddtemp supports reading S.M.A.R.T. information from SCSI drives too. hddtemp can work as simple command line tool or as a daemon. You can specify one or more device drive path, where each path can be prefixed with a type like PATA, SATA or SCSI to force hddtemp too use one of these type (because detection can fail). OPTIONS
The program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -b, --drivebase Display the database file that allows hddtemp to recognize a supported drive. -D, --debug Display various S.M.A.R.T. fields and their values. Useful for finding a value that seems to match the temperature and/or to send a report. (done for every drive supplied) -d, --daemon Execute hddtemp in TCP/IP daemon mode (port 7634 by default). -f, --file=file Specify the database file to use. -F, --foreground Don't fork into the background even in daemon mode. This is useful when running under a process supervisor. -l, --listen=addr Listen on a specific address. addr is a string containing a host name or a numeric host address string. The numeric host address string is a dotted-decimal IPv4 address or an IPv6 hex address. -n, --numeric Print only the temperature (without the unit). -p, --port=# Port number to listen to (in TCP/IP daemon mode). -s, --separator=char Separator to use between fields (in TCP/IP daemon mode). The default separator is `|'. -S, --syslog=s Switch to daemon mode and log temperatures to syslog every s seconds. -q, --quiet Don't check if the drive is supported. -u, --unit=C|F Force output temperature either in Celsius or Fahrenheit. -v, --version Display hddtemp version number. -w, --wake-up Wake-up the drive if needed (ATA drives only). -4 Listen on IPv4 sockets only. -6 Listen on IPv6 sockets only. DRIVE DATABASE
If you know your drive has a temperature sensor but it is being reported unsupported, tell me which model and which manufacturer it is, and/or just add a new entry in /etc/hddtemp.db. Each line of hddtemp.db is either a comment, a blank line or a line containing: - a regular expression that allow hddtemp to recognize a drive or a set of drives from its model name or from a generic model name, - a value (ATTRIBUTE_ID from S.M.A.R.T.), - a C or an F to set the unit to Celsius or Fahrenheit, - a description. Feedback is welcome (see the REPORT section below). TCP
/IP DAEMON MODE Example of type forcing: # hddtemp SATA:/dev/sda PATA:/dev/hda To test hddtemp in daemon mode, start it like this: # hddtemp -d /dev/hd[abcd] and use telnet or netcat (which is known as nc on some systems) to get a reply: # netcat localhost 7634 The drive database is read only once at startup, so hddtemp must be restarted if the database is updated for the changes to take effect. REPORT
As I receive a lot of reports, things must be clarified. When running hddtemp with debug options, hddtemp will show sort of a dump of S.M.A.R.T. data. Each field corresponds to an information field. The standard field for drive temperature is 194. But this is not always the case (mostly for older drives). Even if your drive has S.M.A.R.T. capabilities, it doesn't necessarily mean that it can report its temperature. So, things must be determined through experimentation. So, you can try to guess which field by is the good one by running hddtemp at regular intervals: - just after starting up your PC/server/station, - after opening a window (a physical window :), - after opening the case, - whatever you can think of... and looking for a field's value that would increase or decrease depending on what effect you want to induce. Be careful, fields 4, 9, and 12 are often reported to match a temperature field but after some investigation they do not. But fields 194 (which is the standard field for temperature) and 231 are good candidates. Then, you can send me a report with outputs from `hddtemp --debug ...', `smartctl' or `hdparm -i ...', and/or add an entry in hddtemp.db yourself. BUGS
If hddtemp crashes (yes, it might) for some unknown reasons, look for a file named hddtemp.backtrace.<PID>.XXXXXX (where XXXXXX is a random number generated at runtime) in /tmp. Then, you can then send me this file and the hddtemp binary. The backtrace functionality is cur- rently supported on i386 architectures only. SEE ALSO
smartctl(8), syslog(3), syslogd(8). AUTHOR
Emmanuel Varagnat (hddtemp@guzu.net). This manual page was originally written by Aurelien Jarno <aurel32@debian.org>, for the Debian GNU/Linux system (but may be used by oth- ers). July 21, 2003 HDDTEMP(8)
All times are GMT -4. The time now is 06:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy