Mapping between the instance in the metric system and VirtualDevice

Hello

does anyone know how to map the attribute instance in PerfMetricId to VirtualDevice?

I need to call QueryPerf to virtual disk on a virtual computer. I don't know what to fill attribute instance in PerfMetricId I fill PerfQuerySpec. I tried to put there name of virtual disk file, but it does not return anything.

Enumeration of the available metrics show instances to disk as counters: t10. ATA___WDC_WD1600HLFS2D75G6U0___WD2DWXL908009625

[but the file name, which resembles some id is: \[templates-datastore] test/test.vmdk

Where can I get the instance for the virtual disk id or how QueryPerf process instance attribute?

Thank you

Tomas

Tomas,

When you go through the collection of virtual devices virtual machine and identify this device as a virtual disk, you can collect its property of type VirtualDeviceFileBackingInfo that points to a data store.

The data store contains information about volumes, it is the property of type HostVmfsVolumeInfo in the case of VMFS and that points to a partition name.

VirtualDisk-> FileBackingInfo-> Datastore-> VolumeInfo-> the name of the partition.

The name of the partition + number-> the name of the partition - > VirtualDisk: = number.

The name of the partition that you receive, as well as the number of unique performance metrics identifies the virtual disk. I look like a "slice" of the data of an entire partition belongs to a particular virtual disk.

For another virtual machine, you can receive the same pair (partition name + number) but it would be another virtual disk, the disk that belongs to this virtual machine.

I wish I could share something more simple and of course, I can't guarantee that it will adapt to your particular situation. Yes, the code to deal with is not primitive.

BTW, there is no reliable way to generate a unique key for a virtual disk or other virtual device. I use a combination of name, partition and device index data store (looks like "my store 1 - vmhba33:2:31 - 2000"). And repopulate the associated internal structures when I detect changes in the indexes of virtual device.

Okay, I better stop now before I get carried away and start editing my business 'know-how' ;-).

See you soon,.

Dmitri

Tags: VMware

Similar Questions

  • Page Setup changes to the metric system

    In the "Page Setup" from my wordprocessing program box, all dimesions were changed to the metric system today. Instead of margins or 1 ", for example, they are now 25 mm. I have Windows 7 Professional with Microsoft Works and have not been able to discover a undue this mysterious and unwanted change. Any thoughts would be appreciated. Thank you

    Thanks - I have so many goofy things to change this new laptop Dell & Windows 7 I never even looked there. Duh. I have still no idea how he spent inch in millimeters by itself, but your idea worked. Hope it lasts. Thanks again.

  • U2415, around the gap between the Windows desktop and the edge of the monitor (bezel)

    Hello

    I have a Dell Ultrasharp U2415. I've read all the FAQS and I know I have to perform the SUBMISSION, but before doing so, I just want to know if it is normal to have a gap between the Windows desktop and the edge of the screen. If the Windows desktop is not covering or fill the entire screen. There all around the smaller than a 1/4 "gap between the edge of the windows desktop on the edge of the bezel of the monitor, and this model has almost no bezel. The graphics settings in Windows 10 are set to use the native resolution of 1920 x 1200 monitor. I tried with different computers (all windows 10), and the drivers are up to date. The monitor is connected via HDMI since I don't have portable computers not with DP interfaces. Laptop computers have Intel and ATI video cards. I have check the put option to scale on the video card software and it is set to 100%. So, is this gap normal? Is the edge Office Windows 10 supposed to touch the physical edge of monitors?  If the gap is not normal, I will perform the integrated test.

    TIA!

    Based on the YouTube comments, which seems to be normal. "But you must run the APPLICATION to see if the"smaller than 1/4"gap" appears. If Yes, then we can say that it is normal. If this is not the case, then some settings of the operating system is the culprit.

  • What is the difference between the "Software Version" and "Version of the platform?

    I posted in this forum, because there is a maximum activity in this forum. Sorry, if this is not a good place to post this kind of question.

    What is the difference between the "Software Version" and "Version of the platform" of any blackberry device?

    My camera's curve 8900 and I can see in the menu About his version of software is 4.6.1.231 and the version of the platform is 4.2.0.108. What are these 2 versions for?

    Probably the best posted in the software section of the device, but is not serious.

    Version of the software/App - indicates the version of your applications (address book, browser, calendar, etc.).
    Version of the platform - indicates your version of system software (Java based software, radio code, etc.).

  • What is the difference between the time cpu and cpu in AWR db?

    Hi, experts:

    What is the difference between the time cpu and cpu in AWR db?

    As a general rule, 'DC CPU', 'CPU Time' (and 'DB CPU of "TIME") are references to the same (i.e., a measure of the amount of time the instance of Oracle on the CPU), but to avoid any risk of misunderstanding, it is best to give us a little background labels - i.e. lines 6 or 7 containing an example of every use of one of your AWR reports

    Concerning

    Jonathan Lewis

  • What is the relationship between the main timeline and timelines of symbol in Adobe Flash Professional CC?

    I am new to Adobe flash and tried to create an E-card for a class. My teacher said that it is better just to have a keyframe for each layer in the main timeline and do all the clips of animation and film on the deadlines of each symbol. I'm having a hard time to understand how it works. To illustrate my confusion, let's start with an example.  I have a kite I want to start flying to frame 20. The kite is a symbol, so I create movement to 20 image interpolation in chronology of the wing. 20 on the symbol Timeline frame occurs at the same time as frame 20 of the MAIN scenario, or are they completely separate instances of time?

    Part of my mission, is should I use code snippets to add an element of interactivity to the Ecard. My confusion about the timeline affects my ability to do so. My teacher said that you need a stop on the first keyframe code to make sure that things will not start before you click the play button. Can I put the stop action on the main timeline or in the timeline of each symbol, or both?  Let's say I want to create a button that makes the kite flies when I click it. Where to play action 'go to and play', in the Assembly of the wing?

    I would greatly appreciate any help from the community. I'm the kind of person who needs to understand how things work. I searched for days, watch videos and read articles, but I still need to find a resource that effectively dissolved my confusion on this subject. So if anyone knows of any tutorials that explain how the main timeline and symbol timelines coincide, please share them with me. Thank you very much for your time.

    (P.S. are CC Animate Adobe and Adobe Flash Professional CC the same?)

    Thank you both for responding. Yes, your answers were useful, but a bit Advanced. I hope that you don't mind me asking a few follow-up questions.

    For Pete47-

    So I put my stop() in the main timeline. How the actionscript in the main timeline code works on the chronology of the wing if the two are separate?  Why not put the ActionScript on chronology of the wing? Clearly, there must be an interaction between the main timeline and symbols, right?  When you say "you can drag the symbol on the main timeline and it will run when you start", what do you mean by that? Like GETTING started, in the main timeline or in the scenario of the symbol? As you can see I am very confused by there!

    For Colin.

    I thought that Pete said you want to only have a keyframe in the main timeline. Then, when you said... "you can do it with an interpolation of the main timeline... from the beginning to the final position," why would you animate the motion on the main timeline? Why not in the chronology of the wing, can create another symbol of the tail in this period?

    And if the schedules of chronology and main symbol are separated, how SYNCHRONIZE you together different symbols to their movement to work together? And why should it be like that anyway?

    I am new to the community here, the last thing I want to say because you two sounds very knowledgeable on the Flash. How did you get your start? Did you start by watching the tutorials, read the manual, or something else?

    Once more, you have my abundant thanks for taking the time to help.

  • What the difference between the $29.00 and $1 099 in terms of features?

    I want to buy the software but I m so uncertain ante Adobe phones DO NOT work properly... What the difference between the $29.00 and $1 099 in terms of features?

    There is no real difference at all, it is the same app, same features.

    The $ 29 subscription means that you 'Rent' the application, you will have all the upgrades and patches during your free subscription. You can have two versions installed, but no more with this license. In addition, it is related to your personal Adobe ID.

    The perpetual license means that you have the application, it can use 'forever', and it is NOT linked to your Adobe ID when a new version appears that you will have to pay for the upgrade (if possible). You can have as many versions on your system you want with perpetual licenses. This can be important if you need to work for clients that use older versions.

    ATTENTION: I am only a user, does not not for Adobe, that's what I see as the major differences. Crossing my fingers that someone from the staff will give you more details.

  • difference between the binding context and link container

    Hello experts

    can you please explain to me the difference between the binding context and link container.

    I searched on the net but unable to understand the concept.

    Hello

    the BindingContext represents the DataBindings.cpx file execution and is a record of BindingContainers and their mapping pages and views. In addition it contains information about the data used by an application controls. The link container is the representation of the execution of the file PageDef and gives you access to the collections, methods, and attributes of the data used by a page or view. Context binding is a house while the link container is a piece in.

    Frank

  • I'm looking for the relationship between the unit ORGANIZATION and self-service workflow?

    Hi all:
    I have 3 UO and 3 files of wft different workflow self-service in the my HR system. How can I know the relationship between the unit ORGANIZATION and self-service workflow? I mean what wft file corresponds to an ORGANIZATIONAL unit?

    my environment is oracle 11.5.9. self-service 4.1 | workflow Builder 2.6

    for example:
    OR 1 = > HRSSA1.wft

    OR 2 = > HRSSA3.wft

    OR 3 = > HRSSA2.wft

    I'm looking for this relationship?


    Concerning
    Terry

    Terry,

    I mean what wft file corresponds to an ORGANIZATIONAL unit?

    Open the workflow designer using wft files and see if you can find any reference to these OUs.

    Thank you
    Hussein

  • What is the difference between the memory usage and bunch of EM?

    Hi all

    In OAS 10.1.3.3 Enterprise Manager, JVM Metrics, there are two columns on memory:

    Use of memory (MB)
    Use of memory segment (Mo)

    (use of heap seems to be up and down, but the memory usage is never down)

    What are the differences between the two?

    Thank you very much
    xtanto

    Jin

    Just check my answer on this URL.

    What is the difference between the memory usage and bunch of EM?

    Kind regards
    Hamdy

  • I was wondering what the difference was between the powerbeats 2 and the powerbeats 3. What is this new "chip" in the powerbeats 3?

    I was wondering what the difference was between the powerbeats 2 and the powerbeats 3. What is this new "chip" in the powerbeats 3?

    Hello

    Main differences are:

    • Up to 12 hours of battery life with Powerbeats3, which use chips to W1 Apple energy-efficient (vs. up to 6 hours of battery life with Powerbeats2).
    • A quick charge of 5 minutes for a typical use of an hour (vs 15 minutes to load).
    • Improved ergonomic design.

    More information:

    http://www.Apple.com/shop/product/MNN02LL/A/powerbeats3-wireless-earphones-shock-Jaune

    http://www.beatsbydre.com/earphones/browse-earphones/wireless-earphones/ML8V2.ht ml

  • New window creates a gap between the Favorites (top) and tabs (bottom)

    19/12/14 bug Firefox began to occur:

    • When having only 1 window open and opening tabs behaves normally.
    • However, when you open a new window of the space between the bookmarks (top) and tabs (bottom) spans all windows. Its boring.

    So far only challenge is to just close and open 1 single window, or to use the module 'Classic theme restaurateur' and switch the tabs position from the bottom to the top, but all new windows will open the gap again.

    Image below.

    Unfortunately, none of these options works, so far, use 'CTR' and turn the legs up (default) allows the opening of new windows without gaps.
    Seems to be some sort of bug recently showing on CTR.

    You will need to find a way to contact the developer to let them know.

    EDIT: It seems to be resolved, seems a new version was released and the problem disappeared. Thank you very much for the help.

  • Dropbox for bookmarks or downloads of the navigation bar adds space between the navigation bar and bar bookmarks.

    When I press the button edit bookmark or download the toolbar for navigation that a line of space appears between the navigation bar and the bookmarks toolbar. This problem is corrected when I start Firefox in safe mode, but not when I boot normally and disable all addons. Please tell us how to solve this problem. Reseting Firefox and install all add ons still causes too many problems, so I hope to be able to solve this problem without reset.

    [url =http://postimg.org/image/uwr2x6x21/] [img] http://S28.postimg.org/uwr2x6x21/space.jpg line / URL

    You can also try to delete the file localstore.rdf (resets the toolbar configuration) in the case of its corrupt.

  • I can't transfer file via airdrop between the macbook pro and my iphone 6.

    Hello world

    just bought a new macbook pro 2015 and I can't transfer file via airdrop between the macbook pro and my iphone 6.

    Can someone please help me solve this problem?

    Thank you

    < re-titled by host >

    First check the steps to run the drop:

    Use AirDrop to send the contents of your Mac - Apple Support

    There are some work around to try airdrop work:

    1. Turn off Bluetooth on your Mac.
    2. Delete /Library/Preferences/com.apple.Bluetooth.plist
    3. Re-turn on Bluetooth

    You can find more info here:

    Transfer and AirDrop does not work in El Capitan

    If you do not see all of your device, it means that you are affected by the same problem, I have known, since the upgrade to OS X the air drop of Captain does not work.

  • I've upgraded to the new operating system and now my MacBook Pro is in trouble.  Should I uninstall the new system and if so how?

    I have upgraded to the new operating system, El Capitan 10.11.4, and now my MacBook Pro is in trouble.  Should I uninstall the new system and if so how?

    Restore the backup that you did when you replaced the old system

Maybe you are looking for

  • HDL Interface node from the IP Net efficiency

    Hello If I use Node Interface HDL to VHDL in VI FPGA code, it will be more effective than the IPs that are available on http://www.ni.com/ipnet/ ? Kindly guide me. Thank you and best regards, Rashid

  • The higher rate than the PCL one sampling

    Good evening to you all. I am trying to sample a signal at 100 kHz using a FPGA personality in NI Veristand. I would use this samples as input for a simulink model clocked at 500 Hz. I was wondering if there is the possibility to do so. Thanks in adv

  • Problems with arduino labview Interface

    I have the labview-arduino interface, but the problems came when I run the program, sometimes it work perfectly, but sometimes (almost all the time), I can not connect this time, the series of programs and do not show any kind of problems, I can see

  • connecting the trace copper, copper a region away from track

    I set the nets to be the same, I'm not crossing layers, but when I try to connect a trace in the copper region that I created, the copper area shrinks from the trace. 010 "(constante d'espacement)." Is there a way to avoid this? (Ultiboard 10.1.1 / w

  • Extraction of files saved with "OneCare".

    I did some backup cd using the onecare backup system before my pc freeze due to a malware attack. I reinstalled the operating system using the good people at Microsoft and now I am trying to extract my music files I did with onecare backup system but