12-09-2017
Run your script interactively with a small subset of a) correct b) erroneous data to see what happens.
9 More Discussions You Might Find Interesting
1. AIX
hi everybody,
i am Talip, a begginner at unix based systems and i have a problem (actually, we may think myself as the problem, in this situation).
i am not sure if this is the correct platform for my questions. if it is not please forgive me about this inappropriate mail.
what i have:
*... (2 Replies)
Discussion started by: talipk
2 Replies
2. Shell Programming and Scripting
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies
3. Shell Programming and Scripting
I need to run multiple commands on remote server using the nohup...
I have tried 2 options
1) rsh <SERVER_NAME> -n "nohup perl $SCRIPTS_DIR/abc.pl ; $SCRIPTS_DIR/xyz.ksh & " &
2) rsh <SERVER_NAME> -n "nohup perl $SCRIPTS_DIR/abc.pl & nohup $SCRIPTS_DIR/xyz.ksh & " &
I need to know if... (2 Replies)
Discussion started by: aster007
2 Replies
4. Shell Programming and Scripting
Hi all,
I have one script test.sh for which I pass two arguments. In the same script I need to submit this script in background using nohup. My script like this and it is working in HP-UX os but not Solaris.
#! /bin/sh
if
then
MTR_PID=$$
export MTR_PID
echo "test.sh $1 $2... (3 Replies)
Discussion started by: sridhar_423
3 Replies
5. UNIX for Dummies Questions & Answers
Hi guys,
I am new on here, I have a function in oracle that returns a specific value:
create or replace
PACKAGE BODY "CTC_ASDGET_SCHED" AS
FUNCTION FN_ASDSCHEDULE_GET
RETURN VARCHAR2
AS
BEGIN
DECLARE
ASDSchedule varchar2(6);
ASDComplete... (1 Reply)
Discussion started by: reptile
1 Replies
6. Shell Programming and Scripting
hi
I want to use nohup command with set of commands ..
my goofy sample :
nohup while true do ; date; done
and its not working .
any idea ?
cheers (1 Reply)
Discussion started by: kvok
1 Replies
7. Shell Programming and Scripting
Hi!
I would like to do a single connection to sqlplus and execute some querys.
Actually I do for every query one connection to database
i.e
echo 'select STATUS from v$instance;
exit' > $SQL_FILE
sqlplus user/pass@sid @$SQL_FILE > $SELECT_RESULT
echo 'select VERSION from v$instance;... (6 Replies)
Discussion started by: guif
6 Replies
8. UNIX for Dummies Questions & Answers
I have a unix script named 'test1' and it can be run using parameters say a, b and c. i.e. the command would be
test1 -a -b -c
this script gives the output in the log file as
script started
start time: 10.22 pm 7 april
end time: 10.30 pm 7 april
script finished
Now, i want to run... (3 Replies)
Discussion started by: swap21783
3 Replies
9. Linux
Hi,
nohup sar -u 10 $COUNT | awk 'NR>2 {$2=$4=$7="";}1' | tr -s ' ' '\t' 2>/dev/null >sar.out &
i have execute above line from shell script .. but sar.out is created with ZERO bite size..
Help on that what is the problem here
Thx,
Mani (0 Replies)
Discussion started by: Mani_apr08
0 Replies
dtsd(1m) dtsd(1m)
NAME
dtsd - Restarts the DTS daemon
SYNOPSIS
dtsd [options] [-d] [-w serviceability]
dtsd [-s [-k courier|noncourier] [-g] [-o]]
dtsd -c
ARGUMENTS
Debug mode. The command will run in the foreground. See svcroute(5) for the full description of the appropriate format for this entry.
Only the three-field format, severity:how:where, is used. An example is: FATAL:TEXTFILE:/dev/console Run as a server. Default is backup,
courier, local server Run dtsd as a global server. Run dtsd as a courier. Run dtsd as a noncourier. When enabling as a server, set the
clock immediately. Equivalent to the command enable set clock true in dtscp or to the command dcecp dts activate -abruptly. Run dtsd as a
clerk.
DESCRIPTION
The dtsd command invokes the DTS daemon (clerk or server process). This command is usually executed as part of the overall DCE startup
script, rc.dce.
You can enter the command manually under the following conditions: If a DTS daemon fails to start automatically upon reboot If you want to
restart a daemon that you shut down to perform a backup or do diagnostic work
In normal rebooting, the rc.dce script automatically provides arguments appropriate to the choice of configuration options.
The command line arguments shown here can also be provided to dced as part of the fixed configuration strings, if dced is configured to
automatically start the dtsd.
If dtsd is started with no arguments (other than -d and -w), then the server must be started with dcecp. The following example configures
a local server: dcecp> dts configure -notglobal dcecp> dts activate
Privilege Required
DTS runs as the host machine principal, which is usually root. See the Security reference pages for information about principals.
NOTES
Use dtsd interactively only when troubleshooting; use the rc.dce script to start the DTS daemon. On some systsems the superuser is associ-
ated with the machine principal.
EXAMPLES
To restart the daemon, follow these steps: Log in to the system as superuser (root). Use the ps command to make sure that dced and cdsadv
are running. (The DCE daemon provides the endpoint mapping and security services, and cdsadv provides CDS.) Enter the following command
to restart the dts daemon as a clerk: $ dtsd -c
To restart the dts daemon as a server, use dtsd -s and to restart it as a global server, setting the clock on startup, use dtsd -s -g -o
RELATED INFORMATION
Commands: dtscp(1m), dtsdate(1m), dcecp(1m).
Books: OSF DCE Administration Guide
dtsd(1m)