Start a Conversation

Unsolved

This post is more than 5 years old

1960

July 21st, 2015 19:00

How to monitor PowerPath path status with timestamp

How to monitor PowerPath path status with timestamp

Introduction

This article describes how to use powermt command with parameter TIME_VERBOSE and TIME_SECONDS to monitor PowerPath path status with timestamp.


Detailed Information

In some situations we need to monitor the status of the PowerPath path. For example, the path is cut off or dead then automatically restore online, we need to know and record how long it takes or monitor the whole process going. Use “powermt display every=1” is able to have point of time status but without timestamp. Sometimes we have to record them manually. It’s time consuming and inaccurate.

User can add  time stamp to the powermt display every=seconds command output by defining the PP_DISPLAY_TIME_STAMP environment variable and setting the time display format to TIME_VERBOSE or TIME_SECONDS. TIME_VERBOSE displays complete details such as day, month, and year, time in hours, minutes, and seconds that increment  until you exit the powermt display command. TIME_SECONDS starts a counter from zero that increments until you exit the powermt display command.  Check following two examples:

Example 1:

Use PP_DISPLAY_TIME_STAMP=TIME_VERBOSE parameter to display detail of time.

# PP_DISPLAY_TIME_STAMP=TIME_VERBOSE

# export PP_DISPLAY_TIME_STAMP

# powermt display every=1

PP_1.png

Example 2

Use PP_DISPLAY_TIME_STAMP=TIME_SECONDS to display incremental

# PP_DISPLAY_TIME_STAMP=TIME_SECONDS

# export PP_DISPLAY_TIME_STAMP

# powermt display every=1

PP_2.png

Note: The PP_DISPLAY_TIME_STAMP environment variable is supported on PowerPath 5.3 and later for Windows, PowerPath 5.3 and later for Solaris, PowerPath 5.3 SP1 and later for Linux,and PowerPath 5.3 SP1 and later for AIX.




Author: Fenglin Li




        

iEMC APJ

Please click here for for all contents shared by us.

No Responses!
No Events found!

Top