- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: script
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2010 12:43 AM
тАО12-31-2010 12:43 AM
script
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2010 12:55 AM
тАО12-31-2010 12:55 AM
Re: script
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2010 01:23 AM
тАО12-31-2010 01:23 AM
Re: script
This may not be that useful. I've had plenty of cases where ping worked but the system was hung.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2010 01:35 AM
тАО12-31-2010 01:35 AM
Re: script
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2010 02:07 AM
тАО12-31-2010 02:07 AM
Re: script
I perfer to use script to check it as , I may be use it in various unix-like server .
can advise what can i do ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2010 07:11 AM
тАО12-31-2010 07:11 AM
Re: script
You can write up a script in perl/expect that'll do exactly what you're looking for; however, that'll be a one-off script. It does that and only that.
It sounds like your best bet would be to get and install nagios (http://www.nagios.org/ ). It's a free monitoring tool with web based reporting and customizable alerting (pages, text messages, emails, etc). Over and above telnet, it does monitoring on filesystem usage, cpu usage, memory usage, ssh, web, mail, database, etc, etc.
You can also write your own plugins and pretty much have it monitor anything you want. While a one-off script will do what you're asking for right here, you'll quickly find you want to monitor other things as well.
Don't reinvent the wheel if you don't have to.
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2010 07:19 AM - last edited on тАО08-08-2011 01:18 PM by Kevin_Paul
тАО12-31-2010 07:19 AM - last edited on тАО08-08-2011 01:18 PM by Kevin_Paul
Re: script
> script
Is that the most descriptive subject which
you could devise?
> [...] various unix-like server .
Not a very detailed description of anything.
Did you try searching before asking? A Forum
search for keywords like, say,
telnet script
should have found some potentially useful old
threads, like, for example:
http://h30499.www3.hp.com/t5/System-Administration/telnet-xx-xx-xx-port-how-break-the-connection-in-script/m-p/5202982#M463743
However, a Telnet test might not be the
easiest or the most useful, depending on
exactly what "server is running" means to
you. For example, if the system under test
runs a Web server, then a program like wget
could be used to test its ability to serve a
Web page. Testing the actual function(s) of
interest may provide more useful information
than testing Telnet response can.