LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   starting a background process running tcpdump on boot (https://www.linuxquestions.org/questions/linux-networking-3/starting-a-background-process-running-tcpdump-on-boot-103880/)

butthead 10-14-2003 01:23 PM

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?

flashtek_uk 10-15-2003 06:34 PM

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


All times are GMT -5. The time now is 03:14 AM.