05-25-2009
Bringing a nohup process to foreground
Thank you very much, that really helps
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I tried searching for this, but I have yet to find anything useful. So here goes,
if a script executed from another script with nohup & hangs, does it affect the parent script? Reason I ask, we have a windows box with NFS, and we use it to store some of our files. Currently, I mount the... (2 Replies)
Discussion started by: Sully
2 Replies
2. Shell Programming and Scripting
I want to print the pid of a nohup process to a file so later I can use the list of pid's in that file to stop the background processes again.
I use ksh on AIXv5.3:
nohup /start/script.ksh 1>/dev/null 2>&1
print $$ > .pid
nohup /start/script2.ksh 1>/dev/null 2>&1
print $$ >> .pid
But... (2 Replies)
Discussion started by: rein
2 Replies
3. UNIX for Advanced & Expert Users
I've tried this a long time ago and was successful but could not remember how i did it. Tried ctrl+Z and then used bg %
could not figure what i did after to keep it no hangup -
not sure if used nohup -p pid, can u plz help me out if this can be done.
Any help will be appreciated. (12 Replies)
Discussion started by: pharos467
12 Replies
4. Shell Programming and Scripting
I'm not sure if it is even possible but I figured if it was someone here would know how to do it...
I am running a script which starts a bunch of processes in the background but there is one process I would like to bring back to the foreground when complete. Unfortunately the process that I... (2 Replies)
Discussion started by: ctruhn
2 Replies
5. UNIX for Advanced & Expert Users
What is the difference between running a process using nohup and running a process in background ? Please explain (6 Replies)
Discussion started by: srksn
6 Replies
6. UNIX for Dummies Questions & Answers
If i have a single file i would just press fg but if i have multiple files running in the backgound and want to bring a specific one to the foreground how would i do that? Thanks!! (1 Reply)
Discussion started by: JamieMurry
1 Replies
7. UNIX for Advanced & Expert Users
What are all the difference between a Background and Foreground processes ?!
A Background process does not have access to STDIN and OUT.. What else ?
Is there any detailed description available somewhere ? (5 Replies)
Discussion started by: onequestion
5 Replies
8. Shell Programming and Scripting
Hi, guys:
I am working on my own shell using c. When I put a process into the background, how can I put it back to the foreground using tcsetpgrp?
Thanks (3 Replies)
Discussion started by: tomlee
3 Replies
9. UNIX for Dummies Questions & Answers
OS : AIX 6.1/Solaris 10
After I started running a shell script, I've realized that it will take another 5 hours to complete. Is there anyway I could convert this foreground process to run in nohup mode so that I can go home peacefully ?
I have the process ID
$ ps -ef | grep... (4 Replies)
Discussion started by: kraljic
4 Replies
10. Shell Programming and Scripting
Hi,
I have to create a script (ksh or perl) that starts certain number of parallel jobs (another scripts), each of them runs as a foreground process in a separate session. Plus I start monitoring job that has to determine if any of those scripts is expecting input from operator, and switch to... (4 Replies)
Discussion started by: andyh80
4 Replies
LEARN ABOUT DEBIAN
fsirand
fsirand(1M) System Administration Commands fsirand(1M)
NAME
fsirand - install random inode generation numbers
SYNOPSIS
fsirand [-p] special
DESCRIPTION
fsirand installs random inode generation numbers on all the inodes on device special, and also installs a file system ID in the superblock.
This helps increase the security of file systems exported by NFS.
fsirand must be used only on an unmounted file system that has been checked with fsck(1M) The only exception is that it can be used on the
root file system in single-user mode, if the system is immediately re-booted afterwards.
OPTIONS
-p Print out the generation numbers for all the inodes, but do not change the generation numbers.
USAGE
See largefile(5) for the description of the behavior of fsirand when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
fsck(1M), attributes(5), largefile(5)
SunOS 5.10 16 Sep 1996 fsirand(1M)