07-19-2011
Yes,I cannot access to files such as .profile or .bashrc, etc.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all
i have joined new to the group.
i have set an variable in my bashrc file.
.bashrc
PROGHOME=/home/braf/braf/prog
export PROGHOME
but while using it in my shell script its path is not taken and i had to explicitly give the export command to set the path.
in my script... (8 Replies)
Discussion started by: krithika
8 Replies
2. Shell Programming and Scripting
Hi,
I am trying to set environment variable on a remote machine. I want to do it by running a shell script
Here's what I am doin
rsh <remote-hostname> -l root "cd /opt/newclient; . ./setp.sh"
In setp.sh, I have
#############################
cd ../newlib;
export... (1 Reply)
Discussion started by: eamani_sun
1 Replies
3. Shell Programming and Scripting
HI ,
In the below script I am trying to return the value of the environment variable TIBCO_HOME to the caller
#! /usr/bin/csh
set VAR_NAME=$1
echo VAR_NAME
On the aix console.. set to setenv TIBCO_HOME /app/tibco
When I execute the script... myscript.sh TIBCO_HOME, the script... (5 Replies)
Discussion started by: bce_groups
5 Replies
4. Shell Programming and Scripting
Hi All,
I am using SunSolaris machine.
I need to get the value of environment variable from awk begin. Then use that value as the start number of a sequence and use that in my print statement. But it is not reading the value from environment variable.
I have tried the following:
... (5 Replies)
Discussion started by: prashas_d
5 Replies
5. Shell Programming and Scripting
Hi All,
I'm trying to write an menu driven program to automate some functions which involve loging to multiple hosts. The hosts can differ for every use, so I thought I would use an config file to get the hostnames. Now I need to set those values in the config file to environment variable to... (6 Replies)
Discussion started by: arun_maffy
6 Replies
6. Shell Programming and Scripting
There are two files one is shell script (sample.sh) and another is configuration file (sampl_conf.cfg)
configuration file contains one variable $FTP_HOME. the value of this variable vaires for user to user. If user is say jadoo then value is /home/jadoo/ftp/, for user1 - /home/user1/ftp. The... (0 Replies)
Discussion started by: jadoo_c2
0 Replies
7. Shell Programming and Scripting
Please help me on below..
https://www.unix.com/shell-programming-scripting/141533-retrieve-value-environment-variable-shell-script-called-crontab.html#post302442024
I'm still here. I can still see you! (0 Replies)
Discussion started by: jadoo_c2
0 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I was trying to istall Gdkpixbuff 2.26.1 in my laptop ubuntu 11.10, when I did:
./configure and I got these error message
*** 'pkg-config --modversion glib-2.0' returned 2.33.1, but GLIB (2.30.0) was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib.... (1 Reply)
Discussion started by: yifangt
1 Replies
9. UNIX for Dummies Questions & Answers
Hello All,
How do i overwrite a sourced script variable value.
Sourced Script:
GEN_PARAM_LIST4=""$LOG_DIR"/dwh_GenerateXMLFile.lst"
GEN_PARAM_LIST4_v2=""$LOG_DIR"/dwh_GenerateXMLFile.v2.lst"
I am using below statement for replacing.
Script2:
&&... (1 Reply)
Discussion started by: Ariean
1 Replies
10. Shell Programming and Scripting
Hi,
I meet an problem that it cannot change Terminal environment variable in a perl or bash script.
This change can only exist and become effective in script lifetime.
But I want to make this change take effect in current opened Terminal.
In our view, the thought seems to be impossible,
As... (9 Replies)
Discussion started by: weichanghe2000
9 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)