From: George Gallen <ggallen () slackinc ! com>
To: tru64-unix-managers
Subject: Summary: background job logs off when process logs off?
Date: Thu, 28 Dec 2000 16:35:58 +0000 [thread overview]
Message-ID: <97802137919866.tru64-unix-managers.marc@archive.invalid> (raw)
Seems I was looking the wrong way.
The solution here was to run the command via nohup
Now it works fine.
nohub rsh -n lserver1 /usr/mbin/tcpdumpit > /tmp/fifofile &
Thanks for the replies
George
>-----Original Message-----
>From: George Gallen [mailto:ggallen@slackinc.com]
>Sent: Thursday, December 28, 2000 11:22 AM
>To: 'tru64-unix-managers@ornl.gov'
>Subject: background job logs off when process logs off?
>
>
>I am starting a job to run in the background process with the
>following:
>
>rsh -n lserver1 /usr/mbin/tcpdumpit > /tmp/fifofile &
>
>But when I logout, that process stops as well.
>Any Ideas on what to check?
>
>One thought I had is when I start up the process, I get the
>"listening..."
>message to my screen, Do I need to redirect errorout to /dev/null to
>keep the process from dropping when I log out, If so how do you setup
>that with an rsh command?
>
>I'm running on 3.2c on a 2100, and the remote command is running
>on a linux machine. Basically I'm using the linux machine to monitor
>a switch port then send the data back to our 2100 for massaging.
>
>Since the 2100 isn't on that switch, I can't use it to monitor
>the packets.
>
>George
>
>George Gallen
>Senior Programmer/Analyst
>Accounting/Data Division
>ggallen@slackinc.com
>ph:856.848.1000 Ext 220
>
>SLACK Incorporated - An innovative information, education and
>management
>company
>http://www.slackinc.com
>
reply other threads:[~2000-12-28 16:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox