I have to capture the creation date and time stamp for a file. The ls command doesn't list all the required information. I need year, month, day, hour, minute and second.
Any ideas... (1 Reply)
I am trying to insert a line with a date stamp in a file that is used to monitor activity in one of our directories. By doing this, I want to grep that file each day and go to the last entry for each time a error occurred and pull all errors generated if any exist. If error exists I want that error... (3 Replies)
Looking for a shell script or a simple perl script . I am new to scripting and not very good at it .
I have 2 directories . One of them holds a text file with list of files in it and the second one is a daily log which shows the file completion time. I need to co-relate both and make a report.
... (0 Replies)
Hi
When i do ls -ltr <file1> then it shows me the date and time of the file
if - for whatever reason file has future date/time stamp then ls -ltr is not showing the time, it just shows only date part ... even if time is ahead by 2 hr than current time.
suppose a file was copied from INDIA... (3 Replies)
Hi
I use "touch -t xxxxxxxx" command to set date/time stamp of a file. My requirement is to read the date/time stamp of a file and apply it to another file.
Is there anyway to do it simple instead of manually taking date/stamp of first file?
TIA
Prvn (2 Replies)
Hi!
Please see our current script:
#!/usr/bin/ksh
if (egrep "This string is found in the log" /a01/bpm.log)
then
mailx -s "Error from log" me@email.com, him@email.com </a01/bpm.log
fi
To the above existing script, we need to add the following change:
1) After finding the string,... (7 Replies)
Hi All,
Please help.
I have requirement to read the file / folder based on the latest date and download the file and folder.
There will be files and folders in the location like
20140630-144422
20140630-144422.csv
20140707-182653
20140707-182653.csv
20140710-183153... (7 Replies)
I am developing one script which will take log file name, output file name, date, hour and minute as an argument and based on these inputs, the script will scan and capture all the error(s) that have been triggered from a given time. Example: script should capture all the error after 13:50 on Jan... (2 Replies)
find /app/data -name "Availability" -
Below is the output now i need to filter based on latest modified timestamp.
I know 3 is the latest modified time stamp but i tried different options but only filtering docs and not on headnote..Can any one tell me how to do that..
... (2 Replies)
I have a file hello.txt which was created today (today's date timestamp)
I wish to change its date timestamp (access, modified, created) to 1 week old i.e one week from now.
uname -a
SunOS mymac 5.11 11.2 sun4v sparc sun4v
Can you please suggest a easy way to do that ? (12 Replies)
Discussion started by: mohtashims
12 Replies
LEARN ABOUT DEBIAN
pegasus-remove
PEGASUS-REMOVE(1)PEGASUS-REMOVE(1)NAME
pegasus-remove - removes a workflow that has been planned and submitted using pegasus-plan and pegasus-run
SYNOPSIS
pegasus-remove [-d dagid] [-v] [rundir]
DESCRIPTION
The pegasus-remove command remove a submitted/running workflow that has been planned and submitted using pegasus-plan and pegasus-run. The
command can be invoked either in the planned directory with no options and arguments or just the full path to the run directory.
OPTIONS
By default pegasus-remove does not require any options or arguments if invoked from within the planned workflow directory. If running the
command outside the workflow directory then a full path to the workflow directory needs to be specified or the dagid of the workflow to be
removed.
pegasus-remove takes the following options:
-d dagid, --dagid dagid
The workflow dagid to remove
-v, --verbose
Raises debug level. Each invocation increase the level by 1.
rundir
Is the full qualified path to the base directory containing the planned workflow DAG and submit files. This is optional if
pegasus-remove command is invoked from within the run directory.
RETURN VALUE
If the workflow is removed successfully pegasus-remove returns with an exit code of 0. However, in case of error, a non-zero exit code
indicates problems. An error message clearly marks the cause.
FILES
The following files are opened:
braindump
This file is located in the rundir. pegasus-remove uses this file to find out paths to several other files.
ENVIRONMENT VARIABLES
PATH
The path variable is used to locate binary for condor_rm.
SEE ALSO pegasus-plan(1), pegasus-run(1)AUTHORS
Gaurang Mehta <gmehta at isi dot edu>
Jens-S. Vockler <voeckler at isi dot edu>
Pegasus Team http://pegasus.isi.edu
05/24/2012 PEGASUS-REMOVE(1)