[SOLVED] How can i control the same app in two servers?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers [SOLVED] How can i control the same app in two servers?
# 8  
Old 09-07-2012
The lockfile's sheer existence is the indicator that the app is running. You can leave it empty, or you can put some info about the running instance of your app into it like PID, start time, user, server it runs on, so it can be used for other administrative tasks as well. You have to make sure it disappears once the app stops, even if it is, say, aborted or terminated by a signal.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Programming

Wuhan Coronavirus Status App for China - Rapid Prototype using MQTT and the IoT OnOff IOS App

With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here: ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies

2. UNIX for Dummies Questions & Answers

[Solved] Removing control-m characters from shell script

Hi All, I need to remove control m character from a file. Steps which i am doing in shell script are: 1) We are comparing the header of the file to the database table header Here the file header has control-m characters. How do i remove it. Please help. Below are the steps i am using,... (12 Replies)
Discussion started by: abhi_123
12 Replies

3. Solaris

Problem with /app

Hi folks, i have a problem with my /app directory on solaris 10.It is mounted under rpool root and sometimes it increase dimension bringing root out of space.I want to mount /app under different position, maybe under secondary hardisk for which i have created a mount point with zfs pool...How... (10 Replies)
Discussion started by: mattpunk
10 Replies

4. Emergency UNIX and Linux Support

[Solved] DCMU (disk control and monitor utility) sun fire

Hi , during 2 weeks i´ve been trying to find them. i need DCMU packets for managing internal disks on sun fire x4500 and sun fire x4600 on rhel. i have opened to tickets to myoraclesupport but no answer. please anybody could tell me a link or anythiing?? i´ve been searching and searching... (1 Reply)
Discussion started by: pabloli150
1 Replies

5. Shell Programming and Scripting

[solved] merging two files and writing to another file- solved

i have two files as file1: 1 2 3 file2: a b c and the output should be: file3: 1~a 2~b 3~c (1 Reply)
Discussion started by: mlpathir
1 Replies

6. Red Hat

userid with nothing to do on the os/app

Hi All, I got this userid apache with the same userid and groupid and /sbin/nologin and the /www/a home folder is empty. Can I just delete this userid? How can I investigate if userid have something to do with the application? Thanks for any comment you may add. (1 Reply)
Discussion started by: itik
1 Replies

7. Solaris

luminis app

The guys at SunGard want to charge a lot of $$$$ for installing Luminis and we are trying to see if this can be done without them. Their installation guide provided page #53 ( http://www.luminis.nocccd.edu/documents/Luminis%20IV/lp40000in.pdf ) doesn't really tell you much. All they say is that... (4 Replies)
Discussion started by: ceci1
4 Replies

8. Programming

Deadlocked App

Hello All - We have a legacy C program running non stop on one of our servers, with several instances often running at once. Fairly regularly, one of the instances while stop outputting to the log file and will just deadlock/hang. They must be then 'kill'ed by myself. When I gdb into one of... (3 Replies)
Discussion started by: markanderson
3 Replies
Login or Register to Ask a Question
TNTNET-CONFIG(1)					      General Commands Manual						  TNTNET-CONFIG(1)

NAME
tntnet-config - output compiler flags for tntnet usage SYNOPSIS
tntnet-config [--libs] [--cxxflags] [--config[=app]] [--makefile[=app]] [--project=app] [--autoproject=app] [--help] [--version] DESCRIPTION
This manual page documents briefly the tntnet-config command. OPTIONS
This program's options start with two dashes (`-'). A summary of options is included below. --libs Output linker flags. --cxxflags Output C++ preprocessor and compiler flags. --config[=app] Print default configuration file. --makefile[=app] Print a simple makefile for an ecpp project. --project=app Create a simple ecpp project directory. --autoproject=app Create a autotools based ecpp project. --help Show summary of options. --version Show version of program. AUTHOR
tntnet was written by Tommi Makitalo <tommi@tntnet.org>. This manual page was written by Kari Pahula <kaol@debian.org>, for the Debian project (but may be used by others). SEE ALSO
tntnet(8), ecppc(1), ecppl(1), ecppll(1). More documentation can be found in /usr/share/doc/tntnet-doc/. July 3, 2006 TNTNET-CONFIG(1)