looking for APIs that return data for system performance

Hello

I'm working on the project who need to get some information during the execution of an application on the virtual machine (which will be used to draw graphs).

Yes, there is an API that can return a sort of these values?

-time cpu, IO time, idle time

-physical virtual memory usage,

Thank you

Hi dejinkeo,

I have build an example with vCO (uses the same API) metrics to recover a virtual machine.

Look at http://communities.vmware.com/thread/293841?tstart=0.

Kind regards, Andreas

Update URL: Message was edited by: Andreas Diemer

Tags: VMware

Similar Questions

  • You are looking for a performance measurement tool Labview?

    Hello

    In Labview, do we have a performance measurement tool or program that comes

    with Labview software?

    By the way, I have more LabView 8.6 development?

    Thank you

    Do

    Thanks to you all.

    That's exactly what I was looking for!

  • Is there an API that returns the model number or any other identifier for a module installed, I can use to identify the characteristics of this module?

    For example, I'll call you

    DaqSystem.Local.GetPhysicalChannels (PhysicalChannelTypes.AI, PhysicalChannelAccess.External)

    For a list of connected devices.  The data in the table back looks like this:

    cDAQ1Mod4/ai0 (etc.)

    It tells me that I have a CompactDAQ chassis, which is good, and an analog module in the slot Module4.  What I need to know is not just that there is an analog module in the slot to #4, but also of its ability (voltage, temperature, voltage, etc.) so that I can use the correct DAQmx task for this type of module.  All this has to be discovered during execution.

    Otherwise, I'll have to provide a configuration utility when the user program needs to determine which module is plugged that slot - and will it change by moving it to another location, you must enter these details again.  I want to avoid this by making the material more discoverable as possible.

    I can remember an API - and that is my hope.

    * beep *.

    Hello

    I could understand the syntax for you. It's here.

    Device blah = DaqSystem.Local.LoadDevice ("cDAQ1");
    foreach (String dev in bla. ChassisModuleDeviceNames)
    {
    Label1. Text += "\n" + DaqSystem.Local.LoadDevice (dev). ProductType;
    }

    This displays the model number of all modules of the cDAQ in the chassi. I hope this helps.

    Kind regards

    Perry S.

  • Analyze the failure because that returned data have XML as code

    I have a HTTPService that makes a call to a PHP file to collect some data from a database of vulnerabilities. It works 99.9% of the time. However, there are some cases when I get the following text:

    [CPP faultString = error "" Error #1090: XML parser failure: element is incorrect. "faultCode =" Client.CouldNotDecode"faultDetail ="null"]
    to mx.rpc.http::HTTPService/ http://www.adobe.com/2006/flex/mx/internal::processResult()
    to mx.rpc::AbstractInvoker / http://www.adobe.com/2006/flex/mx/internal::resultHandler()
    at mx.rpc::Responder/result()
    at mx.rpc::AsyncRequest/acknowledge()
    to: DirectHTTPMessageResponder / completeHandler)
    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()

    I have debugging in my PHP files and I know with certainty that data are being grouped into XML format suitable for a response back. And when compared to every other answer that works, it's exactly the same (XML sections / tags).

    However, I have noticed that some of the answers are data fields:

    < directory/usr/doc >
    AllowOverride None
    Order deny, allow
    refuse to all the
    allow from localhost
    < / Book >

    Could it be causing my problem? It is not part of my XML, but rather the data returned by the database about a particular vulnerability in Apache.

    Anyone have any ideas on how to deal with this?

    Thank you
    Chris

    Vygo - that's all! Everything works. My PHP was ok, and technically the MXML was ok too. For some reason, I was using an ItemRenderer in the DataGrid control to display the HTMLText. Once I deleted this section:





    And just kept this part:

    He started working. So thank you very much for your time and help!

    Thank you
    Chris

  • Functions to return data from polygon and line

    Hello

    I'm looking for different Oracle functions that return data from polygon and line (return sdo_geometry.ordinates cordinates collection). My sdo_geometry data like that.

    Select geometry.sdo_ordinate from myTable
    ------------------------------------------------------------

    61,42,0, 62,43,0 and so on

    I am unable to find functions by using google search, your help is greatly appreciated.

    Thank you
    Nancy

    Hi Nancy,.

    If you do not extract the coordinates of the geometry, you can use the suite of applications.

    SELECT t.X, t.Y, t.id
    OF state_boundary c,.
    TABLE (SDO_UTIL. GETVERTICES (c.geom)) t where id = 20022
    ORDER BY t.id;

    Another method:

    SELECT * FROM TABLE (SELECT C.GEOM. State_boundary SDO_ORDINATES c where id = 20022)

    Sujnan

  • Looking for an example of "function that returns the error text.

    Environment: APEX 3.1.1.00.09 on AIX 5.3

    I'm looking for an example implementation of the posting of the "function that returns the error text.

    I would like to write a database function that does the validation logic and return the text of the error.

    Is it possible to create multiple lines of text of error based on error conditions?

    I'm trying to use it at the end of the input data to go on the set of the 'document' to the entry and highlight all error conditions encountered before the 'document' is subject to additional processing.

    I wrote the function and reference it in a posting as ' validate_stuff (: P3_DOC_SEQ); »

    I have an error message "validate_stuff is not a procedure or is not defined.

    The object is a function, not a procedure. It is defined to return a parameter VARCHAR2 hoped posting if it is not NULL.

    When I run the SQL function * more and spend in a number of documents are returned the correct error messages.

    Any direction is greatly appreciated.

    -gary

    Hi Gary,.

    You must RETURN the result of the function:

    BEGIN
     RETURN validate_stuff(:P3_DOC_SEQ);
    END;
    

    Andy

  • I am looking for a solution Server (with Te css) for the fact that Firefox uses the system DPI settings, which makes my site look (too) big.

    My site appears much too big in firefox. And I want all browsers to view my site properly.
    I know that there are settings wihtin firefox that fix this problem. But I'm looking for a solution on server side, so that visitors to my site must not be disturbed by changing their settings.

    You may need to change your site as soon as 30 Chrome and IE 11 will also use the system DPI setting (like Firefox does now).

    Possible solution:

    • Type of topic: config in the Firefox address bar and hit the Enter key.
    • If the warning that this might void your warranty , click I'll be careful, I promised.
    • Search for layout.css.devPixelsPerPx

    • Double-click layout.css.devPixelsPerPx to edit its value. The default value is - 1.0 in Firefox 22 and above. Change it to 1.0 to run as in previous versions of Firefox.

    If necessary, further adjust the value of 0.1 or 0.05. Values between 1.0 and around 0.5 to reduce the size of the elements. Use a value greater than 1.0 to increase the size. For example, a value of 1.25 will increase the font size of the 125% to account for the default DPI setting in Windows 8. Check the value that you enter. Definition of a value that is too small will take everything away and too high will explode things.

    If the web pages should always be adjusted so you can watch the extension Default FullZoom Level or NoSquint .

    To adjust the font size for the user interface, you can use the extension of theme font & size changer .

  • I optimize my xp sp3 with XPTune all of the default software setting disappeared and now old looking for display appear on the screen. I want that my failure to return

    Display

    Hello

    try going to your graphic card manufacturers site or computer and are looking for the driver download section

    Search your computer or graphics card model number based on what you have and download and install the latest graphics drivers XP

    _____________________________________________________________

    you could also do a repair of XP instead of a full reinstalling installation

    http://www.michaelstevenstech.com/XPrepairinstall.htm

    for any other question of XP

    Here is the vista forums

    Try the forums xp on the link below

    http://answers.Microsoft.com/en-us/Windows/default.aspx#tab=4

    Answers by topic

  • How to return to changes saved when the menu of 'come back' does not include the version of the document I'm looking for?

    Hello, I use Pages. I worked on a document for several days, save the changes on the way. I have closed or saved the document and asked a question about saving the changes. I pressed on continue, thinking that I was saving my document. It seems that the computer has erased all changes I made since I finally opened the document. The document says he was created today, and none of the versions of my last week of work are available. I want to restore a version with all my important revisions. The menu 'Browse all' and 'Come back' do not have one of my newer versions. Is it possible to find?

    It is important that you have all the hours of backups Time Machine on an external drive. If open the recent item and return to the menus avail you nothing...

    Open a Finder window. In the search window, type the following line, replacing the date with the one that is relevant to the review date that seek you. The following explains show me all the documents pages that have been modified since the specified date. The same syntax works in the Spotlight window.

    modified: 15/12/15, genre: pages

    Also check iCloud drive.

    If it does not find the file you are looking for and you don't have a Time Machine backup, you've learned an important lesson or two.

  • choice of the model of design for data acquisition system

    Hi all

    I have a problem on the selection of the model design / architecture for a data acquisition system.

    Here are the details of the desired system:

    There are data acquisition hardware and I need to use by looking at the settings on the user interface.

    the period of data acquisition, channel list to analyze must be selected on the user interface. In addition, there are many interactions with the user interface. for example if the user selects a channel to add scanlist, I need to activate and make it visible to others on the user interface.

    When the user completes the channel selection, then he will press the button to start the data acquisition. Then, I also need to show the values scanned on a graph in real time and save them in a txt file.

    I know that I can not use producer consumer model here. because the data acquisition loop should wait for the settings to scan channels. and it works on a given period by the user. If the loop of user interface makes higher then loop (loop data acquisition) of consumption. This means that queue will be bigger, larger. If I use notifier this will be some data loss comes from the user interface.

    y at - it an idea about it? is there any model of design suitable for this case?

    Thanks in advance

    Best regards

    Veli BAYAR

    Software for embedded systems and hardware engineer

    Veli,

    I recommend the model producer/consumer with some modifications.

    You might need three loops.  I can't tell for sure from your brief description.

    The loop of the User Interface responds to the user for configuration entries and start/stop of acquisition.  The parameters and commands are passed to the Data Acquisition loop via a queue. In this loop is a machine States that slowed, Configuration, Acquisition and stop States (and perhaps others). The data is sent to the processing loop through another line. The processing loop performs any data processing, displays the data from the user, and records to file. A registrant can be used to send the Stop command or stop the loop of the UI for other loops.  If the amount of treatment is minimal and the time of writing files are not too long, the functions of processing loop might be able to happen in the case of the UI loop timeout structure of the event.  This makes things a little easier, but is not as flexible when changes need to be made.

    I'm not sure that there is a type of design for this exact configuration, but it is essentially a combination of the models Design of producer/consumer (data) and producer/consumer (events).

    Lynn

  • You are looking for an application that would alert me of appointments for my netbook XP Home and is only based on the internal clock.

    Original title:

    Looking for a small footprint application that would alert me of appointments for my netbook XP Home.  Something that depends only on the clock internal.

    Hello
     
    Microsoft XP comes with Outlook Express, which combines the functions of calendar and reminders. You can use this application to program reminders and he uses time as a clock system.
     
    To set a reminder, follow these steps.
     
    a. open Outlook express on your computer of Microsoft XP.
     
    b. Select the day of the month you want a reminder of nec. Once you open the Schedule tab, in the lower left corner, on Microsoft Outlook double click on the date, on which the activity takes place. An event without a title will open. On the screen without title of event, you can choose specific settings you need for the reminder of the event. Can enter the information that the object, location and time of beginning and end of the event.
     
    c. Enter the title and duration of the event. On the event without a title, you can enter the title of the event under the subject field and you can also enter the location of the activities. The subject is what appears on the calendar. You can choose what time the activity starts and ends. To enter a start time and end to clear the all day event option by clicking on it and select the time you want in the fields. The time appears before the subject on the screen of the calendar.
     
    Hope this information is useful.
  • Whenever I tried to run the Windows Media Center it says that it has stopped working and he's looking for solutions.

    Hello

    I installed Windows 7 this weekend with the offer of the student. Whenever I tried to run the Windows Media Center it says that it has stopped working and he's looking for solutions. Is it possible that I can download a fix or download the WMC for Windows 7?

    My computer (laptop) is a gateway T-6836 64-bit.

    original title: WIndows 7 media center has stopped working

    I upgraded to Win7 upgrade thestudent and my WMC keeps stopping whenever I try to open it. Is there a way to fix this or if I do a clean install of the operating system?

    This is the error I get:

    Description
    Stopped working
    Path of the Application of vulnerabilities: C:\Windows\ehome\ehshell.exe

    Signature of the problem
    Problem event name: CLR20r3
    Signature of the problem 01: ehshell.exe
    Signature of the problem 02: 6.1.7600.16385
    Signature of the problem 03: 4a5bd053
    Signature of the problem 04: mcstore
    Signature of the problem 05: 6.1.0.0
    Signature of the 06 problem: 4a5bda1e
    Signature problem 07: 1 a 1
    Signature of the 08:146 problem
    Signature of the problem 09: System.InvalidOperationException
    OS version: 6.1.7600.2.0.0.768.3
    Locale ID: 1033

    Additional information about the problem
    Bucket ID: 655435415

    When you see failing requests like this, even if you get it to work, you never know what's going to arise later.  I suggest to use the feature of easy to backup transfer all your data and do a clean install.

  • Usually any time Windows 7 Pro runs on my system - looking for a refund

    Hi upgraded / downloaded Windows 7 Pro (does not work on my system) in any time looking for a refund, contact/phone numbers ring true as committed then

    the location of Ms cutting is MS Ireland.I; ve been trying to get in touch by phone and live chat will open in the new tab, but nothing is out of luck! 2 hours by train irritating.

    must be an easier way! any body has an email address, they seem to have covered as well.

    Former title: support/restitution

    Salmon salvation,

    Thanks for joining us on the forum.

    What version of Windows 7, you try to upgrade to Windows 7 pro?

    Do you receive an error message/code? If Yes, what is the exact error message/code?

    If you provide us with this information we can try to help you to upgrade. But if you still want to refund the product you can click request a return in the link below and follow the instructions on the screen and see if you are able to return the product.

    Sales and support

    Hope that the information provided is useful. Let us know if you have any concerns related to Windows. We will be more than happy to help you.

    Kind regards

  • failure of the system, looking for answers

    Need help for the guys. Had a major failure of the system last week, and I'm a bit confused as to what happened and why I was unable to get free. I lost a bit of my confidence in Vsphere, and I'd like to renew that.

    A bit on the environment, esxi 5.0 U1, with servers HP Gen 8 3 node cluster running. HP P4500 SAN iscsi for vmfs data storage. ESXi is installed on HP's CF cards in servers. This cluster has been upward and running for about 6 months, not a single hiccup before that.

    Wednesday we have migrated 2 of our vm (SQL and progress) to this cluster 5.0 database, the virtual machine went on different hosts in the cluster. The virtual machine was running on a cluster 2 older nodes with esxi 4.1 U2. Machines migrated fine, fine tools updates, reboot, everything seemed fine.

    About 2 hours after that the migration, we started to receive calls that our Progress database is down, users could not connect. Then we started getting more calls, other machines were inaccessible. Glancing from vcenter I could see all the virtual machines in question were on the same host, and I was unable to open the console in vsphere for VMs on that host. The host showed he was connected, showed all the vm connected, but I could not open the console or the desktop remotely to one of the VMs on that host. I started studying, and of course this host fell all the SAN Iscsi network connections. The railways have shown dead. Ports of nic card viewed active, the switch ports showed activity, but the connections were down. I could always ping the address of management for the host however, and ports for vmotion were in place.

    At this point, I started to try and vmotion VMs on that host data base progress, he would not migrate, just sat at 8% prepare to migrate. I tried other virtual machines with the same result. I started to wonder why HA had not kicked, and why I couldn't move anything. At this stage the host started disconnecting from the cluster. I could always ping on the host, but vsphere showed as disconnected. I couldn't move my VM, and I couldn't go to the host via vcenter, via the vsphere client pointed directly to the host, or by using the DCUI.

    So I called VMware support, got an engineer on the line with me, and it became clear we were going to have to power cycle that host and crash all virtual machine running on it. It wasn't a very pleasant for me answer because this database of progress is our main production system, and I was afraid of corruption. We had no choice, so we did. When the host came back upward, fortunately the virtual machine came very well. VMware engineer digging in the newspapers and said that this was with a particular NIC card driver with known issues. He showed me the KB on this issue, and it seemed to be a known issue. We have updated these drivers on all hosts, and that's all.

    My problem with this is that, how is the cluster ran fine for 6 months without problem, and how come the redundant path to the SAN did not keep the connection active when with the path with the bad nic card driver failed? I have 2 different, with 2 NICs different paths for the Iscsi SAN. The other card had no known driver issue. Why both paths failed not just in cause of a driver on one of the cards problem? More worrying is also how is it that I could not immigrate anything, and why no HA kick in?

    Sorry for the novel here, but without all the details is not part of a story. My biggest concern, that's why I couldn't move anything? In the event of a host failure, what you're supposed to do in order to migrate the machines if they don't migrate via vsphere client? We were down for about 2.5 hours, and a lot of questions were thrown on me the senior management as to why my "system available, redundant high" took hours to retrieve...

    Guys here any ideas, thoughts on how I would have handled it differently, reasons why I should be confident everything is fine now?

    Thanks for your time

    Kevin

    trink408 wrote:

    Thanks Matt.

    I guess some of the problem is not completely understand how the HA or Vmotion. I was under the impression once that the virtual machine was not reachable HA wouldn't kick and move the virtual machine? The virtual machine was not to ping requests or accessible by the Office remotely. I couldn't get their power off or do anything through vcenter either.

    If they had no link usable storage, this seems possible.  HA simply does not address the failures of storage.  Not at all.  It IS possible to activate at the level of the VM HA, but it isn't on by default - must be activated on a per-VM basis.  You should read the book by Duncan Epping on this - it's the bible of the AH.

    So in case something happens with the connection of storage, you have really no way to vmotion anything right here, and your only option is to kill the host / VM running on it, and then migrate or leave HA move them?

    Fix.

    I didn't know that I wouldn't be able to vmotion virtual machine if the host has lost its connection to storage. The other hosts in the cluster saw storage.

    The source host is controlling these VMDK, as far as the other guests are concerned (they see a lock on the file) and when they ask the host if its still alive, he answers (because it has not powered the network lost or down, which are the failure mode THAT HA is designed to handle). So they take charge.

    The reason why it took so long was because I didn't kill the host with my concerns for the database. I was hoping that the VMware engineer may have a way to gracefully close things down. So he spent some time looking around and trying to determine what was going on. Ultimately we just power cycle the host, so I could have done much earlier, and if we are facing this again in the future, I would.

    As long as you follow the seller advised for more decent databases (keeping the transaction logs, etc.), don't have good backups, theres no real risk of data corruption.  VMware does not significantly change the i/o path, in order to have the same exposure than on a physical host.

    I still do not understand why the two paths were marked as dead and the host completely lost connection to the SAN, as well as to show finally disconnected in vcenter.

    Well the host went offline because it got stuck in an all-paths-down scenario, which is common for 5.0.  5.1 solves this problem a little.  I don't know why all roads fell, but I suspect that you have a misconfig somewhere... normally you expect at least 4 paths in a system set up correctly on the left.  Check with HP to ensure that you follow best practices.

    Maybe all the IP stack has been corrupted or something?

    Possible, of course, but unlikely.  Never heard before.

    I appreciate the help and the preview, I thought that the problem was a lack of understanding on my part and fully accept it.

    HA and vMotion are complex.  At least now you can go back to mgmt and tell them why he fell more (because it was a failure outside the scope of the software scenario) and may ask for money to build a proper SQL cluster.  Definitely recommend the book of Duncan Epping: http://www.amazon.com/VMware-vSphere-Clustering-Technical-Deepdive/dp/1463658133/ref=la_B002YJMRCY_1_2?ie=UTF8&qid=1363622697&sr=1-2

  • 3 year system - looking for recommendations of upgrade

    Hi all

    Instant Messaging user a CC now and work on a system I built 3 years ago.  I realized that this version was not a wise version, but I'm stuck with all the components and trying to see what I can do to get the most out there without having to replace my MOBO or CPU.  I use almost everything what offers the CC (PS, I, ID, PR, AR, at, LR, DW, Grade speed and facilitate dashboard).  I'm also the Creative Director and a Solutions support person for my business so I use this platform for more than a few Adobe apps (but none are as intensive process as well as the Adobe applications).

    The system is:

    • OS: Windows 8.1 (64-bit)
    • Mobo: Asus Z9PE-D8 WS
    • CPU: Intel (r) Dual Xeon CPU E5-2670 0 to 2.60 GHz, 2601 Mhz, 8 Lossnay, 16 logical processors
    • RAM: 64 GB (32 per CPU)
    • GPU: Maximus Configuration using a Quadro 4000 + Tesla C2075.  Also added a Quadro K2000 at a later date to add an outing for a 3rd monitor.

    For hard disks:

    • Samsung 830 (500 GB) for OS + Apps
    • 1 WD 1 TB Raptor drive for Lightroom files
    • 1 WD 1 TB Raptor drive for caching
    • 1 WD 1 TB Raptor Drive for previews
    • 2 WD 1 TB Raptor drive in Raid 0 for all media files using the Marvell controller mobo

    All housed in a casing Cooler Master Cosmos II and a 1300 watt Antec HCP Platinum PSU.

    I sure I went over to this system but to reinvest on a motherboard + processor is not my intention immediately.  I feel that my system does not balanced correctly in order to give me the performance, I'm looking for.   Maybe its to use the integrated Marvell controller?  I'm not sure.  However I like to swap my HARD drives or to add a Raid Controller or Exchange my GPU with the Titans (or something that will make this quick platform).

    All recommendations are much appreciated.

    Thank you

    Lo

    Your CPU / RAM do an outstanding job.  My suggestion is to get a large GTX graphic card and go with SSD on your storage system. Here you two points of weakness

    Your intensive PPBM8 of CPU score is in the top 10% of the current scores PPBM8

    Your GPU of PPBM8 intensive score is down 5% current scores PPBM8

    Your score of intensive PPBM8 of disc is in the in half lower current scores PPBM8

Maybe you are looking for

  • Malfunctioning wireless on my A60

    I can't get the wireless lan to work, downloaded all the drivers possible on the support page, and none of them seemed to work. I don't have a cd (at least when I ticked the box last time), and I'm not at all other malfunction of my A60-122.install t

  • Replacement of video cards

    I have a desktop HP Pavilion Elite m9340f PC http://support.HP.com/us-en/document/c01465973 The GeForce 9500 GS video card no longer works and I think to him substituting GeForce GT 630 http://www.Newegg.com/product/product.aspx?item=N82E16814130821

  • Extra character and String worksheet line to read

    Hi all I tried to look, but no idea yet. I'm using labview 7.1 and try to play a file spreadsheet string in an array of strings, but I got the extra character at the beginning of the file and an additional line in each line. I tried to insert a value

  • How can I access a shared outside my network drive?

    Hello I have deployed a Windows Server 2008 R2 in the data center and have a shared folder. but I can't map this shared folder on my PC which is in the office.I tried to disable the firewall, but it doesn't help us much.any help would be appreciated.

  • Print heads do not last more than 3 months - OfficeJet 6500

    I have a printer wireless OfficeJet 6500 running on Windows 7 and 8 of the window. I ordered 3 print heads since I bought this printer.  The first print head lasted a year.  The second lasted almost a year.  This current printhead lasted less than th