12-02-2002
Adding a line in ./.profile worked for running the command set -o vi worked for me!!
Thanx!!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I hope somebody can help with this one.
If I run a command like this /rd/bin/rptmgr
to start a report manager up. How could I view this to see if it is running?
I can view it thru our bussiness app in GUI But I was wondering if I could check this when I am at the console in UNIX
I am... (2 Replies)
Discussion started by: rocker40
2 Replies
2. Programming
Hi,
-How can I get number of files, cpu usage (percentage), memory usage, disk usage, ...etc, using C program ... I can use unix command ( system(command) )but I want the value to be returned back to my C program to use it in my code? How can I do that?
Thanks in advance ... (2 Replies)
Discussion started by: zainab
2 Replies
3. Shell Programming and Scripting
HI.
I am trying to run 2 commands, using the "for x in a b c d" loop but i am having a hard time coding it...
Here is what i have so far:
for SERVER in SERVERA SERVERB SERVERC SERVERD SERVERE
do
###############################################################################
#... (5 Replies)
Discussion started by: Stephan
5 Replies
4. UNIX for Dummies Questions & Answers
I am trying to see if a process is running what was its start time.
here is the code that I am using
if
then
echo 'Gateway output processing started.'
else
VAR=$(ps -ef | grep batch_output_x )
...
fi
now the problem i see is when the process is running i get two... (3 Replies)
Discussion started by: akabir77
3 Replies
5. UNIX for Dummies Questions & Answers
I have a script that executes a MAIN JAVA FILE
It does check if the process is already running or not by using this code
w_pid=`ps -efx | grep -v grep | grep "FileTransactionArchiveMain dvlp"|awk '{print $11}'`
if
then
#echo 'Another instance is running.'
exit
fi
Now I... (1 Reply)
Discussion started by: akabir77
1 Replies
6. UNIX for Dummies Questions & Answers
What I'm looking for is best explained with a little example.
#!/bin/bash
gedit
echo "I need this message to appear while gedit is still running, but it appears only then when I close gedit."
Of course most of the times you want the script to wait, but in this case I want to start a new... (5 Replies)
Discussion started by: MrZehl
5 Replies
7. OS X (Apple)
How do I make terminal autorun commands at start up? For example, I have several windows of terminal, I want one to automatically run 'top' and a couple others autorun 'man' pages.
Is there any way I can do this? (1 Reply)
Discussion started by: randomtypos
1 Replies
8. Shell Programming and Scripting
I have a script that runs on an AIX 5.3.10.0. It runs perfectly on days that are double digit numbers, but from the 1st to the 9th of the month it runs but does not report anything.
The command in the script is as follows:
awk -v d=$(date '+%b%d') '/user:warn/ && /has shutdown/ && ($1$2 ==... (2 Replies)
Discussion started by: jimbojames
2 Replies
9. Red Hat
Hi all
I'm using the following for my os
# cat /etc/redhat-release
CentOS release 6.4 (Final)
when I execute the following
# ls -lrth /etc/init.d/httpd
-rwxr-xr-x. 1 root root 3.3K Feb 22 19:20 /etc/init.d/httpd
# /etc/init.d/httpd start
Starting httpd: httpd: Syntax error... (1 Reply)
Discussion started by: jediwannabe
1 Replies
10. UNIX for Beginners Questions & Answers
When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 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)