Applications :: TCPdump Setup To Automatically Start Process Again

Jul 1, 2010

We are having a Linux box with Tcpdump continuously running on it to monitor bunch of sources. Separate Tcpdump process runs in a background for each host for monitoring traffic. I use -w option with it to save the capture in the pcap format to analyze it later. Now what I need is, if the Linux machine gets rebooted amidst of its packet capturing activity, I want tcpdump to automatically start the process again for every host without overwriting previous captures.

Remember: Without overwriting previous captures . . .
Basically, I will be keeping all the tcpdump commands in the shell script and will load the script at startup during the linux boot. Is there any way to achieve this case, where by on rebooting, Tcpdump does not overwrite previous captures?

View 2 Replies


ADVERTISEMENT

Applications :: Start TCPdump And Download File By FTP

Nov 17, 2010

I need to start a tcpdump, and then download a file by FTP. I can't understand any way of achieving this in the tcpdump man file.

View 1 Replies View Related

General :: Start Process Automatically?

Jul 7, 2010

I want to start process automatically For Ex:- To start snort it need the root user, So here I need a script which will start snort automatically without asking the root user or password.So that I can start snort from anywhere as same as root

View 3 Replies View Related

Slackware :: Process To Automatically Start Bittorrent Download?

Apr 26, 2010

this is not specifically a slackware related question, but since done on 2 slackware boxes... the situation is, i have one box for browsing and other desktop activities and another box acting as router/local server. what i want to achieve is that the router box would look on a nfs mounted folder for new *.torrent files (which i put there from the desktop box) and if there is a new file, it would start downloading it automatically. also a good thing would be if it would notify me when finished.so how would you go about itwhat torrent client would you use and so on? maybe someone has already done something like this?

View 4 Replies View Related

Applications :: Make Firefox Start Up Automatically In A Full Screen Window?

May 11, 2010

I've been Googling all day and cannot find the answer. I find all the "GUI" ways to do it through Gnome and KDE but I'm not using either...I have an EEE PC set to boot up automatically to openbox and want Firefox to start after that in a full screen openbox window.I've tried adding the firefox command to ~/.initrc but it won't execute. I tried the command in .profile. This brings up firefox on a black screen without openbox.Firefox comes up fine when executed from the openbox menu.

View 3 Replies View Related

General :: Triggered Process - Start Automatically When The Desktop Finishes Loading

Jun 29, 2011

I am running Debian Squeeze with icewm as desktop environment. I am trying to start feh automatically when the desktop finishes loading. I have tried crontab -e with @reboot /usr/bin/feh /home/user/photos/ & I think that the best way to do this would be to monitor for the x-session-manag process. The reason I think this would be a good solution is that I killed x-session-manag and it killed my x-session and straight to command line interface.

View 2 Replies View Related

CentOS 5 Server :: Setup Shoutcast To Automatically Start?

Dec 23, 2009

how to setup shoutcast to automatically start when i start my server?

i have installed it on /root/shoutcast ; configuration file /root/shoutcast/shoutcast_config

View 1 Replies View Related

General :: Slackware 13 Automatically Lock - Ktorrent Start Automatically?

Jan 25, 2010

what to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?

View 2 Replies View Related

Ubuntu :: Start Synergy On Startup Wont Start Automatically On Server

Oct 13, 2010

Im trying to run synergy on startup. This works fine on the client, but it wont start automatically on the server. I put this line in an entry in startup applications:

[code]...

but still no dice.

View 9 Replies View Related

Fedora :: Schedule A Process To Start At A Specific Time (not On Start Up)?

Jan 19, 2010

I'm trying to find how to schedule a process to start at a specific time (not on start up). How would I schedule a process/application to start at a specific time (if it matters, it will be a background process). For instance, have process abc start every weekday at 5am. I've done this for windows many times though have only been using linux regularly for a few months and haven't figured out the best way of doing this.

So far the best solution I have is to create a program that will start on boot and have it check the time and sleep until the required time and then start the required process(es) at the required time(s). But this seems more of a hack since I'd expect there to be a proper way of doing this.

View 4 Replies View Related

General :: How To Get Conky Start Automatically When Start Fvwm

Sep 22, 2009

I use Opensuse 11 with fvwm. How can I get conky start automatically when I start fvwm?

I setup the conky under fvwm session for my Opensuse 11 but it won't start automatically. I am wondering how to write some kind of scripts to force it to start automatically and with a delay about 10 seconds after fvwm starts.

View 10 Replies View Related

Ubuntu :: Applications Will Minimize Automatically?

Jun 23, 2010

Applications will minimize automatically. when i select them they will maximize then immidiatly minimize. i just installed ubuntu 10.04 on my netbook everything worked great then i ran the update manager it restarted. after that i cannont keep any apps open. ubuntu 10.04 on acer aspire one netbook. clean install. ubuntu only.

View 7 Replies View Related

Ubuntu :: Applications Popping Up Automatically?

Oct 5, 2010

i m using ubuntu 10.04 Lucidi m reposting this thread.few days back when i setup evolution client i m facing this problem since then.when i open my system i always find three applications opening automatically.1. Evolution2. A open office Word Processor (untitled3. Documents folder window.

View 2 Replies View Related

CentOS 5 :: Applications Automatically Pop Up After System Crash?

Nov 11, 2010

I recently had to power off my Centos 5.5 box (ungraceful shutdown). When it came back up, three apps popped up: "Welcome to the Gnome Help Browser" (which is Yelp). In another desktop, Konqueror is waiting for a login. This happens every time I restart my system. I haven't been able to figure out how to stop this. Every time I've shut down my system since I had to bring it down hard, it's been gracefully and neither of those apps was running.

View 1 Replies View Related

Applications :: How To Kill Uninterruptible Process?

Aug 5, 2010

Often I get the following message when starting FireFox:

Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.At the same time CPU usage goes to 100%, load is extremely high and my PC is becoming unresponsive.I tried killing the process: Code: killall -9 firefox but without success.In the System Monitor I see that firefox is marked as "uninterruptible" process.

View 6 Replies View Related

General :: Automatically Restart A Process Every Few Hours?

Dec 30, 2010

I'm having a VPS using Ubuntu 10.4 and i would like a guide on how to restart apache2 process every few hours (a time determined by me).

View 11 Replies View Related

Software :: Zombiee Process + Postfix Stops Automatically?

May 12, 2010

i have around 15 zombiee process on my linux ubuntu server 9.10 and i am unable to login I get the system details after i login but the shell promot comes back to login prompt again.My postfix server also stops in between and i have to reboot the entire system.

View 4 Replies View Related

Ubuntu :: Rememberrunning Applications - Windows - Reopened Automatically At Login ?

Feb 7, 2011

I would like that the windows I am working on are reopened automatically at login, so I checked

System -> Preferences -> Startup Applications -> Options Tab -> Check Automatically remember running applications when logging out.

It works but, unfortunately, sometimes windows are reopened in different workspaces. I have six workspaces and I usually keep a lot of windows opened, so rearranging them takes long.

Is there a way to ensure that windows are reopened in the same workspace?

View 6 Replies View Related

Ubuntu :: GEdit Process Won't Automatically Stop When Window Is Closed?

Jan 24, 2011

I recently upgraded to Ubuntu version 10.10 64-bit and since then closing GEdit won't stop the process automatically when the window is closed and I have to kill it manually. I didn't have this problem with version 10.04 (also 64-bit) and I didn't change any settings after the upgrade.

View 2 Replies View Related

Networking :: Create A Script Which Checks For The 2 Process And Restart It Automatically?

Mar 11, 2010

There are two host agent process ( hprsmha -WD and RSMHA ) running on my SLES 10 server suddenly hangs which is critical for my daily scheduled backup jobs.I want to create a script which checks for the 2 process and restart it automatically.so i can put it to daily cron job.My knowledge with scripting is so poor. Following are the commands i am running manually to stop and start the process.

cd /etc/init.d
./hprmsha stop
./hprsmha_wd stop
./hprsmha_wd start
./hprsmha start

View 4 Replies View Related

Ubuntu :: Automatically Run A Process In A Screen Session And Then Detach And Quit Terminal

Jul 24, 2010

There are often times when the best way to launch an application is from the terminal, but it is a graphical application and after it is launched the terminal is useless.

Examples of places where a terminal is convenient are when a process starts lots of child processes and is also unstable; you can be sure to kill all of its children simply by using Ctrl-C at the terminal. Also it allows me to read program output and to set up the terminal environment to be optimal for the application (for example "unset LIBGL_ALWAYS_INDIRECT")

With GNU screen, I can get around the hassle of having a terminal window open by using something like the following in a terminal window:

Code:
screen
my_command
Ctrl-A d

and then I can close the terminal and the program will keep running. Then I just type "screen -r <Tab>" (the tab will get me my screen session if there is only one such session) in any terminal window, even a tty, and I can get the screen session back and use Ctrl-c or something.

So my question is, is there a way to do this automatically so that a launcher or script will start a screen session, inside that screen session start a process, and then detach from that screen session without me having to manually open and close a terminal and type the commands?

View 2 Replies View Related

Ubuntu Servers :: BASH Scripts For Websites - Automatically Download And Process Data

Sep 1, 2011

set up BASH scripts on the server to automatically download and process data, and then upload it to my website. Is it even possible? Do servers allow website owners to place BASH scripts that can run automatically, or keep running indefinitely?

View 5 Replies View Related

Applications :: Permission Denied On ./setup?

Oct 25, 2010

how to install software. but I am getting an error permission denied when i use command ./setup

I think I am logged in correctly as root.. and I am in the correct directory, why am i getting a permission denied error?

View 9 Replies View Related

Ubuntu :: Setup A Script To Run In The Terminal Automatically?

May 22, 2010

10.04 LTS 64bit How can I setup a script to run in the terminal automatically?Currently I have a script on the desktop that when I double click it brings up a dialog that asks me to Run In Terminal, Display (in gedit), Cancel, or Run. I'd like to get rid of this extra dialog and have the script just run in the terminal.

View 2 Replies View Related

Ubuntu :: Setup To Run One Command Automatically At Startup?

Dec 30, 2010

I want to auto run
Code:
sudo updatedb at Ubuntu startup. Is this okay: [URL]...

View 5 Replies View Related

Ubuntu :: Setup System To Automatically Save Into Another Drive?

Apr 6, 2011

I am helping a friend to install ubuntu, and he has a small ssd hardrive that he wants the OS installed on, but everything else he wants to save to another drive!

Is it possible to setup ubuntu to automatically save into another drive?

View 9 Replies View Related

Security :: Setup Vi To Automatically Encrypt/decrypt .pgp And .asc Files

Dec 17, 2010

I'm trying to setup vi to automatically encrypt/decrypt .pgp and .asc files. The encryption part works. If I "vi testfile.gpg" it will auto encrypt it on save.

However when I try and vi the encrypted file it does not prompt me for my pass phrase. I just get this:

Quote:

Here's what I have in my ~/.vimrc file.

Quote:

This is on gentoo linux if it makes any difference.

View 9 Replies View Related

Fedora :: SSH Won't Start Automatically

Sep 11, 2009

Can you guys help me diagnose what the problem is? SSH doesnt' start automatically.

View 1 Replies View Related

Ubuntu :: Applications For Settings (and Saving) Monitor(s) Setup?

Dec 3, 2010

I am wondering if there is a basic tool out there that will work with graphics card powered by FOSS drivers that allows to adjust resolution (and configure secondary monitors) and then save that configuration so it can automatically be restored next time the system starts up.

View 1 Replies View Related

Applications :: Cannot Install Webmin On Dummy Server Setup

Feb 7, 2011

I have a dummy server set up in which I am trying to install webmin (which I have done several times in the past and remb it being straightforward and pretty simple!) however when trying to install I keep getting errors.

I install all the perl packages as required :-
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl
After downloading webmin I try and install it:-
sudo dpkg -i webmin_ 1.530 _all.deb

This is where I encounter errors regarding apt-show-versions saying that it is not installed.I try and install it but an error appears stating that apt-show-versions is not installed. So I try and install apt-show-versions and that fails as it states that there is libapt package missing too. When I try to force install both - unable to fetch some archives but maybe run apt-get update or fix missing....It just seems like I am going around in circles (as I have run apt-get update and have run the commands as root...)

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved