Hi I am very new to scripting,
Can someone show me how to (in unix shell script) compare the system's date with a date in a file. The requirement is to somehow open this file (which will only have a date in it) and compare it with today's date. If they are equal execute a procedure below but if... (4 Replies)
Hello,
I am trying to show today's date and time in a better format than ‘date' (Using positional parameters). I found a command mktime and am wondering if this is the best command to use or will this also show me the time elapse since 1/30/70? Any help would be greatly appreciated, Thanks... (3 Replies)
I'm having problems with my bash script. I would like to find a file matching today's date in the filename, i.e. my_file_20120902.txt and then move it to a different directory, i.e. /tmp. Thanks. (1 Reply)
Hello,
I have a file like this:
2012112920121130
12345620121130msABowwiqiq
34477420121129amABamauee
e7748420121130ehABeheheei
in case the content of the file has the date of yesterday within the lines containing pattern AB this should be replaced by the current date. But if I use... (3 Replies)
Hi,
One of my Unix scripts needs to look for files coming in on Fridays. This script runs on Mondays. $date +"%y%m%d" will give me today's date. How can I get previous Friday's date.. can I do "today's date minus 3 days" to get Friday's date? If not, then any other way?? Name of the files is... (4 Replies)
Hi
I have file with number status and date1 and date1 field,
want add a column today between column date1 and date2.
file1.txt
number status date1 date2
===== ==== === =====
34567 open 27/06/13 28/06/13
45678 open 27/06/13 28/06/13
43567 open 27/06/13 28/06/13 ... (1 Reply)
Hi all,
Need an urgent help on the below scenario.
script:
awk -F","
'BEGIN { #some variable assignment}
{ #some calculation and put values in array}
END {
year=#getting it from array and assume this will be 2014
month=#getting it from array and this will be 05
date=#... (7 Replies)
hello,
in a file exist entries in date format YYYYMMDD. i want to find out, if there are dates, which isn't today's date.
file:
date example text
20140714 <= not today's date
20140715 <= not today's date
20140716 <= today's date
my idea is to use Perderabo's datecalc
... (2 Replies)
Hi Team,
I'm new to unix and i have a requirement to copy or move files from one directory to another based on current date mentioned in the .zip file name. Note that i need to copy only the recent zip file. please help me with the code
i tried the code as:
#! /usr/bin/sh
find... (3 Replies)
Hi Community!
Following on from this code in another thread:
#!/bin/bash
file_string=`/bin/cat date.txt | /usr/bin/awk '{print $5,$4,$7,$6,$8}'`
file_date=`/bin/date -d "$file_string"`
file_epoch=`/bin/date -d "$file_string" +%s`
now_epoch=`/bin/date +%s`
if
then
#let... (2 Replies)
Discussion started by: Greenage
2 Replies
LEARN ABOUT DEBIAN
tau2vtf
TAU2VTF(1) Tools TAU2VTF(1)NAME
tau2vtf - convert TAU tracefiles to vampir tracefiles
SYNOPSIS
tau2vtf [-nomessage] [-v] [[-a] [-fa]] {tau_tracefile} {tau_eventfile} {vtf_tracefile}
DESCRIPTION
This program is generated when TAU is configured with the -vtf=<vtf_dir> option.
The tau2vtf trace converter takes a single tau_tracefile (*.trc) and tau_eventfile (*.edf) and produces a corresponding vtf_tracefile
(*.vtf). The input files and output file must be specified in that order. Multi-file TAU traces must be merged before conversion.
The default output file format is VTF3 binary. If the output filename is given as the .vpt.gz type, rather than .vpt, the output file will
be gzipped. There are two additional output format options. The command line argument '-a' produces the vtf file output in ASCII VTF3
format. The command line argument '-fa' produces the vtf file output in the FAST ASCII VTF3 format. Note that these arguments are mutually
exclusive.
OPTIONS -nomessage Suppresses printing of message information in the trace.
-v Verbose mode sends trace event descriptions to the standard output as they are converted.
-a Print the vtf file output in the human-readable VTF3 ASCII format
-fa Print the vtf file in the simplified human-readable FAST ASCII VTF3 format
EXAMPLES
The program must be run with the tau trace, tau event and vtf output files specified in the command line in that order. Any additional
arguments follow. The following will produce a VTF, app.vpt, from the TAU trace and event files merged.trc and tau.edf trace file:
tau2vtf merged.trc tau.edf app.vpt
The following will convert merged.trc and tau.edf to a gzipped FAST ASCII vampir tracefile app.vpt.gz, with message events omitted:
tau2vtf merged.trc tau.edf app.vpt.gz -nomessage -fa
SEE ALSO vtf2profile(1), tau2profile(1), tau_merge(1), tau_convert(1)
12/22/2005 TAU2VTF(1)