LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-14-2003, 01:23 PM   #1
butthead
LQ Newbie
 
Registered: Nov 2001
Location: Guilderland, NY
Distribution: SuSe 8.1
Posts: 13

Rep: Reputation: 0
Unhappy starting a background process running tcpdump on boot


I have a group of PCs running SuSe 8.0 in a locked-down kiosk mode in a couple of remote locations. We are experiencing some intermittent networking problems and I need to obtain packet information to help to identify where the problem is occurring.

I have written a very basic script which calls tcpdump and places the output into a file. This works great when called from the command line and when called by cron. BUT, it doesn't work in startup (it wants to stay interactive and then it dies once my foregound kiosk interface starts). Is there a way to make it a background process on startup? Is there a better tool for batch packet monitoring that I haven't stumbled across?
 
Old 10-15-2003, 06:34 PM   #2
flashtek_uk
LQ Newbie
 
Registered: Sep 2003
Location: England
Distribution: Debian
Posts: 14

Rep: Reputation: 0
One application i have usedm and works VERY well is ethereal or etherape both X based tools for monitoring network activity.

anyway.. pushing a process to the background is much easier than it may seem...

simply place a "&" symbol after the command ie "monitor.sh &" The process will continue to run, but will allow the system to continue without affecting the backgrounded process.

HTH
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Running a process during boot anegbi Linux - Software 3 11-30-2005 03:08 AM
background running process elbriga Programming 2 09-21-2004 06:08 PM
how to run any binary in background - background process tej Linux - Newbie 1 08-16-2004 12:27 AM
rsh starting a background process clockworks Linux - Software 0 03-04-2004 09:33 AM
background process gurra Programming 9 09-30-2001 01:31 PM


All times are GMT -5. The time now is 05:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration