Skip to content

Commit

Permalink
Change the Sampling Period of ESX Data
Browse files Browse the repository at this point in the history
Change the ESX Sampling Data Interval. Use ESX Top along with PerfManager API
  • Loading branch information
2spmohanty committed Oct 24, 2019
1 parent cd77ca5 commit 3969b84
Show file tree
Hide file tree
Showing 75 changed files with 17,028 additions and 24,552 deletions.
Binary file modified .DS_Store
Binary file not shown.
19 changes: 19 additions & 0 deletions 1.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
from collections import OrderedDict, namedtuple, defaultdict
import glob
instance_data = {}
instance_dict= {'1': ',PRIMARY_LDU_NAME:10.172.109.23,PRIMARY_LDU_USER_NAME:[email protected],PRIMARY_LDU_PASSWD:vc_password,DATACENTER:Datacenter3,CLUSTER:cls,HOST_NAME:w1-hs4-n2203.eng.vmware.com,SRC_PNIC:vmnic1,DATASTORE:vsanDatastore,SRC_DISK:vmhba2,DEST_DATACENTER:Datacenter3,DEST_CLUSTER:cls,DEST_HOST_NAME:w1-hs4-n2204.eng.vmware.com,PNIC:vmnic1,DEST_DATASTORE:vsanDatastore,DEST_DISK:vmhba2,STAT_COLLLECTION_LIST:pnic,datastore,mem,disk'}
"""
for instance in instance_dict:
print instance
instance_data[instance] = dict( (x, y) for x, y in (item.split(":") for item in instance_dict[instance].strip(",").split(",")))
instance = '1'
for x,y in (item.split(":") for item in instance_dict[instance].strip(",").split(",")):
"""

z = dict(1,2)

Loading

0 comments on commit 3969b84

Please sign in to comment.