Performance meter on Solaris queries

Is there a command line way to run the perfmeter if we donot have Exceed installed?
I have XMing running and want to spawn just he perfmeter
Also performance meter monitors all the processes on solaris, like windows perfmon, is there a way to use it to monitor only a single process?
Is there any documentation which will help me understand the counters monitored by performance meterr on solaris?

Solaris 8 uses an older thread model by default. There user threads did not necessarily map to system threads (LWPs). You needed to be more explicit with your parallelism requests. I think you can request a low 'concurrency' to reduce the number of LWPs.
In addition, a new thread model was introduced that reduced certain types of overhead by moving to a 1:1 thread/LWP mapping. This model is the only one on later versions of solaris, and is available on Solaris 8 as the "alternate" thread library.
http://developers.sun.com/solaris/articles/alt_thread_lib.html
You might want to try your program again, but run as:
LD_LIBRARY_PATH=/usr/lib/lwp <yourprogram>
Any changes?
Darren

Similar Messages

  • Performance Meter Does Not Open

    I just did a fresh install of Solaris 10 11/06 on my Sun Ultra 10, but the Performance Meter will not open. After clicking on the icon, it doesn't appear and doesn't give any error message. When I try to execute/usr/bin/gnome-perfmeter from the command line, the meter does not open and returns me to the command line with no error message.
    Everything else is working fine. I never had an issue with the Performance Meter in Solaris 10 6/06 or earlier.
    Has anyone else had this problem or does anyone have ideas on how to fix it?
    Thanks!

    Same problem here. Exists on my fully patched x86 and SPARC Solaris 11/06 installations. Did NOT have this problem just a couple months ago, so it's probably just yet another Solaris 10 patch gone awry.

  • Performance meter in weblogic console

    All,
    Semi new to memory analysis on the server side (distributed garbage
    collection and all). I was rather used to doing client application memory
    leak analysis. Are there any good starter guides for memory analysis when
    doing load testing?
    I am currently working on a project where we do severe load testing against
    servlets that hit session level EJB and then entity EJB. We see the heap
    (Server->monitor->performace) sawtooth slowly up until the server throws out
    of memory exceptions and starts to fail. We have already fixed a few
    glaring problems with our code, but the sawtooth remains.
    What is the garbage collection routine under WebLogic? Does it run
    periodically? Does it run during high/low activity? Should it not be
    called before any OutOfMemory exception is throw?
    If you set the ejb's to keep too many ejb references in the cache, will the
    server sanity check this and bump some out of the cache when memory gets
    tight? Basically, I'm asking could I shoot myself in the foot in
    weblogic-ejb-jar.xml or will the server help me out?
    Finally, if you start mydomain as shipped and go to the performance graph it
    slowly sawtooths up at a very slow pace. If you let it run over night it
    eats up 10 megs or so. Why is this? It looks rather bad, but I can't
    assume this is as it looks on the surface.
    Sorry for all the questions, but maybe this will start a good thread.
    Andrew Spyker ([email protected])
    Software Engineer
    http://spyker.dyndns.org

    JVM heap usage will grow and shrink throughout the life of the server. Even an
    idle WebLogic server is allocating and freeing object instances. Therefore,
    when looking for a "leak", make sure that you account for the state of the JVM
    garbage collection and compare "apples" to "apples".
    I find that it is best to compare the heap usage after full garbage collections
    (GC[1]). Try enabling -verbose:gc and comparing each of the full GC results.
    Provided that your server is handling a constant and steady load (or is
    constantly idle), you should see little change in heap usage after each full
    GC. However, if your your server is idle you may need to force GC to run every
    hour or so. By default, you need to use nearly all of the allocated heap
    before full GC will kick in.
    -Charlie
    Andrew Spyker wrote:
    "Mike Reiche" <[email protected]> wrote in message
    news:[email protected]...
    The garbage collector is a function of the JVM, not of WebLogic. Look atthe JVM
    documentation for an explanation of garbage collection.Gotcha.
    Weblogic, without any application code runs fine. When you add YOURapplication
    code, then you might run into problems. Hence it is your code that ischewing
    up (and not releasing) the memory. JProbe is good at find this kind ofproblem.
    You can also narrow things down - for instance - hit only one servlet andsee
    if the memory grows. Or remove references to session beans, and hit theservlet.
    I should be more specific. I installed WLS SP2 on Redhat Linux 7.1 and ran
    startWeblogic.sh from the default mydomain. I didn't make any
    modifications. I ran the performance meter and the memory did grow over
    night significantly. This suprised me. Do I attribute this to Linux? Our
    production environment is definately Solaris, but I'd like to be able to
    diagnose memory leaks on Linux. I don't want this false positive in the
    tests. Am I missing something here?
    OutOfMemoryExceptions occur when the JVM attempts to allocate more memorythan
    is available - even after running garbage collection. The JVMoption -verbose:gc
    will also shed some light on GC.
    The Java Heap is not the only part of the JVM that requires memory. Inrare cases,
    much memory is consumed by classes and methods in memory, heap (not javaheap)
    used by native code.
    Mike ReicheThanks for the response ...
    "Cameron Purdy" <[email protected]> wrote:
    It is not easy. Optimizit and JProbe can help, as can a well-architected
    application with classes that support dumping debugging information (to
    evaluate object graphs) and serialization (to guage sizes).
    Typical leaks are in session objects, static fields, and database driver
    usage without proper closing of objects.
    Peace,
    Cameron Purdy
    Tangosol Inc.
    << Tangosol Server: How Weblogic applications are customized >>
    << Download now from http://www.tangosol.com/download.jsp >>
    "Andrew Spyker" <[email protected]> wrote in message
    news:[email protected]...
    All,
    Semi new to memory analysis on the server side (distributed garbage
    collection and all). I was rather used to doing client applicationmemory
    leak analysis. Are there any good starter guides for memory analysiswhen
    doing load testing?
    I am currently working on a project where we do severe load testingagainst
    servlets that hit session level EJB and then entity EJB. We see theheap
    (Server->monitor->performace) sawtooth slowly up until the server
    throws
    out
    of memory exceptions and starts to fail. We have already fixed a few
    glaring problems with our code, but the sawtooth remains.
    What is the garbage collection routine under WebLogic? Does it run
    periodically? Does it run during high/low activity? Should it notbe
    called before any OutOfMemory exception is throw?
    If you set the ejb's to keep too many ejb references in the cache,will
    the
    server sanity check this and bump some out of the cache when memorygets
    tight? Basically, I'm asking could I shoot myself in the foot in
    weblogic-ejb-jar.xml or will the server help me out?
    Finally, if you start mydomain as shipped and go to the performancegraph
    it
    slowly sawtooths up at a very slow pace. If you let it run over nightit
    eats up 10 megs or so. Why is this? It looks rather bad, but I can't
    assume this is as it looks on the surface.
    Sorry for all the questions, but maybe this will start a good thread.
    Andrew Spyker ([email protected])
    Software Engineer
    http://spyker.dyndns.org

  • Performance Meter fails to start

    Either I use "Applications > Utilities > Performance Meter" in JDS menu, or type "gnome-perfmeter" in a terminal. No window or text output. What's the problem. I use Solaris 10 u3 x86 1106.

    I haven't tried GNOME system monitor myself. I know that performance meter certainly isn't pretty.
    After having a quick google (which of course you could have done ;-) ), it appears GSM is being tested in the express developer edition, so it probably will be shipped with Solaris at some point.
    Apparently 'top' is available on the companion CD (you need to read up on pkgadd to install), but if you really do want GSM, you can get it from blastwave.org. They use an equivalent of Debian's apt-get called pkg-get, which makes installs oh-so-easy, but for consistency it also loads all the dependencies into their own file structure. If you're not careful you'll end up with duplicate packages of everything, and shared library mismatches, although this is the way I recommend you go as there are lots of packages available for download.

  • Performance (Linux or Solaris)

    Hi folks,
    We have been asked by many clients which performs better / faster (Linux vs Solaris).
    The environment is:
    Intel Xeon Server Hardware
    Local Disk (SAS) - RAID 5
    Single Server install
    Single Location
    VirtualBox as Hypervisor
    I am asking for your feedback / experience with Linux vs Solaris implementing VDI 3.4.1

    Hi,
    we have done some extensive testing on this. One of our clients had some severe issues with performance on Linux after a migration from solaris to linux (on the same hardware) the system load/utilization went up by a factor of 4-5 (server could easily handle 200 sessions with solaris and only 40-50 with linux). We never managed to find the root cause (or a solution) for this and migrated back to solaris.
    But we tried to replicate this issue in the lab (without success). So what we did was this:
    Install Solaris 10 and Linux on one hard drive each and also install SRS 5.3.1 (we also tried this with a few older versions). We set up kiosk sessions to connect to a windows terminal server (we did not bother to compare virtualbox perfoamce) and launch a web browser to a website with loads of flash and moving content. We had about 20 DTUs connect to this server and monitored the system load, utilization and so on of the Xnewt processes. At one point we also automatically started some audio stream to measure the performance of utaudiod. The result (for 2 different servers) was that linux and solaris are really close to each other in performance terms. Solaris showed a little less utilization, about 5-10% maybe. But really quite negligable.
    Long story short: we have seen really poor performance with linux once but in all other cases linux performed almost as well as solaris. And we never compared the virtualbox hypervisors which might be yet another story.
    Bjoern

  • Where is the performance analyzer in Solaris Studio?

    I have Oracle Solaris Studio 12.2 linux tar version. I have searched for the performance analyzer integrated with the IDE as in this link http://webcast-west.sun.com/interactive/09D02151/index.html that explains how to use openmp-3 on Solaris Studio but have not found any. I have though find the independent executable analyzer in the bin directory and I can only run it separately.
    Is there a way to run the performance analyzer in Solaris Studio?
    Thank you.

    In Oracle Solaris Studio 12.2, performance analyzer is not available via the IDE, but as an independent standalone commands/GUI (e.g. solstudio12.2/bin/analyzer). Here is where you can find more information:
    http://www.oracle.com/technetwork/server-storage/solarisstudio/documentation/analyzing-jsp-137179.html
    /kso

  • Performance problem: 1.000 queries over a 1.000.000 rows table

    Hi everybody!
    I have a difficult performance problem: I use JDBC over an ORACLE database. I need to build a map using data from a table with around 1.000.000 rows. My query is very simple (see the code) and takes an average of 900 milliseconds, but I must perform around 1.000 queries with different parameters. The final result is that user must wait several minutes (plus the time needed to draw the map and send it to the client)
    The code, very simplified, is the following:
    String sSQLCreateView =
    "CREATE VIEW " + sViewName + " AS " +
    "SELECT RIGHT_ASCENSION, DECLINATION " +
    "FROM T_EXO_TARGETS " +
    "WHERE (RIGHT_ASCENSION BETWEEN " + dRaMin + " AND " + dRaMax + ") " +
    "AND (DECLINATION BETWEEN " + dDecMin + " AND " + dDecMax + ")";
    String sSQLSentence =
    "SELECT COUNT(*) FROM " + sViewName +
    " WHERE (RIGHT_ASCENSION BETWEEN ? AND ?) " +
    "AND (DECLINATION BETWEEN ? AND ?)";
    PreparedStatement pstmt = in_oDbConnection.prepareStatement(sSQLSentence);
    for (int i = 0; i < 1000; i++)
    pstmt.setDouble(1, a);
    pstmt.setDouble(2, b);
    pstmt.setDouble(3, c);
    pstmt.setDouble(4, d);
    ResultSet rset = pstmt.executeQuery();
    X = rset.getInt(1);
    I have yet created index with RIGHT_ASCENSION and DECLINATION fields (trying different combinations).
    I have tried yet multi-threads, with very bad results
    Has anybody a suggestion ?
    Thank you very much!

    How many total rows are there likely to be in the View you create?
    Perhaps just do a select instead of a view, and loop thru the resultset totalling the ranges in java instead of trying to have 1000 queries do the job. Something like:
    int     iMaxRanges = 1000;
    int     iCount[] = new int[iMaxRanges];
    class Range implements Comparable
         float fAMIN;
         float fAMAX;
         float fDMIN;
         float fDMAX;
         float fDelta;
         public Range(float fASC_MIN, float fASC_MAX, float fDEC_MIN, float fDEC_MAX)
              fAMIN = fASC_MIN;
              fAMAX = fASC_MAX;
              fDMIN = fDEC_MIN;
              fDMAX = fDEC_MAX;
         public int compareTo(Object range)
              Range     comp = (Range)range;
              if (fAMIN < comp.fAMIN)
                   return -1;
              if (fAMAX > comp.fAMAX)
                   return 1;
              if (fDMIN < comp.fDMIN)
                   return -1;
              if (fDMAX > comp.fDMAX)
                   return 1;
              return 0;
    List     listRanges = new ArrayList(iMaxRanges);
    listRanges.add(new Range(1.05, 1.10, 120.5, 121.5));
    //...etc.
    String sSQL =
    "SELECT RIGHT_ASCENSION, DECLINATION FROM T_EXO_TARGETS " +
    "WHERE (RIGHT_ASCENSION BETWEEN " + dRaMin + " AND " + dRaMax + ") " +
    "AND (DECLINATION BETWEEN " + dDecMin + " AND " + dDecMax + ")";
    Statement stmt = in_oDbConnection.createStatement();
    ResultSet rset = stmt.executeQuery(sSQL);
    while (rset.next())
         float fASC = rset.getFloat("RIGHT_ASCENSION");
         flaot fDEC = rset.getFloat("DECLINATION");
         int iRange = Collections.binarySearch(listRanges, new Range(fASC, fASC, fDEC, fDEC));
         if (iRange >= 0)
              ++iCount[iRange];

  • Process Manager Vrs Performance Meter

    Does anyone know the differences between the Process Manager and the Performance Meter. I am running both at the same time on the same system and I am getting completely different values for CPU% usage. The Performance Meter always seems to be much higher than that of the Process Manager. 40% to 10%. I have the time sample set to the same amount of time for each, and I am completely stumped as to why there is such a differnce. I wich I knew what the Performance Meter was measurring, and why it is so much higher. Any ideas? Thanks

    Well I didn't post an exhaustive list of possibilities.  Here's the macupdate link for Renicer.  Look further down the page at the Similar Software section.  There are other possibilities there.  Maybe you find a free one you like.
    Note, you could always encpsulate the renice terminal command if you have the knowledge to do it that way.

  • How performance meter in vision assistant calculates estimation time

    Hello...
    I want to know that how performance meter in vision assistant calculates the estimation time of each step?????
    I mean what is the concept behind this???
    please i need to know...
    Thanks in advance..

    Hello,
    I have performed the same operations in Ni Vision Assistant and in LV (without OCR):
    The VI is attached.
    The values are very similar. Maybe I do not understand your problem correctly. Please explain, if I missed the point.
    Best regards,
    https://decibel.ni.com/content/blogs/kl3m3n
    "Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
    Attachments:
    time Estimation_2010.vi ‏22 KB
    NIVISION.png ‏150 KB

  • Performance meter

    Hello,
    Recently I found in "Vision Builder for automated inspection" there's a tool called "performance meter" in block "vision assistent", absically we can use it to measure the processing time. I'm wondering could we find similar tool in other bolcks or for instance a "Performance meter" for the whole process but not only the "Vision assistant" blok? Thanks!
    Best regards,
    Yuquan  

    you can find some examples of vision in  https://decibel.ni.com/content/docs/DOC-31892
    Atom
    Certified LabVIEW Associate Developer

  • Performance meter and video drivers??

    hi,
    I have instaled vista x64 sp1 on MBP early 2008. In performance meter for graphic and gaming graphic is value 1. Drivers are are installed regulary nvidia 8600 gt and no other problem insted this values. Can I improve this and do I need to update drivers and can someone provide me a link.

    *"I have instaled vista x64 sp1 on MBP early 2008."*
    You should probably post your question in the Boot Camp forums, as this forum is for troubleshooting Apple Software Update for Windows, a software package for Windows designed to update Apple products that run on Windows.
    http://discussions.apple.com/category.jspa?categoryID=237

  • Performance pack for solaris

    How do I include/install performance pack on my Solaris system for WLS 5.1
    I included $WAS_HOME/lib/solaris in my PATH in the startup script which
    didn't help any
    thanks
    kp

    You have to add that directory to you LD_LIBRARY_PATH, not PATH
    K.P. Patel <[email protected]> wrote in message
    news:[email protected]..
    never mind... I got it.. For some odd reason, I restarted weblogic few
    times...and it picked up....
    thanks
    "K.P. Patel" <[email protected]> wrote in message
    news:3ad64fb6$[email protected]..
    yep, these property was set to true already....still doesn't load
    performance pack
    "Kumar Allamraju" <[email protected]> wrote in message
    news:[email protected]..
    Add the following property in weblogic.properties file.
    weblogic.system.nativeIO.enable=true
    Kumar
    "K.P. Patel" wrote:
    How do I include/install performance pack on my Solaris system for
    WLS
    5.1
    I included $WAS_HOME/lib/solaris in my PATH in the startup script
    which
    didn't help any
    thanks
    kp

  • I am trying to find a performance meter widget that responds positively or negatively based on user selections in an interactive, decision-making learning game.

    See the proposed image of what I'm looking for in the bottom left of this concept draft. Based on how the participant selects to answer, this meter would go up or down, recording their performance throughout the module. I know it's possible in ZebraZapps. I would think there would be a way in Captivate. Fingers crossed!

    This is possible using the Rotator Component Widget from Infosemantics.com.au but it is only compatible with  SWF output, not HTML5.
    Go to this page and scroll down to the video tutorials about the Rotator Component widget:
    http://www.infosemantics.com.au/adobe-captivate/youtube-video-tutorials

  • Performance tuning in Solaris 10

    I am newbie to Solaris,
    I wanna ask is there any command / tool to fine tune Solaris 10, e.g. cpu, memory, hd usage ?

    There is interesting info at [Solaris Internals|http://www.solarisinternals.com/wiki/index.php/Solaris_Internals] .
    have a good day,
    Glen

  • Unable to perform for-each on quer-database() result

    Hi
    I am using the quer-database function in my XSLT which is returning more than 1 value.
    when i try assigning these values I am only able to assign the first row of elements. When I try dragging the for-each activity and try using it with the qurey-database node set I get an error saying "An expression must have only one link to the Target schema".
    Is there some way that I can achieve this in my XSLT?
    <xsl:template match="/">
    <xsl:for-each select="">
    <client:processResponse>
    <client:Name>
    <xsl:value-of select="oraext:query-database(concat(&quot;select entryid from XXLF_CHARACTERS where item_number=&quot;,&quot;'&quot;,/ns0:Customer/ns0:CustomerInfo,&quot;'&quot;),false(),true(),&quot;jdbc/devag&quot;)"/>
    </client:Name>
    <client:Name2>
    <xsl:value-of select="oraext:query-database(concat(&quot;select entryvalue from XXLF_CHARACTERS where item_number=&quot;,&quot;'&quot;,/ns0:Customer/ns0:CustomerInfo,&quot;'&quot;),false(),true(),&quot;jdbc/devag&quot;)"/>
    </client:Name2>
    </client:processResponse>
    </xsl:for-each>
    </xsl:template>
    This is what my XSLT looks like
    Thanks.

    You have to use ROW and ROWSET to be able to able to get multiple elements... See the sample bellow...
    http://neeraj-soa-tips.blogspot.com.au/2011/04/getting-xml-output-from-oraextquery.html
    Cheers,
    Vlad

Maybe you are looking for

  • Error while executing adobe form

    Hi All,       I am working on an adobe form in development system everything is working perfectly, But the form is giving an exception ()when executed in quality system .I did remote comparison of both layout and interface and there are no changes.  

  • Attachments in PRs/POs should not be deleted

    Dear All Attachments in PRs and POs should not be deleted. Is there any control for this? Thank you

  • Hi,my name is sasidhar

    HI,CAN ANYONE PLZ ANSWER TO MY QUESTION IN PI7.1 RFC LOOKUP AND JDBC LOOKUP ARE INTRODUCED WHAT IS THE EXACT USE OF THESE TWO FUNCTIONS GIVE ME ONE EXAMPLE

  • Cancelling creative cloud membership

    I WANT TO CANCEL MY CREATIVE CLOUD SUBSCRIPTION. WHY I CANNOT DO THIS BY EMAIL OR WITHIN THE PLAN MANAGEMENT SITE IS A TOTAL MYSTERY. ONLY CHAT (WHERE THERE IS NO ONE), PHONE WHICH I DO NOT WANT AND FORUMS (REALLY) ARE OPTIONS.

  • Problem using the IMAQ Extract function.Not getting two different image out

    Hi, I am trying to use the multiple IMAQ extract functions to get certain parts of the webcam image and then using the color extract function to get the average RGB values. The problem is that both the IMAQ extract functions give the same image on it