10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi All,
i am trying to find whether nginx is installed or not as well process is running or not on my centos server.
For that i am searching for the nginx configuration file nginx.conf based on that i am printing the ouput.
Below script i am using.
var=$(find / -name "nginx.conf" !... (1 Reply)
Discussion started by: balu1234
1 Replies
2. Shell Programming and Scripting
Hello,
In our Data Warehouse environment, before our batch SFTP jobs kick off to pull the files from remote servers, I would like to setup a pre-sftp job that would test if all the remote servers from where the files are being pulled, are up and running. If any one of the remote serer is... (2 Replies)
Discussion started by: Dippu
2 Replies
3. UNIX for Dummies Questions & Answers
I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A.
Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server).
We dont have RSA key... (4 Replies)
Discussion started by: kiran_j
4 Replies
4. Solaris
Hi all,
I have written the following program and run on both T5440 and T5220 on same OS version. I found that T5540 server takes more time than T5220. Please find below the details.
test1.cpp
#include <iostream>
#include <pthread.h>
using namespace std;
#define NUM_OF_THREADS 20... (17 Replies)
Discussion started by: sanjay_singh85
17 Replies
5. Shell Programming and Scripting
Hello everyone,
I have 2 questions :
1) I have a backup shell script, let's call it backup.sh, that is called every hour as a cron job.
As a matter of fact a backup could last more than one hour.
It mounts a NAS and then do some rsync on important directories, so really I don't want to... (2 Replies)
Discussion started by: freddie50
2 Replies
6. UNIX for Dummies Questions & Answers
What I'm looking for is best explained with a little example.
#!/bin/bash
gedit
echo "I need this message to appear while gedit is still running, but it appears only then when I close gedit."
Of course most of the times you want the script to wait, but in this case I want to start a new... (5 Replies)
Discussion started by: MrZehl
5 Replies
7. Shell Programming and Scripting
Hi,
I am new to this forum and this is my first post.
I want to know that if I make an application in Tk (version of Tcl to create GUI) in windows and want to run to UNIX server, is it possible ?
In other words, can I access a UNIX server through a Tk application running on windows ?
... (1 Reply)
Discussion started by: ratneshnagori
1 Replies
8. UNIX for Dummies Questions & Answers
Ive written a java based "webscraper to rss feed" which resides on my college web space when I execute the app from putty it creates the feed and sets the permissions perfectly.I then wrote a php script to execute the app on demand from the browser using
...
system("java -cp... (1 Reply)
Discussion started by: gleesonger
1 Replies
9. Shell Programming and Scripting
Hi,
Im writing a script that will check which scripts are running. The script will run on a 5min loop and the status of the scripts will be written to the log. If any of the scripts arent running an email will be sent out.
At the min if all scripts are running an entry is made to the log... (19 Replies)
Discussion started by: runnerpaul
19 Replies
10. UNIX for Advanced & Expert Users
I need to execute a script from dev server which is located on Test server.I can use ftp to connect to dev server and from there how can i execute a command on test server.
Thanks (5 Replies)
Discussion started by: ukatru
5 Replies
deploytool(1m) Application Server Utility deploytool(1m)
NAME
deploytool - launches the deploytool utility to deploy, package, and edit your J2EE applications
SYNOPSIS
deploytool [--help] [--userdir user_directory] [--configdir configuration_directory]
Use the deploytool utility to deploy and package your J2EE applications and components, create and edit J2EE deployment descriptors, and
create and edit J2EE Application Server specific deployment descriptors. If the application is not J2EE compliant, an error message is dis-
played.
Only one session of the deploytool utility can run with a specific user directory. A lock file is created to ensure that only one utility
session is running. A message is displayed if a lock file is detected.
OPTIONS
--help displays the arguments for launching the AssemblyTool.
--userdir identifies the user directory. The default user directory is .deploytool under your home directory. Only one
deploytool session can be running per user directory. A lock file is created under the user directory to ensure
that only one session of the deploytool is running. The deploytool utility uses this directory to store configura-
tion information.
o On Solaris, the default directory is at ~/.deploytool
--configdir identifies the configuration directory. The configuration directory is where the asenv.conf file is located.
On Solaris the asenv.conf can be found at:
o Bundled installation: /etc/appserver
o Unbundled installation: default is /etc/opt/SUNWappserver7 or user specified
o Evaluation installation: AS_SERVER_INSTALL/config. Where AS_SERVER_INSTALL is the directory where you have
installed the Java 2 Platform, Enterprise Edition 1.4 Application Server Beta 2.
EXAMPLES
Example 1: Using deploytool
example% deploytool --userdir /myapplication --config_dir /myconfigdir
Where --userdir specifies the destination directory, and -config_dir identifies the configuration directory.
SEE ALSO
verifier(1M)
Sun Java System Application Server March 2004 deploytool(1m)