There might be lots of newer versions released from that time but I remember, the said command was used to set the particular view (provided by view-tag, which is not present in your command).
i.e
Code:
cleartool set_view view_tag
You can also run your start-up files (containing the export command and other environment) with the -login option.
Code:
cleartool setview -login view-tag
In every case you have to provide the dynamic view-tag.
I don't know why the following shell script doesn't work. Could you please help me out?
#!/usr/bin/ksh
test="cal > /tmp/tmp.txt 2>&1"
$test
I know it will work for the following format:
#!/usr/bin/ksh
cal > /tmp/tmp.txt 2>&1
However, I need to get the command from the user in... (1 Reply)
Hi All
I am getting and error export command not found
What can be the possible reasons for this and how do we verify those
Please help me
Thanks (1 Reply)
Hello all,
I have just started doing shell scripting.
I want to read a file which stores the status of my job I have submitted
on a cluster.
The file looks something like this :
========================FILE=============================
crab: Checking the status of all jobs: please wait... (4 Replies)
Hi,
I need to run a script whenever the Cron file is modified.
The requirement is whenever a user modifies the cron file, the script should run automatically.
Can you please provide your inputs ? (5 Replies)
Hi All,
Linux lxs3er06 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux
Issue:
While executing shell scripts in bash shell, following error messages are thrown:
rm:command not found
On doing little investigation, I added '/bin' to $PATH and on doing echo... (9 Replies)
Hello,
I like to begin with :wall:.. literally... It has been 4 days and I have no idea how to fix it.
Environment - AIX 5.3
I wrote a script to call on ssh to log into another box via PKA to do something else.
If I run the script on the terminal, it works 100%. If the SAP customised... (11 Replies)
ssh -q <hostname> /opt/tcs/satish/tst.ksh
ssh -q <anotherserver> /opt/tcs/satish/tst.ksh
tst.ksh has "nohup <command> & "
when i execute below script , its throwing error as
nohup can not be found
ssh -q <anotherserver> /opt/tcs/satish/tst.ksh > log &
can someone let me... (5 Replies)
Hi ,
I have to write a shell script to telnet to specific host and execute the admin command there. Please help me to do that.
Eg : telnet hostname portno
admin command
exit (3 Replies)
Hello,
I need to execute below command in shell script
srvctl relocate service -d $database -s $service -i $avail -t $pref -f and also need to get the errors ,if any,in another file.
What's the right way to execute such commands in shell script?
Best regards,
Vishal (1 Reply)
friends,
i have application commands to execute in shell script it is something like this. i will login with user data it takes me to $ prompt. Example given below
login: data
ps : xxxx
$ MNSinput --this takes me to greater than prompt >
> ops --this is command i enter this output... (7 Replies)
Discussion started by: udaykrishna
7 Replies
LEARN ABOUT DEBIAN
gfrun
GFRUN(1)GFRUN(1)NAME
gfrun, gfrsh, gfssh - run Gfarm parallel programs
SYNOPSIS
gfrun [ options ] command arg ...
gfrsh [ options ] command arg ...
gfssh [ options ] command arg ...
DESCRIPTION
gfrun executes a parallel command on filesystem nodes, which is determined by the -G option, the -H option, or the -N option.
The -G option specifies the gfarm-URL, which will be used by file-affinity scheduling. In this case, gfrun schedules the same number of
filesystem nodes as the number of Gfarm fragments, taking into consideration the physical locations of each fragment replica of the Gfarm
file, and filesystem node status. The -H option specifies the hostfile that lists filesystem nodes. The -N option specifies the number of
filesystem nodes.
The -G, -H, and -N options are exclusive. When none of the -G, -H, or -N options are specified, gfrun schedules filesystem nodes by file-
affinity scheduling using the first existent Gfarm file in the argument list, args. If there are no existent Gfarm files in the argument
list, an appropriate filesystem node is selected to be executed.
gfrsh and gfssh utilize rsh and ssh, respectively, instead of gfrcmd.
A command can be specified by a gfarm-URL that is registered using gfreg(1).
OPTIONS -G gfarm-URL
Specifies a Gfarm file gfarm-URL for file-affinity scheduling. Please read the DESCRIPTION section about how file-affinity schedul-
ing works.
-H hostfile
Specifies a hostfile that lists filesystem nodes.
if ``-'' is specified, standard input is used to read the host list.
-N np Specifies the number of nodes, np, which are selected in the increasing order of load average.
-r Specifies an on-demand replication mode. In this mode, every file will be replicated before it is accessed remotely.
-o gfarm-URL
Specifies a Gfarm file that the standard output of the executed program will be redirected to.
-e gfarm-URL
Specifies a Gfarm file that the standard error of the executed program will be redirected to.
-I fragment-index
Specifies a Gfarm fragment index executed by the gfrun command. This option is available only when either file-affinity scheduling
is selected by the -G option or a gfarm file in the argument list, or the -N option is specified.
-v Displays error message verbosely.
-p Displays the elapsed time of each Gfarm parallel I/O API after the program terminates.
-g Explicitly specifies that the command is a Gfarm program. Gfarm specific options will be passed to the command as the result.
-u Explicitly specifies that the command is an ordinary program, and does not take Gfarm specific options.
-b Specifies global file view as the default file view for programs linked with the Gfarm syscall-hooking library. If this option is
not specified, the default is local file view.
-? Displays a list of command options.
ENVIRONMENT VARIABLES
GFRUN_CMD
Specifies a remote shell command. If globus-job-run is specified, gfrun executes each process using globus-job-run.
SEE ALSO gfmpirun_p4(1)Gfarm 13 November 2006 GFRUN(1)