Changes to the default options of the 'time' field in the utility vxtrace on HPUX

book

Article ID: 100052389

calendar_today

Updated On:

Description

Error Message

 

Cause

 

Resolution

In VxVM 5.1 and up, the default value of the 'time' field in the utility vxtrace is reported in milliseconds. Furthermore, the field for 'time' is reported in epoch format. There is an option to display the values in microseconds as well by using the -T option.  Here is how the vxtrace display has changed from the earlier 5.0.1 versions to the current 5.1 version:

 

VxVM 5.0.1:

 

1 START write vdev data1 block 2621176 len 64 concurrency 1 pid 80
2 START write vdev data1 block 2621240 len 60 concurrency 2 pid 80
2 END write vdev data1 op 2 block 2621240 len 60 time 0
1 END write vdev data1 op 1 block 2621176 len 64 time 0

 

VxVM 5.1SP1 :

[root@CLHP11][/]vxtrace -c 30

50008 START read vdev vol1 block 0 len 8 concurrency 1 pid 26363

50008 END read vdev vol1 op 50008 block 0 len 8 time 1642584472555  <<< Time reported in milliseconds

50009 START write vdev vol1 block 0 len 8 concurrency 1 pid 26363

50010 START read vdev vol1 block 8 len 8 concurrency 2 pid 26363

50010 END read vdev vol1 op 50010 block 8 len 8 time 1642584472551

 

 

[root@CLHP11][/]vxtrace -c 30 -T

50025 START read vdev vol1 block 0 len 8 concurrency 1 pid 26378

50025 END read vdev vol1 op 50025 block 0 len 8 time 1642584472555327   <<< Time reported in microseconds.

50027 START read vdev vol1 block 8 len 8 concurrency 2 pid 26378

50027 END read vdev vol1 op 50027 block 8 len 8 time 1642584472551956