07-07-2005
When you submit the background process you can redirect the output to a file ect..
this_process.ksh > /dev/null &
this_process.ksh > /home/mine/this_process.dat &
Hope this helps!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
How do I start a background process and save the process id to a file on my system. For example %wait 5 & will execute and print the process id. I can't figure out how to get it to a file. I've tried: > filename 0>filename 1>filename.
Any assistance is most appreciated.
Thanks,
Jim... (10 Replies)
Discussion started by: jleavitt
10 Replies
2. Shell Programming and Scripting
Hi Guys,
I am facing some weird problem with my shell script. The script shows up a menu and for every ontion internally calls a shell script which start/stop various servers. When I am using '&' while calling the internal shell script so that the server run in the background. For exiting... (1 Reply)
Discussion started by: agoyal
1 Replies
3. Shell Programming and Scripting
Hi,
In shell script when I use
script1 >> filelog
the echo statments of script1 gets printed in the filelog
but when I try to run script in background i.e,
script1 & >> filelog
nothing gets printed in the filelog.
Anybody knows whats going on here.
thanks (3 Replies)
Discussion started by: k_oops9
3 Replies
4. Shell Programming and Scripting
Hi,
I have a main script(main.ksh) within which I have called another script(sub.ksh). The sub.ksh script is made to run in the background using '&'. The main.ksh script logs the information in a logfile main_ddmmyy and the sub.ksh script also logs the information in the log file sub_ddmmyy.... (5 Replies)
Discussion started by: chella
5 Replies
5. Red Hat
If I run a process in the back ground like
find . -name "abc" &
after the process is complete we get a msg like
+ Done find . -name "abc" &
Is it possible to redirect this msg to /dev/null
Thanks for your help (1 Reply)
Discussion started by: Ujan
1 Replies
6. UNIX for Dummies Questions & Answers
I need to submit a script that will continue to run after logging out and after a reboot or shutdown.
I entered the following: nohup script &
The script continues to run in the background after logging off the system but is killed after a reboot or shutdown. Any help would be greatly... (1 Reply)
Discussion started by: powwm
1 Replies
7. UNIX for Dummies Questions & Answers
What I need to learn is how to use a script that launches background processes, and then kills those processes as needed.
The script successfully launches the script. But how do I check to see if the job exists before I kill it?
I know my problem is mostly failure to understand parameter... (4 Replies)
Discussion started by: holocene
4 Replies
8. AIX
how to check the process running in background? how can i run a process in background? pls explain with commands (1 Reply)
Discussion started by: udtyuvaraj
1 Replies
9. Shell Programming and Scripting
Hi,
I am using net::ftp for transferring files now i am trying in the same Linux server as a result ftp is very fast but if the server is other location (remote) then the file transferred will be time consuming.
So i want try putting FTP part as a background process. I am unaware how to do... (5 Replies)
Discussion started by: vanitham
5 Replies
10. Shell Programming and Scripting
Hi,
I have written a menu driven shell script in which as per the choice, I run the another script on background.
For eg:
1. get info
2)process info
3)modify info
All the operations have different scripts which i schedule in background using &.
However I wish to display the error... (0 Replies)
Discussion started by: ashima jain
0 Replies
LEARN ABOUT CENTOS
couchdb
COUCHDB(1) User Commands COUCHDB(1)
NAME
couchdb - Apache CouchDB database server
SYNOPSIS
couchdb [OPTION]
DESCRIPTION
The couchdb command runs the Apache CouchDB server.
Erlang is called with:
-os_mon
start_memsup false start_cpu_sup false disk_space_check_interval 1 disk_almost_full_threshold 1 -sasl errlog_type error
+K true +A 4
Erlang inherits the environment of this command.
You can override these options using the environment:
ERL_AFLAGS, ERL_FLAGS, ERL_ZFLAGS
See erl(1) for more information about the environment variables.
The exit status is 0 for success or 1 for failure.
OPTIONS
-h display a short help message and exit
-V display version information and exit
-a FILE
add configuration FILE to chain
-A DIR add configuration DIR to chain
-n reset configuration file chain (including system default)
-c print configuration file chain and exit
-i use the interactive Erlang shell
-b spawn as a background process
-p FILE
set the background PID FILE (overrides system default)
-r SECONDS
respawn background process after SECONDS (defaults to no respawn)
-o FILE
redirect background stdout to FILE (defaults to couchdb.stdout)
-e FILE
redirect background stderr to FILE (defaults to couchdb.stderr)
-s display the status of the background process
-k kill the background process, will respawn if needed
-d shutdown the background process
REPORTING BUGS
Report bugs at <https://issues.apache.org/jira/browse/COUCHDB>.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may
obtain a copy of the
License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITH-
OUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under
the License.
couchdb - Apache CouchDB 1.2.0 January 2013 COUCHDB(1)