VMware Cloud Community
Joshua_P
Contributor
Contributor
Jump to solution

Support Bundle Information Extraction

Hi,

I am attempting to create a support bundle parser and there is a field in the esxcfg-info.xml file called "hardware-uptime", it is a very long stream of integers.  Does anyone know what that number is based on and I do not mean the type of uint64.  I am wanting to decode it into a usable/readable piece of information.  I do already know that it is not difficult to get the up-time from the command line.  This needs to be from the support bundle only.  Any assistance would be greatly appreciated.

Thanks,

Joshua_P

1 Solution

Accepted Solutions
TheBobkin
Champion
Champion
Jump to solution

Hello Joshua,

Welcome to Communities.

It is in microseconds, same output as:

# esxcli system stats uptime get

(Display the number of microseconds the system has been running.)

VMware vSphere 6.5 Documentation Library

Unaware if 'parsing' log bundles violates any EULA or such - maybe depends whether personal or profit but the above info is public.

Bob

View solution in original post

2 Replies
TheBobkin
Champion
Champion
Jump to solution

Hello Joshua,

Welcome to Communities.

It is in microseconds, same output as:

# esxcli system stats uptime get

(Display the number of microseconds the system has been running.)

VMware vSphere 6.5 Documentation Library

Unaware if 'parsing' log bundles violates any EULA or such - maybe depends whether personal or profit but the above info is public.

Bob

Joshua_P
Contributor
Contributor
Jump to solution

Awesome!  Thanks!!

0 Kudos