LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-19-2006, 11:23 PM   #1
houssamfarag
LQ Newbie
 
Registered: Dec 2005
Posts: 10

Rep: Reputation: 0
how to monitor the debug port


Hi

i am running a certain application not a service that has a debug port and i telnet to access it

some time this application crashes

i need a shell script to be added in crontab and check every 3 seconds for example for the port and if not it should excute certain command

i need this and willing to pay for this if you can do it


thanks a lot
 
Old 06-20-2006, 07:08 AM   #2
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Not sure exactly what you're looking for, but check out script and watch.
man script
man watch
You wouldn't need a cron for these.
Assuming it's on a seperate server, I would use screen, then script or watch, then detach. Connect later, then reattach with screen -r .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to debug without having debug section in an executable ? unclesam Linux - Newbie 0 02-02-2006 06:23 AM
port monitor suggestions mithereal Debian 1 08-29-2005 10:50 PM
port monitor, something for the pro's! joda Linux - Networking 1 06-14-2004 12:34 PM
[debug]what does the following debug information mean icoming Programming 21 06-08-2004 02:13 AM
Port monitor program? smc_one Linux - Software 5 10-08-2003 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration