Hi
All,
I have oracle 9i and 10g on unix. now i have 920.env and 1020.en file to set p respective enviornment.
when I excecute this commnad
. $HOME/920.env from the shell prompt it is working fine. and also same for 1020.env .
Now same command . $HOME/920.env i am putting in shell... (2 Replies)
I scheduled a cron job to run @ 1:00 as follows ,
00 01 * * * /app/cbf/CLIF/version-1.0.0.0/scripts/archival.sh
Please find the archival.sh script.
But cron is throwing a mail stating sqlplus command not found
So can anybody suggest what might be the problem ??? (13 Replies)
Hi,
i have a script which need to do behave differently when run as a startup process from init.d/ rc2.d script and when run manually from shell.
How do i distinguish whether my script is run by init process or by shell??
Will the command
/proc/$$/psinfo | grep "myscript" work well???... (2 Replies)
Hi All,
Is there any way where we can run few commands with different shell in a shell script ?
Let's have an example below,
My first line in script reads below,
#!/bin/sh
However due to some limitation of "/bin/sh" shell I wanted to use "/bin/bash" while executing few... (9 Replies)
i wrote a shell program in Home Directory.
and i changed to other directory.
i want to try to execute shell script in Other Dir.
it is not executed.
how can i make this script to execute in other directory also??
Thanks,
Arun (11 Replies)
loop=y
while
do
clear
tput cup 5 15
echo -n "People Database"
echo -n "===================================="
tput cup 8 12
echo -n "L-Print Last Names"
tput cup 9 12
echo -n "F-Print First NAmes"
tput cup 10 12
echo -n "C-Print First Name, Last Name sorted by city"
tput cup 11 12... (3 Replies)
Hi
We use "tcsh" shell . We do the following steps manually:
> exec ssh-agent zsh
> python "heloo.py" (in the zsh shell)
I am trying to do the steps above from a shell script
This is what I have so far
echo "Executing "
exec ssh-agent zsh
python "hello.py"
exit 0
Problem is... (5 Replies)
Hi,
I'm trying to do teh below thing.
I have a single script which uses 3 different parameters to do 3 different work like belwo.
test1.sh par1 -- it shuts down an instance
test1.sh par2 -- it shuts down an instance
test1.sh par3 -- it shuts down an instance
Now I created a script... (7 Replies)
Student just starting to learn shell script
I have file named
smallFile
John:Doe:ECE:3.54:doe@jd.home.org:111.222.3333
James:Davis:ECE:3.71:davis@jd.work.org:111.222.1111
Al:Davis:CS:2.63:davis@a.lakers.org:111.222.2222
Ahmad:Rashid:MBA:3.74:ahmad@mba.org:111.222.4444... (2 Replies)
Discussion started by: jetoutant
2 Replies
LEARN ABOUT OSF1
rapi_sender
rapi_sender(3) Library Functions Manual rapi_sender(3)NAME
rapi_sender - Specify Resource ReSerVation Protocol (RSVP) API sender parameters
LIBRARY
RAPI Library (librsvp.so, librsvp.a)
SYNOPSIS
#include <rapi.h>
int rapi_sender( rapi_sid_t Sid, unsigned int flags, rapi_addr_t *Lhost, rapi_filter_t *SenderTemplate,
rapi_tspec_t *SenderTspec, rapi_adspec_t *SenderAdspec, rapi_policy_t *SenderPolicy, int TTL);
PARAMETERS
Specifies the session handle that was returned by a successful call to the rapi_session routine. Unused. Points to a rapi_addr_t struc-
ture that contains the source IP address and the UDP source port from which data will be sent, or is NULL. This is an optional parameter.
If the source IP address is INADDR_ANY, the API uses the default IP address of the local host. This is sufficient unless the host
is multi-homed. The port number might be zero if the protocol for the session does not have any ports.
If the Lhost parameter is NULL, the application indicates that it is withdrawing its registration as a sender. All the following
parameters are ignored. Points to a RSVP API (RAPI) filter specification structure that specifies the format of data packets to be
sent, or is NULL. This is an optional parameter. See RSVP(7) for a description of RAPI objects and formats.
If the SenderTemplate parameter is NULL, RAPI creates a sender template from the Dest and Lhost parameters. The Dest parameter was
supplied in a previous rapi_session() call. If parameter is not NULL, the Lhost parameter is ignored.
This parameter is required in order to declare the sender template for a session using IP Security (IPSEC). An IPSEC session is
created with the RAPI_GPI_SESSION bit set. Points to a Tspec that defines the traffic that this sender will create. Points to a
RAPI Adspec structure, or is NULL. See RSVP(7) for a description of RAPI objects and formats. Points to a sender policy structure,
or is NULL. Specifies the IP Time-to-Live (TTL) value with which multicast data is sent. This allows RSVP to send its control mes-
sages with the same TTL scope as the data packets.
DESCRIPTION
The rapi_sender() routine defines, redefines, or deletes the parameters for a flow of data it intends to send and for which receivers can
make reservations. An application can call this routine more than once for the same API session, with the most recent call taking prece-
dence.
If the call to rapi_sender() succeeds, the application might receive upcalls of type RAPI_RESV_EVENT or RAPI_PATH_ERROR.
RETURN VALUES
Upon successful completion, the rapi_sender() routine returns zero (0). If there is a synchronous error, the routine returns a RAPI error
code.
RELATED INFORMATION
Functions: rapi_dispatch(3), rapi_event_rtn_t(3), rapi_getfd(3), rapi_release(3), rapi_reserve(3), rapi_session(3), rapi_strerror(3),
rapi_version(3).
Network: RSVP(7). delim off
rapi_sender(3)