Is there anyway to get the start time and end time / status of a crontab job which was just completed? Of course, we know the start time of the crontab job since we are scheduling. But I would like to know process start and time recorded somewhere or can be fetched from a command like 'ps'. ... (3 Replies)
Hi,
Please help me in calculating the time difference between below mentioned timestamps.
a=07/17/2007 02:20:00 AM MST
b=07/17/2007 02:07:46 AM MST
Thanks (2 Replies)
Hi All,
I've written a script which reads all the systems backup information and saves it in a log file.
ssh -l ora${sid} ${primaryhost} "tail -2 /oracle/$ORACLE_SID/sapbackup/back$ORACLE_SID.log" |head -1 | awk '{print echo "PREVIOUS:-- Start Date&Time: " $3,$4,echo "|| End Date&Time:... (1 Reply)
Hi All,
I've written a script which reads all the systems backup information and saves it in a log file.
ssh -l ora${sid} ${primaryhost} "tail -1 /oracle/$ORACLE_SID/sapbackup/back$ORACLE_SID.log" | awk '{print $3,$4,$5,$6}' >> ${RESULTFILE}
The output comes as below:
2008-09-30 06.00.01... (2 Replies)
Hi,
Can anyone help me how can I get the line that between the start time and end time.
file1.txt
15/03/2009 20:45:03 Request: - Data of this line
15/03/2009 20:45:12 Response: - Data of this line
15/03/2009 22:10:40 Request: - Data of this line
15/03/2009 22:10:42 Response: - Data of... (1 Reply)
Process start time is not showing the correct time:
I had started a process on Jun 17th at 23:30:00.
Next day morning when I run the command "ps -ef | grep mq", the process is showing the start date of Jun 17th but the start time is 00:16:41
Day/Date is setup correctly on the server.
It... (2 Replies)
Hello,
I'm trying to create a shell script (#!/bin/sh) which should tell me the age of a file in minutes...
I have a process, which delivers me all 15 minutes a new file and I want to have a monitoring script, which sends me an email, if the present file is older than 20 minutes.
To do... (10 Replies)
I have time in a file in HH:MM:SS format as it contents(its not the file creation time). i need this to be converted to epoch time or time since 1970. The time is written into that file by a script, which i cannot modify. Im using AIX machine
$ cat abc.txt
10:29:34 (2 Replies)
i grepped the time stamp in a file as given below
now i need to calculate time difference
file data:
18:29:10
22:15:50 (5 Replies)
Discussion started by: vivekn
5 Replies
LEARN ABOUT DEBIAN
awayrc
awayrc(5) User Manuals awayrc(5)NAME
awayrc - configuration file for Away
DESCRIPTION
An away configuration file consists of a series of commands. Each line of the file may contain only one command. Command names are case-
insensitive. Commands and arguments are separated by spaces.
The hash mark, or pound sign ("#"), is used as a comment character. You can use it to annotate your configuration file. All text after
the comment character to the end of the line is ignored.
Take note that if any mailboxes are configured in the rc file, they will be the only mailboxes checked, which means that you must add your
inbox--the $MAIL environment variable will be ignored.
COMMANDS
mail VALUE
This command allows the user to disable or enable the checking of the user's mailboxes. If mail checking is disabled, all mailbox
and maildir commands are ignored. VALUE can be 0, 1, no, or yes. The default value is 'yes'.
mailbox FILENAME
A file that should be checked for "new mail." The filename will be appended to the previous maildir declaration. An optional
description of the mailbox may be supplied. If the description contains a space, the entire description must be enclosed in braces,
"{" and "}".
maildir DIRECTORY
A path where subsequent mailbox declarations will be located. The only argument is the path itself.
persist VALUE
This command will set whether to do persistent mail checking. VALUE can be 0, 1, no, or yes. The default value is 'yes'.
time SECONDS
This command will set the number of seconds that away sleeps before performing its background tasks. Presently, the only background
task that away will perform is the checking of mailboxes. The SECONDS value must be more than the minimum, which set at compile
time. The only argument is the number of seconds. The default value is 300.
EXAMPLE
# check mailboxes
mail yes
# check mail every 60 seconds
time 60
# do not do persistent checking
persist no
# inbox
maildir /var/spool/mail
mailbox johndoe {your Inbox}
# procmail folders
maildir /home/johndoe/mail
mailbox linux-security {Linux Security}
mailbox mutt-announce {Mutt Announce}
FILES
~/.awayrc
Per user configuration file.
BUGS
Bug reports should be sent to the away mailing list <away@unbeatenpath.net>.
SEE ALSO away(1)AUTHORS
Cameron Moore <cameron@unbeatenpath.net>, and others.
Linux November 2000 awayrc(5)