[Veritas-bu] bpdbjobs output question
2004-03-22 23:31:25
Also to add onto what David said;
Netbackup has bpdbm
bpdbm -ctime 1079904902 (will return the following format)
1079904902 = Sun Mar 21 16:35:02 2004
HTH,
Mark Eisenhardt
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of David Rock
Sent: Monday, March 22, 2004 10:53 PM
To: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: Re: [Veritas-bu] bpdbjobs output question
* Dannhorn, Michael IZ/HZA-ICS <dannhmch AT de.ina DOT com> [2004-03-22 15:01]:
> Hi,
>
> When I try to retrieve the acitvity logs I get 'Start Time' and 'End
Time' in 'ticks' like '1079904902'.
> Who could help me to convert (VB) the ticks in date and time?
Look for VB equivalents of localtime and strftime. In python, I do this:
import time
ten_digit = 1079904902
print '%d is %s' %\
( ten_digit,
time.strftime('%d/%b/%Y %H:%M:%S',
time.localtime(ten_digit)))
This gives an output like this:
1079904902 is 21/Mar/2004 15:35:02
--
David Rock
david AT graniteweb DOT com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.637 / Virus Database: 408 - Release Date: 3/20/2004
|
|
|