Sponsored Content
Top Forums UNIX for Dummies Questions & Answers leave a process running in a remote machine Post 102049 by sysera on Wednesday 15th of March 2006 09:04:30 AM
Old 03-15-2006
Another option is to emerge the "screen" package.

I use it often.

ssh into your host:

#screen bash
#yourcommand.sh &
#screen -d
#exit
#exit

And it will continue to run.

Run:
#screen -r

-d detach -r will reattach I suppose.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Running script on remote machine

if i have a script in my system which i need to run on remote system using ssh, how shall i do it? One easy way to to first scp it to remote machine and then run it on remote machine using ssh. Is there any one step way to do it. Preferably one in which i should give password only once (3 Replies)
Discussion started by: vickylife
3 Replies

2. Shell Programming and Scripting

running script in background on remote machine

Hi there I have a script which is running a remote command on hundreds of boxes, it takes around 5 minutes to return an output from this command and because i am running this all from a central box, it goes off to each box in my for loop sequentially meaning that my script will wait for output... (5 Replies)
Discussion started by: hcclnoodles
5 Replies

3. UNIX for Advanced & Expert Users

Script running on remote machine - How ??

Hi All, This was an interview question " There is a clean-up shell-script in one UNIX machine and it is connected to 100 other UNIX machines. Howe can we run the script on all the 100 machines without ftping/copying the script to target machines ? I was unable to answer, please answer if... (5 Replies)
Discussion started by: coolbhai
5 Replies

4. Shell Programming and Scripting

check web server running on local and on remote machine

Hi , How to check whether web server is running from remote machine How to check whether web server is running on web server itself Can any one help me soon (1 Reply)
Discussion started by: satheeshkr_cse
1 Replies

5. UNIX for Advanced & Expert Users

Launching a process in remote machine

Hi all, Normally to launch a process in the remote machine I will use ssh to the machine and launch the process.I want to launch the remote machine process with out login into the machine . Is there any way. It may be any workaround method. Thanks in advance .:) (3 Replies)
Discussion started by: karthigayan
3 Replies

6. Shell Programming and Scripting

Needing guidance, running xargs on remote machine

I am trying to run the follow command. I am running this from a korn shell script. rsh foobar ps -fu dram | grep sshd: | grep -v grep | awk '{print $2}' | xargs -I xx kill xx I get the PID back excluding the xargs part but after adding on the xargs part it fails to locate the PID and is... (2 Replies)
Discussion started by: juredd1
2 Replies

7. Shell Programming and Scripting

Running remote system shell script and c binary file from windows machine using java

Hi, I have an shell script program in a remote linux machine which will do some specific monitoring functionality. Also, have some C executables in that machine. From a windows machine, I want to run the shell script program (If possible using java). I tried with SSH for this. but, in... (1 Reply)
Discussion started by: ram.sj
1 Replies

8. UNIX for Dummies Questions & Answers

How a process can check if a particular process is running on different machine?

I have process1 running on one machine and generating some log file. Now another process which can be launched on any machine wants to know if process1 is running or not and also in case it is running it wants to stream the logs file generated by process1 on terminal from which process2 is... (2 Replies)
Discussion started by: saurabhnsit2001
2 Replies

9. OS X (Apple)

Quit a shell script thats running on a remote machine

I'm in a situation where I am executing a shell script(Bash) on another machine remotely using ssh, and for various reasons sometimes need to quit it and restart it. The shell script being run does many different things, so its hard to know what process to kill on the remote machine, and even if I... (2 Replies)
Discussion started by: TheDrizzle
2 Replies

10. Shell Programming and Scripting

Keep a script on remote machine running (nohup?)

Hi, I'm using expect to ssh into remote machine (i know its not the best practice), and run script "script.sh". This "script.sh" checks whether an other process (some another script) is running and if not, it runs it as some other user. #!/bin/bash /usr/bin/expect << EOD set... (5 Replies)
Discussion started by: oseri
5 Replies
PSPAX(1)						    Documentation for pax-utils 						  PSPAX(1)

NAME
pspax - list ELF/PaX information about running processes SYNOPSIS
pspax [options] ELFs DESCRIPTION
pspax is a user-space utility that scans the proc directory and list ELF types, as well as their respective PaX flags and filenames and attributes. Depending on build options, it may additionaly display the process running set of capabilities. OPTIONS
-a, --all Show all processes -h, --header Print GNU_STACK/PT_LOAD markings -i, --ipaddr Print ipaddr info if supported -p, --pid PID Only process specified process id -u, --user UID Process user/uid # -g, --group GID Process group/gid # -n, --nx Only display w^x processes -w, --wx Only display w|x processes -v, --verbose Be verbose (can be used more than once) -B, --nobanner Don't display the header -h, --help Show condensed usage and exit -V, --version Print version and exit HOMEPAGE
http://hardened.gentoo.org/pax-utils.xml REPORTING BUGS
Please include as much information as possible (using any available debugging options) and send bug reports to the maintainers (see the AUTHORS section). Please use the Gentoo bugzilla at http://bugs.gentoo.org/ if possible. SEE ALSO
chpax(1), dumpelf(1), paxctl(1), pspax(1), readelf(1), scanelf(1) AUTHORS
Ned Ludd <solar@gentoo.org> Maintainer Mike Frysinger <vapier@gentoo.org> Maintainer Fabian Groffen <grobian@gentoo.org> Mach-O Maintainer NOTES
1. http://hardened.gentoo.org/pax-utils.xml 2. http://bugs.gentoo.org/ pax-utils 0.2.3 03/03/2011 PSPAX(1)
All times are GMT -4. The time now is 11:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy