11-02-2011
Gotcha! I was planning on changing the permissions to the unix script, just thought maybe I'd also have the location of this file defined as a variable in a private location. I'll try defining it in my .profile. Thanks guys!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
While logged on as root, I created a user 'usera'
I also created a group called 'groupa'
I need to modify the permission of the user i created to not have root privileges.
I also need to change groupa to be in 'others'
please help!
thanks,
nieves (3 Replies)
Discussion started by: mncapara
3 Replies
2. Shell Programming and Scripting
Hi
I am trying to add variables(float values) in a unix script but am getting an error
value=`expr $a + $b + $c`
The error I am getting is "expr: non-numeric argument"
I guess it has got to something with the decimal points.
Plz help (13 Replies)
Discussion started by: akashtcs
13 Replies
3. Shell Programming and Scripting
Hi,
I am running a Java program from a unix script. I need to pass a variable to the Java code from a file. Here are teh details:
cat Parm <<this is my Parameter file>>
queuename=queue1
and my shell script is :
#!/bin/ksh
. ./Parm
/opt/java1.5/bin/java -classpath ./java.jar... (1 Reply)
Discussion started by: sangharsh
1 Replies
4. Shell Programming and Scripting
I'm creating a script that asks a user for a variable
ex
read filename;
read numberinput;
I also have a bunch of files named file.0 file.1 ... file.55
I'm trying to delete all files (if they exist) about file.$numberinput.
Can someone help me out on how to include the variable as part... (6 Replies)
Discussion started by: jenix4545
6 Replies
5. Shell Programming and Scripting
Hi,
I am trying to use a database to store configurations in an environment definition scripts to make the configurations easily modifiable. (long story short - it is an easier process to make changes in the db than trying to deploy a file). The values will be stored in the database in the... (1 Reply)
Discussion started by: gbala
1 Replies
6. Shell Programming and Scripting
Hi All,
I am using ETL tool Datastage and is installed on Linux environment. Few environment variables are set in datastage. Now my requirement is to use those environment variables in a unix script.
Is there any option I can do it?
Sugeestions from people working on datastage and linux... (1 Reply)
Discussion started by: bghosh
1 Replies
7. Shell Programming and Scripting
I'm pretty new to scripting in Korn shell so please forgive me...
What I'm trying to do is to create a script that calls multiple other ksh scripts and defines variables for text files.
I need it to define my user defined variables (file paths, date & time stamps, etc that are currently in... (1 Reply)
Discussion started by: bluejwxn8
1 Replies
8. Shell Programming and Scripting
Dear Shell script Experts,
I am working on shell script which is defined here, qsub_seq.csh . The purpose of this script is to read few input files (with defined starting index and last index) and make processing faster over server.
For some task, I had 1064 of input files, so I wrote another... (8 Replies)
Discussion started by: emily
8 Replies
9. Shell Programming and Scripting
Hi,
I just define the variable in script and use those script in another script but the variable not recognize.
test1.sh
#!/bin/bash
DB="test_db"
USR="test_user"
PWD="test_pwd"
HST="24.254.87.12"
test2.sh
#!/bin/bash
./test1.sh
mysql -u $USR -p $PWD -h $HST... (2 Replies)
Discussion started by: fspalero
2 Replies
10. Shell Programming and Scripting
I have written a script to execute some sql statement via executable file.
It is working fine via command line, however when I schedule it in cron.
The executable file is looking for library file in its root directory.
Wonder where does cron run the script from, and can we get the script... (4 Replies)
Discussion started by: jaapar
4 Replies
LEARN ABOUT DEBIAN
vtf2profile
VTF2PROFILE(1) Tools VTF2PROFILE(1)
NAME
vtf2profile - Generate a TAU profile set from a vampir trace file
SYNOPSIS
vtf2profile [-p profile] [-i interval_start interval_end] [-c] [-h] {-f tracefile}
DESCRIPTION
vtf2profile is created when TAU is configured with the -vtf=<vtf_dir> option. This tool converts a VTF trace file (*.vpt) to a tau profile
set (profile.A.B.C where A, B and C are the node, context and thread numbers respectively).
The vtf file to be read is specified in the command line by the -f flag followed by the file's location. The VTF tracefile specified may be
in gzipped form, eg app.vpt.gz. -p is similarly used to specify the relative path to the directory where the profile files should be
stored. If no output directory is specified the current directory will be used. A contiguous interval within the vtf file may be selected
for conversion by using the -i flag followed by two integers, representing the timestamp of the start and end of the desired interval
respectively. The entire vtf file is converted if no interval is given.
OPTIONS
-f tracefile -Specify the Vampir tracefile to be converted.
-p profile -Specify the location where the profile file(s) should be written.
-i interval_start interval_end -Limit the profile produced to the specified interval within the vampir trace file.
-c -Opens a command line interface for the program.
-h -Displays a help message.
EXAMPLES
To convert a vampir tracefile, trace.vpt, to an equivalent TAU profile, use the following:
vtf2profile -f trace.vpt
To produce a TAU profile in the ./profiles directory representing only the events from the start of the tracefile to timestamp 6000, use:
vtf2profile -f trace.vpt -p ./profiles -i 0 6000
SEE ALSO
tau2vtf(1), tau2profile(1)
12/22/2005 VTF2PROFILE(1)