[Veritas-bu] vmquery
2001-08-24 18:22:56
Out of curiosity don't know how to convert to UNIX time? here what I am
looking for :
I can do this:
$bpdbm -ctime 897897865
897897865 = Mon Jun 15 04:04:25 1998
But how can I convert "Mon Jun 15 04:04:25 1998" back to "897897865"? The
reason that I am asking because I am using the command vmquery to reassign
media to an other pool:
Example:
$vmquery -m media_id (to get the pool_number the status 0,1,2)
$vmquery -deassignbyid <media_id> <pool_number> <status>
$vmquery -assignbyid <media_id> <media_type> <pool_number> <status>
<assigntime>
and here where get stuck assigntime it must be a UNIX time.
Your help is appreciated.
Thanks
Adam
|
|
|