10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script test1.ksh (Korn shell) and within that I am calling another script test2.ksh
test2.ksh runs for a pretty long time and hence wanted to execute as nohup from within test1.ksh
Question 1) dont think the above is working , although executing the nohup... (1 Reply)
Discussion started by: alldbest
2. Shell Programming and Scripting
Shell : bash
OS : Oracle Linux 6.4
I want to save the ouput of a nohup command to file other than nohup.out . Below are my 3 attempts.
For both Attempt1 and Attempt2 , the redirection logs the output correctly to the output file. But I get the error "ignoring input and redirecting stderr to... (7 Replies)
Discussion started by: kraljic
3. UNIX for Dummies Questions & Answers
Hi Every one , i wrote a script for nohpu ,which checks the service by using the port number and starts if it doesnt hear the port. It works good untill i colse the session. how to make it work even after closing the session .And aslo how to deamoize this script
netstat -ptlen |... (2 Replies)
Discussion started by: vikatakavi
4. UNIX for Dummies Questions & Answers
We are trying to run a shell script using nohup command. But this scripts asks for user input (username and password). Once we enter credentials it should continue run in background.
Can someone please suggest how can we implement this? we can't modify .sh file since they are provided by... (5 Replies)
Discussion started by: blak
5. UNIX for Dummies Questions & Answers
I've read the man page on nohup.
But I still can't see what's the differences if
we just send a process to background versus
sending a nohup process to background.
nohup myprocess &
Without nohup, myprocess would still run uninterruptible
at background... (2 Replies)
Discussion started by: ehchn1
6. Shell Programming and Scripting
I am running this script inst.sh
sqlplus -s username/password @temp.sql
----Here is my temp.sql
set serveroutput on
select instance_name from V$instance;
When i run the script inst.sh on the command prompt...it runs fine...but
when i run it using... (5 Replies)
Discussion started by: njafri
I have a program which writes to nohup.out ...
over the time this nohup.out becomes a large file and i cannot read the contents of this file using a vi editor.... whe i do a vi nohup.out it gives an error insufficient memory....
do i need to clean this nohup.out periodically ( or compress it... (5 Replies)
Discussion started by: ramky79
Here is a problem of NOHUP.
I am trying to run a process which needs to be up and running even if the session is closed. I tried running it with "nohup", but starngely it is not working, when i exit from the session the process is also getting killed?
plz help me in finding out... (4 Replies)
Discussion started by: shivamasam
9. UNIX for Advanced & Expert Users
I submitted a long running executable without using nohup. Now, is there any way I can assure to keep that process ON even if my session gets killed?
Bobby (3 Replies)
Discussion started by: bobbyjohnz
10. UNIX for Dummies Questions & Answers
Using nohup it sends output automatically to $HOME/nohup.out - how do I direct this output to another named file instead, so I can run several scripts in the background at once, directing their outputs into individual log files?
Cheers (3 Replies)
Discussion started by: miwinter