Sponsored Content
Top Forums Shell Programming and Scripting Shell script running in background Post 302543126 by radoulov on Friday 29th of July 2011 03:48:14 PM
Old 07-29-2011
It will work if you remove the -i option, you'll just won't see the prompt.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Running the Script in Background.

Gurus, Pls. help on this to run the script in background. I have a script to run the informatica workflows using PMCMD in script. Say the script name is test.sh & Parameters to the script is Y Y Y Y The no of parameters to the bove script is 4. all are going to be a flags. Each flag will... (2 Replies)
Discussion started by: prabhutkl
2 Replies

2. UNIX for Advanced & Expert Users

Running script in background

When I run the following snippet in background #!/bin/ksh while do echo "$i" sleep 10 i=`expr $i + 1` done My job got stopped and it says like + Stopped (SIGTTOU) ex1 & I did "stty tostop" as suggested in many of the post but still not working... (3 Replies)
Discussion started by: shahnazurs
3 Replies

3. Shell Programming and Scripting

running the script in background

I have a script called startWebLogic.sh which I was running in the background but the problem is which I used the command :- ps -elf | grep "startWebLogic.sh" | grep -v grep to find the process id but I was unable to find the process id for this script and when I checked from the front end the... (3 Replies)
Discussion started by: maitree
3 Replies

4. Shell Programming and Scripting

Running Shell Script in the cron, background proccess

Hi, i was looking for an answer for some trouble im having runing a script in the cron, thing is, that when i run it manually it works just fine. But when cron runs it, it just doenst work. I saw a reply on a similar subject, suggesting that the . .profile worked for you, but im kind of... (0 Replies)
Discussion started by: blacksteel1988
0 Replies

5. Shell Programming and Scripting

Running Shell Script in the cron, background process

Hi, i was looking for an answer for some trouble im having runing a script in the cron, thing is, that when i run it manually it works just fine. But when cron runs it, it just doenst work. I saw a reply on a similar subject, suggesting that the . .profile worked for you, but im kind of... (9 Replies)
Discussion started by: blacksteel1988
9 Replies

6. Shell Programming and Scripting

Remove Script still running in background

HI I have by mistaken delete my script but its still running in background and giving me output and cretaed ..nfsB5DC2 file. I have kill all my prosses still it running.... How can i stop this script. i have unix solaris systems. (8 Replies)
Discussion started by: asavaliya
8 Replies

7. Shell Programming and Scripting

Shell scripting issue-running the background script

I have written the below query to genrate a telephone.I am passing account number from oracle database. I am calling 2 scripts which generate the bill 1. bip.sh (it runs in the background) 2.runXitInvoice_PROFORMA_integ bip.sh generates a number which runXitInvoice_PROFORMA_integ uses.How... (7 Replies)
Discussion started by: rafa_fed2
7 Replies

8. Shell Programming and Scripting

Shell Script for continuously checking status of a another script running in background, and immedia

Hi, I want to write a script which continuously checking status of a script running in background by nohup command. And if same script is not running then immediately start the script...please help.. i am using below command to run script nohup system_traps.sh & but in some... (9 Replies)
Discussion started by: ketanraut
9 Replies

9. Shell Programming and Scripting

Korn Shell script in stopped state while running in background

Hi, I want to run a shell script in background . but its going to stopped state $ ksh cat_Duplicate_Records_Removal.ksh & 8975 $ + Stopped (tty output) ksh cat_Duplicate_Records_Removal.ksh & why is this happening? Also could anyone please tell me what is a stopped... (12 Replies)
Discussion started by: TomG
12 Replies

10. Shell Programming and Scripting

Running script in background

Hi, I wrote a KSH script and running it on HP-UX machine I am running one script in background. My script is at location $HOME/myScript/test/background_sh When I view my script in background with psu commend > psu | grep background_sh I see following output UID PID PPID C ... (1 Reply)
Discussion started by: vaibhav
1 Replies
rmfset(8)						      System Manager's Manual							 rmfset(8)

NAME
rmfset - Removes a fileset or a clone fileset from an AdvFS file domain SYNOPSIS
/sbin/rmfset [-f] domain fileset OPTIONS
Turns off the message prompt. OPERANDS
Specifies the name of an existing AdvFS file domain. Specifies the name of the fileset to be removed from the specified file domain. DESCRIPTION
The rmfset command removes a fileset (and all of its files) from an existing AdvFS file domain. Unless you use the -f option, you are prompted with the following request before a fileset is removed: rmfset: remove fileset <filesetname>? [y/n] If you answer n, the fileset is not removed. If you answer y, the fileset is removed. The -f option is useful for scripts or when you do not want to be queried about each fileset. If you choose the -f option, no prompts are displayed. The rmfset command operates as if you responded yes to the prompt. Unmount a fileset before removing it with the rmfset command. RESTRICTIONS
A fileset or clone fileset cannot be removed with this command if it is mounted. A fileset that has a clone fileset cannot be removed with this command until the clone fileset has been removed. You must be the root user to use this command. An rmfset operation can hang if you attempt to remove a fileset and the target AdvFS domain is experiencing heavy I/O. To work around the restriction, avoid using the utility on busy AdvFS domains. EXAMPLES
The following example deletes the test_fset fileset from the test_domain file domain. In this example, the test_fset fileset is mounted on the /mnt3 directory: # umount /mnt3 # rmfset test_domain test_fset rmfset: remove fileset test_fset? [y/n] y # SEE ALSO
Commands: mkfset(8), showfdmn(8), showfsets(8), mount(8) Functions: advfs_rmfset(3) File Formats: advfs(4) rmfset(8)
All times are GMT -4. The time now is 02:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy