How to get CPU and HD information of host computer in run-time

Are there any vis that will return the information of the CPU and Harddisk information of the host computer? I would like to acquire the information when the program is running. thanks

Look here
Chilly Charly    (aka CC)
         E-List Master - Kudos glutton - Press the yellow button on the left...        

Similar Messages

  • How to get cpu and memory information by Java?

    I'm trying to write a java program to get the CPU and memory information and statistic of a desktop computer. Is it possible to capture this kind of information by Java, if yes, which classes are used?
    Thanks a lot.

    You can get memory info about the VM and not about the OS.
    These things are inherently OS-dependent. Chances are bad there is a (pure) Java solution for this.

  • How to get iPhoto and iTunes to a clean installed Yosemite from Time Machine

    I wiped the Hard Drive and clean installed to OS X Yosemite. For Some reason, some of my Time Machine back ups disappeared or got deleted and it wasn't even full. I had back ups from 2011 and now it only starts from 2013 of June.
    Next....when I try to restore my other apps(like iPhoto and my iTunes) I doesn't give that warp space effect in the background. It gives me the window layer effect but I just see the same mountain background on the desktop as the default Yosemite(unless thats how its suppose to look like that?) I can't restore using Time Machine because the little lines at the right are red (see screen shot) and it won't let me restore, and if i go back by using the arrows, if freezes. So,
    I don't know how to install the old iTunes and iPhoto on my existing clean installed Yosemite from my Time Machine.
    Can someone help me?

    @ LarryHN Thank you ver much for you help I understand now that you just can't copy over the old library(got it)
    I had the latest version of iPhoto before I cleaned installed.
    The link you gave me was most informative and I want to thank you. But still problems arrive.
    This came up and I don't know which one to pick

  • How to get the ip address of the host computer

    Hi all,
    How do I get the Internet IP Address of the Machine that has the Oracle HTTP Server?
    Thanks.
    Allen
    Edited by: A.Sandiego on Sep 12, 2008 6:52 PM

    Hello,
    Do you mean the internal IP address or the IP address as seen by remote machines?
    If you mean the internal IP address, then you can use -
    OWA_UTIL.GET_CGI_ENV('SERVER_NAME');If you mean the internet accessible IP, then that's another kettle of fish, as due to your traffic routing etc, the server itself might not necessarily know that address, so if you really need to know it then you'd need to write a process that contacted a site like whatsmyip.org and parsed the output to find out the public IP address of that machine.
    It really depends what you're trying to find really?
    John.
    http://jes.blogs.shellprompt.net
    http://www.apex-evangelists.com

  • How to get the name of an executing ABAP query in run time

    Hi ABAP Gurus,
    I need to get the ABAP query name when it's running. For example we can get the current executing ABAP program name from SY-REPID.
    My tried logic - every query generates an ABAP program like AQZZUGQUERY. 'UG' stands for user-group name and the length specified for it is 12, if the length of the user-group name is less than 12, then the rest will be filled by '='. Next 'QUERY' stands for ABAP query name and the length specified for it is 14, if less, then the rest will be filled in with '=' in the right. I've tried to extract the query name by using cut and trip (offset) operations.
    But somehow this logic is not working - always it's picking up the function name as checked in debug mode.
    Guys - Can you please provide me the solution on this.
    Thanks & regards,
    Jayanta Bej.

    Guys,
    I've cracked the issue. Instead of retrieving the query name from sy-repid, I've retrieved it from sy-cprog and the problem is resolved.
    Thanks guys for your quick responses.
    Thanks and regards,
    Jayanta Bej.

  • How to get the health , performance information and about the services run on devices that have connected to the system center?

    Hi All,
    I want to know how to get the health , performance information and about the services run on devices that have connected to the system center to my c# application. Also I need to know about the information of databases that have connected to system center.
    I will appreciate your feedback
    Thank you

    Hi,
    You can configure service monitor for the required service on the server
    refer below link for how to configure service monitoring
    http://www.bictt.com/blogs/bictt.php/2011/03/17/scom-monitoring-a-service-part3
    You can use SCOM SDK to connect to the scom server using c# and get required information
    http://msdn.microsoft.com/en-us/library/hh329086.aspx
    you can find the database in below registry path on management server
    HKLM:\SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Setup\DatabaseName
    Regards
    sridhar v

  • How to find CPU and Memory Utilization

    Hi,
    How to find CPU and Memory Utilization of my application which is
    running in solaris workstation.My application has a management console in which we need to update the cpu and memory periodically.
    (Notr : Usage of JNI is restrcited)
    Thnx and Rgds,
    Mohan

    There is no CPU usage API in Java. You need some JNI code. For memory usage see the Runtime methods:
         * Get information of memory usage: max, total, free and (available/used).
         * <ul>
         * <li>Max is the maximum amount of bytes the application can allocate (see also java options -Xmx). This value is fixed.
         * If the application tries to allocate more memory than Max, an OutOfMemoryError is thrown.
         * <li>Total is the amount of bytes currently allocated from the JVM for the application.
         * This value just increases (and doesn't decrease) up to the value of Max depending on the applications memory
         * requirements.
         * <li>Free is the amount of memory that once was occupied by the application but is given back to the JVM. This value
         * varies between 0 and Total.
         * <li>The used amount of memory is the memory currently allocated by the application. This value is always less or equal
         * to Total.
         * <li>The available amount of memory is the maximum number of bytes that can be allocated by the application (Max - used).
         * </ul>
         * In brief: used <= total <= max
         * <p>
         * The JVM can allocate up to 64MB (be default) system memory for the application. If more is required, the JVM has to be started with the Xmx option
         * (e.g. "java -Xmx128m" for 128 MB). The amount of currently allocated system memory is Total. As the JVM can't give back unallocated memory
         * to the operating system, Total can just increase (up to Max).
         * @return Memory info.
        static public String getMemoryInfo() {
            StringBuilder sb = new StringBuilder();
            sb.append("Used: ");
            sb.append(toMemoryFormat(getUsedMemory()));
            sb.append(", Available: ");
            sb.append(toMemoryFormat(getAvailableMemory()));
            sb.append(" (Max: ");
            sb.append(toMemoryFormat(Runtime.getRuntime().maxMemory()));
            sb.append(", Total: ");
            sb.append(toMemoryFormat(Runtime.getRuntime().totalMemory()));
            sb.append(", Free: ");
            sb.append(toMemoryFormat(Runtime.getRuntime().freeMemory()));
            sb.append(")");
            return sb.toString();
        }//getMemoryInfo()

  • How to get instrument and plug in files to logic8?

    How to get instrument and plug in files to logic8?
    I lost mine in a hard drive crash.
    I cant use my DVD jam pack
    This is my spec
      Modellnamn:          iMac
      Modellidentifierare:          iMac8,1
      Processornamn:          Intel Core 2 Duo
      Processorhastighet:          2,4 GHz
      Antal processorer:          1
      Totalt antal kärnor:          2
      L2-cache:          6 MB
      Minne:          3 GB
      Busshastighet:          1,07 GHz
      Boot ROM-version:          IM81.00C1.B00
      SMC-version (system):          1.29f1
    iMac, OS X Mountain Lion (10.8.2)

    I think you want to get the latitude and longitude information of client accessing the web application. In the web application you cannot directly get the client location information as the nature of the web application is different from windows applications.
    I advise you to develop a Silverlight component and in that Silverlight component use geolocation classes to get client location. Please refer this article for getting data in Silverlight http://www.c-sharpcorner.com/UploadFile/82b980/getting-geo-location-of-user-in-silverlight/
    And once you get the location information you can send that data back to ASP.net webpage or call any javascript method as shown here http://ovaismehboob.wordpress.com/2013/06/22/bridging-data-between-asp-net-and-silverlight/
    Hope this helps!
    Ovais Mehboob Ahmed Khan http://ovaismehboob.wordpress.com

  • How to show module and SFP information include hardware serial number on Nexus switch?

       How to show module and SFP information include hardware serial number on Nexus switch?                 Thanks.

    Hi,
    The show inventory command will give you details of the Nexus chassis, power supplies, Supervisor, Fabric, I/O modules (including FEX if you have them) etc. To get the details of the installed SFP/SFP+ then you'll need to use the show interface transceiver command.
    Regards

  • How to get  Network Interface Cards information ?

    hi all,
    how to get Network Interface Cards information and tcp window size by java ?

    807262 wrote:
    how to get Network Interface Cards information Have a look at [url http://download.oracle.com/javase/6/docs/api/java/net/NetworkInterface.html#getNetworkInterfaces%28%29]NetworkInterface.getNetworkInterfaces()
    tcp window sizeWhich one?
    SO_RCVBUF ^[url http://download.oracle.com/javase/6/docs/api/java/net/Socket.html#getReceiveBufferSize%28%29]Socket.getReceiveBufferSize()^
    SO_SNDBUF ^[url http://download.oracle.com/javase/6/docs/api/java/net/Socket.html#getSendBufferSize%28%29]Socket.getSendBufferSize()^

  • Sorry, something's gone wrong. Could not get credit and pack information.

    Every time I log in I see this message Sorry, something's gone wrong. Could not get credit and pack information. I have been to an EE store and they couldn't do anything there. So I called the costumers service and after 30 min on the telephone they told me the problem was fixed and I should just wait 24 hours before log in again. Today is been more than 48 hours and I still have this problem. I can't buy packages but I can pop up. How can I fix this problem?

    Hi   
    Sorry to hear you are all having a problem.
    Please Contact Us as the issue needs to be investigated.
    Thanks 

  • How to get rid of compound information from nodes

    Hi expert,
           I have a hierarchy used for cost center in the report, when displaying cost center, its compound 'controlling area' is also displaying. such as for a node, its key value is 'CM01FIAC_FR_EA', in wich 'CM01' is for controlling area. I am trying to remove controlling area from display of cost center.
           for cost center, I have removed its compound from displaying by adding controlling area into row and setting it as 'no display', but for nodes of cost center hierarchy, compounds are still ther. please tell me how to get rid of compound information from nodes?
    Many Thanks,

    Hi Phani,
          cost center is displayed in hierarchy, I have remove compound from leaf of hierarchy, but compound is still there in nodes. also eventhough I set suppress result for controlling area, its result is still in the report. so you reference does not resolve my problem.
    Many Thanks,

  • Get CPU and Hard Disk nuber

    Hi Friends,
    How to get CPU number it mean Mother bord nuber and Hard Disk number..?
    Plz any body know then tell me.
    Thank you,

    JNI = Java Native Interface
    Using JNI you can call platform-specific code, for example code written in C or C++ in a Windows DLL. You'll have to write some C or C++ code that does the things you want ("get the harddisk number, motherboard number, ...") and call that C or C++ code from your Java code via JNI.
    How you get the "harddisk number" or "motherboard number" in your C/C++ code is a different question that you have to consult the documentation of your operating system for.
    Ofcourse you'll need a C/C++ compiler to compile your C/C++ source code into a library that can be called via JNI.

  • How to get gui_download and gui_upload with popup filename?

    how to get gui_download and gui_upload with popup filename?

    Here is a short example.
    report zrich_0003 .
    data: ifiletab type filetable.
    data: xfiletab like line of ifiletab.
    data: xstring type string.
    data: rc type i.
    data: itab type table of string.
    data: xtab type string.
    start-of-selection.
      call method cl_gui_frontend_services=>file_open_dialog
        changing
          file_table              = ifiletab
          rc                      = rc.
      read table ifiletab into xfiletab index 1.
      xstring = xfiletab-filename.
      check not xstring is initial.
      call method cl_gui_frontend_services=>gui_upload
        exporting
          filename                = xstring
      changing
        data_tab                = itab.
      loop at itab into xtab.
        write:/ xtab.
      endloop.
    Regards,
    Rich Heilman

  • How to get nodes and its attributes of an XML file usiong DOM parsing?

    how to get nodes and its attributes of an XML file usiong DOM parsing?
    i am new to XML parsing.......
    Thanking you........

    import org.w3c.dom.Document;
    import org.w3c.dom.*;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;      ...
    //Setup the document
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
         DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
         Document doc = docBuilder.parse (new File("MY_XML_FILE.xml"));
    //get elemets by name
         String elementValue = doc.getElementsByTagName("MY_ELEMENT").item(0).getTextContent();
    //This method can return multiple nodes, in this instance I get item(0) , first nodeRead the api for other methods of getting data.

Maybe you are looking for