04-26-2009
There are two modes in java to run your application, so i am using server mode.
Well yes the program is running as a daemon and i have no clue how multiple instances of it are running............
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear all.....
I am currently writing a Help-Desk / Knowledge Base application using PHP/PostGreSQL.
I authenticate the user using a quite elaborate mechanism of cookies. The problem is that using cookies (I also have a version using sessions with the same problem), I can only seem to get one... (4 Replies)
Discussion started by: zazzybob
4 Replies
2. Shell Programming and Scripting
Hi,
I am writing a shell script to invoke a C++ program. Before I start the C++ program (oi7loadbalancer), I am checking if the process is already running. I start the process only if it is not already running. I have the following check in my script.
proccount=`ps -f -u $USER_NAME | grep... (8 Replies)
Discussion started by: sim
8 Replies
3. Shell Programming and Scripting
Hi,
I am executing the command: "./opmnctl status" to get the status of the processes in the instance. There are totally 5 processes that are avaialble, out of which 3 are "Alive" and 2 are "Down". How can I use the IF loop to get the status and echo it??
For instance I want to run a check... (8 Replies)
Discussion started by: yoursdavinder
8 Replies
4. UNIX for Dummies Questions & Answers
;)Hi Everyone,
I am using solaris 5.10.
I have a java process running in server mode in unix.
The problem is that it automatically forks i.e creates a child process.
I mean suddenly two instances of that process start running , in which the process-id of first instance is the parent... (0 Replies)
Discussion started by: glamo_2312
0 Replies
5. Shell Programming and Scripting
I am trying to debug the following script. It appears that when the check for script running occurs, it's finding the actual grep statement and causing the script believe the script is already running. This is deployed on two different servers where one works fine, the other doesn't. Any ideas?
... (2 Replies)
Discussion started by: DaddyMoose
2 Replies
6. Shell Programming and Scripting
Hi all,I have some questions of forking new process,the code is below.Any help will be appreciated.
1 #! /bin/bash
2
3 PIDS=$(pidof sh $0)
4 P_array=( $PIDS )
5 echo $PIDS
6 let "instances = ${#P_array}-1"
7
8 echo "$instances instance(s)" of this script running."
9... (4 Replies)
Discussion started by: homeboy
4 Replies
7. Shell Programming and Scripting
I need to install a tomcat6 with multiple instances like instance1,instance2 and instance3 in a server.
I came to know that for that we need to install tomcat6,apache2.0,mod_jk1.2 and jre with tools.jar installed.And we need to create multiple instances with same web.xml and difference... (0 Replies)
Discussion started by: tuxslonik
0 Replies
8. Shell Programming and Scripting
I have run 10 instances of the process eg, process name is BG
nohup /WP01IRB1_irbapp/IRBWPROD/RB/bin/BG -c 1 -t 23 -a '-caTop TESTBILLCYCLE='5FEB13_81PT19NPT''>a.txt &
nohup /WP01IRB1_irbapp/IRBWPROD/RB/bin/BG -c 2 -t 23 -a '-caTop TESTBILLCYCLE='5FEB13_81PT19NPT''>b.txt &
nohup... (3 Replies)
Discussion started by: ankitknit
3 Replies
9. UNIX for Advanced & Expert Users
Hi,
I want to write one program in C in Unix OS which will check the running status of a process time to time. If the process is stopped somehow by any means, it will ensure that the process is restarted and only one copy of the process image should run in memory at any point of time for the user.... (2 Replies)
Discussion started by: sanzee007
2 Replies
10. UNIX and Linux Applications
Hello.
I plan to use mysql with only instance database so I can stop one database for maintenance without stopping every thing.
When one reads through the my.cnf config file, it is not clear if we must use at the same time a single database mysql plus any instances mysqld2 (for app1), mysqld3... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT SUSE
avahi-dnsconfd
avahi-dnsconfd(8) System Manager's Manual avahi-dnsconfd(8)
NAME
avahi-dnsconfd - Unicast DNS server from mDNS/DNS-SD configuration daemon
SYNOPSIS
avahi-dnsconfd [options]
avahi-dnsconfd --kill
avahi-dnsconfd --refresh
avahi-dnsconfd --check
DESCRIPTION
avahi-dnsconfd connects to a running avahi-daemon and runs the script /etc/avahi/dnsconfd.action for each unicast DNS server that is
announced on the local LAN. This is useful for configuring unicast DNS servers in a DHCP-like fashion with mDNS.
OPTIONS
-D | --daemonize
Daemonize after startup and redirect log messages to syslog.
-k | --kill
Kill an already running avahi-dnsconfd. (equivalent to sending a SIGTERM)
-r | --refresh
Tell an already running avahi-dnsconfd to refresh the DNS server data. (equivalent to sending a SIGHUP)
-c | --check
Return 0 as return code when avahi-dnsconfd is already running.
-h | --help
Show help
-v | --version
Show version information
FILES
/etc/avahi/avahi-dnsconfd.action: the script to run when a DNS server is found or removed.
SIGNALS
SIGINT, SIGTERM, SIGQUIT: avahi-dnsconfd will shutdown. This is issued by passing --kill to avahi-daemon.
SIGHUP: avahi-dnsconfd will refresh the DNS server data.
AUTHORS
The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from http://avahi.org/
SEE ALSO
avahi-daemon(8), avahi-dnsconfd.action(8)
COMMENTS
This man page was written using xml2man(1) by Oliver Kurth.
Manuals User avahi-dnsconfd(8)