Performance Analysis 怎么用collect -j 收集tomcat上的web项目的性能数据?

Performance Analysis 怎么用collect -j 收集tomcat上的web项目的性能数据?
How to user Performance Analysis  collect -j to collect web apps data on tomcat?
Thank you!

如果你用的是studio 12.4,collect可以收集从脚本运行的java程序。
比如如果从一个shell脚本run.sh运行tomcat,那么运行
> collect -j on sh run.sh
就可以采集tomcat运行后所有加载的web项目的数据。
如果你的web项目在某个时间段内运行,而且你只关心这个时间段的数据,你可以通过signal控制数据采集的开始和结束时间。
> collect -j on -y PROF sh run.sh
然后你可以向目标进程(假设进程号是1111)发送SIGPROF signal来开始或暂停数据采集:
> kill -SIGPROF 1111
在Linux上SIGPROF不能用,建议用SIGVTALRM。
如果你用的是solaris,collect 可以附着在正在运行的程序(假设进程号是1111)上:
> collect -j on -P 1111
studio 12.4 页面:
Oracle Solaris Studio Performance Analyzer

Similar Messages

  • How to Configure Apache Web Server  with Tomcat web container in Linux

    Hi all,
    I am working on Tomcat web server 5.0.19 on Linux AS 3.0., ( my Control Server)
    I need map my tomcat to Apache Web Server (httpd) in another system
    (web server).
    I dont have jk2_ or jk_mod .so files to use in my tomcat/conf directory to make them available for httpd.conf files of Apache Web server.
    I have only jk2.properties file in my conf.,
    Please tell me how to go about it
    my mail id [email protected]
    Thank You
    Subramanyam.V
    Hyderabad
    India

    The simple answer is to download a web server that has a web container already integrated on it, so all that painful configuration work is avoided.
    You can use the mature SJS Web Server 6.1 SP5 at
    http://www.sun.com/webserver
    Or you can try a preview of the upcoming version at
    http://www.sun.com/download/products.xml?id=446518d5
    You will get better performance and security, with easy of use, at about the same price ;)

  • Performance analysis program

    hello gurus!
    Someboody can send me the program name for making performance analysis in queries and infocube, please?
    Thanks a lot.
    BR.

    i think there is no particular program, to performance analysis.  there are different scenaios based on that particular performance issues.
    check the link
    http://www.google.co.in/url?sa=t&rct=j&q=%20performance%20analysis%20in%20queries%20and%20infocube%2C%20%20in%20sap%20bi%20in%20sdn&source=web&cd=9&ved=0CFoQFjAI&url=http%3A%2F%2Fcsc-studentweb.lr.edu%2Fswp%2FBerg%2Farticles%2FTeched2010%2FBerg_TechEd_2010_Performance_Tuning_v5.pptx&ei=e1zwTvWmJ4ayrAfA5KXSDw&usg=AFQjCNGy7RVynsLUPqKInmQGlVCSbaxlQA&cad=rja

  • Webtemplate performance analysis

    Hello,
    Is there any standand SAP method,to calculate the time to show the report on the browser and other issues related to the performance?
    Thanks,
    Ravi

    Hi Ravi,
    try using transaction RSRT2!
    Than select "query display" --> HTML!
    You will notice an url like this:
    variable_screen=X&template_id=0QUERY_TEMPLATE
    Just use your template name instead of 0QUERY_TEMPLATE!
    For performance measures see also this paper in Service Marketplace:
    https://websmp102.sap-ag.de/~sapdownload/011000358700001890502003E/Performance_Tuning.doc
    Chapter 7 is very interesting.
    Take a look also to Web Performance Analysis - Documentation:
    https://websmp102.sap-ag.de/~sapdownload/011000358700001936892003E/Web_Performance_Analysis.pdf
    and
    Web Performance Analysis - Tools:
    https://websmp102.sap-ag.de/~sapdownload/011000358700001936902003E/IEMon.zip
    Have fun.
    Regards,
    Adem

  • Performance analysis on interposed functions

    Hi,
    This is a repost of http://forum.java.sun.com/thread.jspa?threadID=5156578 mistakenly posted in Sun Studio C++ forum.
    I'm using the example code given in the following article (and the Linker and Library Guide) to define my own time function as a shared library:
    http://developers.sun.com/solaris/articles/time_stamp.html
    This works properly. Now I wish to analyze performance of a program using this library using collect and analyzer. Two problems arise:
    1. The #pragma init does not seem to work. I have to put a static flag variable and call the init_func myself inside my time() function if the flag is not set.
    2. Even after doing this, the dlsym() call returns an error indicating the original time() function could not be found.
    Is performance analysis of such interposed functions possible ? The test code only has a bunch of time() calls.
    If this can work, I plan to use it to analyze some code (including some third party libraries) that needs the current time to be set to a fixed value in order to ensure identical results.
    I'm using Sun Studio 10 on Solaris 8.
    Regards,
    Paul

    Sorry for a delayed response.
    I'm not sure if this constitutes a bug in the dynamic linker. Please try setting LD_PRELOAD environment variable instead of LD_FLAGS. It appears that setting both (collect sets LD_PRELOAD) confuses the dynamic linker and only one setting takes effect.
    -- Oleg

  • Performance analysis of Oracle

    Hi,
    I have a simple and standard question.
    1. Why Oracle is usually the best choice for the database?
    2. How can I check the performance analysis of Oracle?(compared the other DB server)
    Thanks...
    Seonah.

    I'm biased.
    Let me just say that Oracle is scalable, customizable, has an open API, etc. Whenever possible I would recommend it. Oracle is capable of storing terabytes of data. You can support thousands of users. You have the option of using it for web based applications. You can store large objects like documents and graphics. It is supported on many different platforms. It can be configured for many complex architectures.
    There is some cons though. As a robust and configurable system, it requires people resources to maintain and configure. This can be cost prohibitive. If you wanted a database just to store maybe 30,000 records and wanted a quick setup with no experience or unwilling to invest the time to learn it, well maybe this wouldn't be the choice for you. You might be better off with an off the shelf application like MS Access. Applications like that offer wizards that you could use to create your tables, forms and reports. But if you are looking to have a more complex system, I would definitely go to Oracle. If you are a computer junkie, you'll want to go to Oracle anyway.
    As an administrator, I can tell you that a properly maintained and configured Oracle database is very stable and dependable. When you are talking mission critical data, I would always choose Oracle. If Oracle is the leading database in the industry, (I think Informix is second, opinions please), why use a different system? Most of your major companies rely on it and they have the resources to investigate which system to use. In a sense, it is follow the leader. And depending on your needs, there are many different flavors of applications from Oracle.
    I do want to make clear that I do not work for Oracle. If you want Oracle's reasons, you should go to www.oracle.com and on the left of the window, browse through the differenct products based on what you want to do with this database.
    If you want to check out other databases, I would check out Informix, Sybase, DB2 and SQLServer. (Note: to me, Informix uses bad political advertising by trying to bash Oracle. Sounds like a presidential election campaign. I don't approve.)
    As far as question #2, I'm not so sure. Maybe someone out there knows?
    LM

  • Vendor performance analysis report

    Hi all,
    requirement to create an ALV report for vendor performance analysis...  wat r d tables n feilds which are to be used fr this... any help is appreciated..

    Refer the links -
    vendor performance report !!!
    vendor performance report
    vendor performance report
    I need standard vendor performance report

  • NAM Report Analyze -- Wan Optimization -- Application Performance Analysis Report

    Hello,
    Transaction Time (Client Exprerience) report does not show optimized traffic. For this graph what we expect is to show side by side the transaction time of optimized and non optimized traffic side by side to give information about the baseline and optimized application performance.
    May it be that the optimization should be disabled for some time for the Wan Sites, and after some time manually reenabled in order to compare these values?  This should be difficult for large deployments since manually disabling and reenabling for performance analysis time taking task.
    Best Regards,

    Mohammed,
    It is common, in many of the Cisco Express 8.5 environments we have looked at, for the Total Incoming Calls given on a Traffic Analysis report to be a higher number than an Application Report.
    The Traffic Analysis Report counts every unique sessionID (unique call) that is inbound (contact type of 1).  The Application Reports do a similar thing but qualify (filter) only the records that have an application assigned.
    There are simply times where inbound calls have been directed to an "agent" without having an applicaiton assigned.
    The best thing the reporting user can do is to run a query on his or her database such as: 
         select * from ContactCallDetail where contactType=1and startDateTime > '2012-11-16 10:00:00' and startDateTime < '2012-11-16 11:00:00';
    Usually when an application is not assigned to the record in the ContactCallDetail table it is because the destination type is equal to 1, which is an 'Agent' instead of a 'route point'.
    So if you modify your select statement to filter by destinationType, you can quickly find the records that don't have the application assigned. 
    Example:  select * from ContactCallDetail where contactType = 1 and destinationType = 1 and startDateTime > '2012-11-16 10:00:00 and startDateTime < 2012-11-16 11:00:00';
    When you look at these records, you will see the agent that took the call from the destinationID field.  The number in that field should match up with the field called 'resourceID' in a table called 'resouce';
         Example:  select * from resource where resouce=6011; where 6011 was the number you found in the destinationID field.
    If there is still confusion about the source of the call - then talk to that agent and find out what is was.
    Good Luck and let me know if you need further help.
    Ron Reif
    [email protected]

  • Import Performance Analysis report

    Hi,
    I ran the import analysis report in FDM and it tells me the time taken by each step of import process. My question is why does it take time for "Memo Reassign Time". I am not doing anything with Memo. Is there a way to avoid the time it takes to reassign memo.
    Thanks, AJ

    Import Performance Analysis
    File Archive Time 1
    Memo Reassign Time 53
    Total Import Process 254 Seconds
    Total Map Process 65 Seconds
    Almost 1/5th of the total time is taken by Memo Reassign Step for nothing. Is there a way to bring it to 0 seconds.

  • Performance analysis and monitoring of a Forteapplication

    Hello,
    It would be good if one could do some performance analysis and monitoring of
    a Forte application at production time.
    By performance analysis I mean measure the time some selected methods take
    to return. In a CS application such a method would be some selected method
    of a key remote service representative of the application's activity.
    One would like to mesure the min, max, average time, and also give a
    threshhold which when reached will automatically generate an alarm or some
    pre-defined processing.
    The most powerful way would be to use a SNMP application through a Forte -
    SNMP gateway. (see the G. Puterbaugh paper "Building a Forte-SNMP gateway"
    in the 96' Forte Forum proceedings).
    But before going that far some simple means accessible through EConsole
    would already be great.
    A collegue of mine when to that Forum and reported that Puterbaugh said that
    such an agent is currently missing, but that its implementation is not
    difficult.
    I looked at all the agents and their instruments. I came to the following
    conclusions :
    1) instrumented data are available at the granularity level of a partition,
    not at a smaller granularity. For example, the DistObjectMgr agent gives you
    very useful information : the number of events (sent/received) and the
    number of (remote) methods (called/invoked), but this for the entire
    partition. Thus it prevents making tuned observations (unless you partition
    in a special way your application to put in a dedicated partition the thing
    you want to observe and only this thing).
    2) there is no instrumented data related to processing time.
    This leads me to the point that no information observed by the standard
    agents help me figuring out my performances. Thus I have to add at
    development time some lines of code to the methods I potentially want to
    observe later at production time to generate the appropriate information a
    custom agent will then display (process) with the appropriate instruments.
    Does someone share this position ?
    Has someone implemented such an agent and assotiated means ?
    PS: I will probably implement my own one if no other way around.
    best regards,
    Pierre Gelli
    ADP GSI
    Payroll and Human Resources Management
    72-78, Grande Rue, F-92310 SEVRES
    phone : +33 1 41 14 86 42 (direct) +33 1 41 14 85 00 (reception desk)
    fax : +33 1 41 14 85 99

    Hello,
    It would be good if one could do some performance analysis and monitoring of
    a Forte application at production time.
    By performance analysis I mean measure the time some selected methods take
    to return. In a CS application such a method would be some selected method
    of a key remote service representative of the application's activity.
    One would like to mesure the min, max, average time, and also give a
    threshhold which when reached will automatically generate an alarm or some
    pre-defined processing.
    The most powerful way would be to use a SNMP application through a Forte -
    SNMP gateway. (see the G. Puterbaugh paper "Building a Forte-SNMP gateway"
    in the 96' Forte Forum proceedings).
    But before going that far some simple means accessible through EConsole
    would already be great.
    A collegue of mine when to that Forum and reported that Puterbaugh said that
    such an agent is currently missing, but that its implementation is not
    difficult.
    I looked at all the agents and their instruments. I came to the following
    conclusions :
    1) instrumented data are available at the granularity level of a partition,
    not at a smaller granularity. For example, the DistObjectMgr agent gives you
    very useful information : the number of events (sent/received) and the
    number of (remote) methods (called/invoked), but this for the entire
    partition. Thus it prevents making tuned observations (unless you partition
    in a special way your application to put in a dedicated partition the thing
    you want to observe and only this thing).
    2) there is no instrumented data related to processing time.
    This leads me to the point that no information observed by the standard
    agents help me figuring out my performances. Thus I have to add at
    development time some lines of code to the methods I potentially want to
    observe later at production time to generate the appropriate information a
    custom agent will then display (process) with the appropriate instruments.
    Does someone share this position ?
    Has someone implemented such an agent and assotiated means ?
    PS: I will probably implement my own one if no other way around.
    best regards,
    Pierre Gelli
    ADP GSI
    Payroll and Human Resources Management
    72-78, Grande Rue, F-92310 SEVRES
    phone : +33 1 41 14 86 42 (direct) +33 1 41 14 85 00 (reception desk)
    fax : +33 1 41 14 85 99

  • Performance of WLS as a web server

              Hi,
              I post this on the clustering list since I'm interested in finding out the
              likelyhood of people using WLS as a web server (as well as servlet engine/EJB
              container).
              What do you prefer: WLS or Apache/IIS/NES with the plug-in?
              Why?
              Do you prefer using a front-end cluster that serves static content and load
              balances dynamic requests to a back-end cluster of WLS instances?
              Do you prefer using WLS (Express) on the front-end cluster or Apache/IIS/NES?
              If using a front-end cluster, do you use DNS RR or an external HW load balancer?
              What load balancer do you use if a cluster of WLS instances serves both static
              and dynamic content? (With possibly a separate back-end cluster for EJBs.)
              The performance of WLS as a web-server may cause some people to prefer a front-
              end Apache/IIS/NES cluster, is that right?
              Regards,
              Frank Olsen
              Stonesoft
              

    The main reason that 5.1 is 25% slower than NES or Apache on serving static html
    is that NES/Apache do a lot of native I/O and caching ( their code base is C/C++).
    6.1 fixed that problem, BEA use native I/O to retrieve static html and img files,
    and caching them in memory. Benchmark data shows that they are in par with NES/Apache's
    performance. It's pretty safe for you to use 6.1 to host your static contents
    and use it as web container at the same time.
    My 2 cents.
    Jim Zhou.
    [email protected] (Morten Hindsholm) wrote:
    Hi,
    we are currently using Netscape Enterprise Server 3.6 as our web
    server and WLS 5.1 as web container, both running on AIX 4.3.3.
    We want to get rid of the NES (it is buggy and unsupported) but we are
    unsure if need to replace it with another web server (e.g. Apache or
    iPlanet), or just use WLS 6.1 as both web server and web container.
    So the question is: do you have any experience regarding the
    performance of the WLS 6.1 web server compared to a standard web
    server?
    TIA
    /\/\orten Hindsholm

  • [request] Intel VTune Performance Analyser

    Hello, I am wondering if someone have made a pkgbuild for the Intel VTune Performance Analyser: http://www.intel.com/cd/software/produc … 239143.htm. At the moment I do not have the skills or time to make a PKGBUILD, so I am hoping that someone already have done it. I am planning too learn the PKGBUILD system, so if do not have any success with request, I may prowide a PKGBUILD, in a distant future!

    OK.
    ThinkPad Edge E530 (3259-AD9)
    i5-3210M(2.5Ghz), 6GB RAM, 750GB 5400rpm HD, 15.6in 1366x768 LCD, Intel HD Graphics, 802.11bgn wireless, 1Gb Ethernet, UltraNav, Fingerprint reader, Camera, 6c Li-Ion, Win7 Home Premium 64
    First, in case you don't have it, here's your complete driver matrix: http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?&DocID=HT073274
    From there, please confirm that you have installed the most recent release of the Intel HD Graphics drivers:
    http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?&DocID=HT073274 from November 2013.
    Regards.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Community Resources: Participation Rules • Images in posts • Search (Advanced) • Private Messaging
    PM requests for individual support are not answered. If a post solves your issue, please mark it so.
    X1C3 Helix X220 X301 X200T T61p T60p Y3P • T520 T420 T510 T400 R400 T61 Y2P Y13
    I am not a Lenovo employee.

  • Performance Analysis in Oracle Enterprise Manger console..

    Hi,
    Following is a findings of performance analysis section of Oracle Enterprise Manager.
    SQL statements consuming significant database time were found.
    ======
    While clicking on above link system opens another page and it should following details.
    Action Run SQL Tuning Advisor on the SQL statement with SQL_ID "5z50bh2wj1svt".
    SQL Text SELECT /*+FIRST_ROWS INDEX(a ttdpur041730$idx4)*/ a.t$amta,a.t$bqua,a.t$btsp,a.t...
    SQL ID 5z50bh2wj1svt
    Rationale SQL statement with SQL_ID "5z50bh2wj1svt" was executed 732 times and had an average elapsed time of 2.9 seconds.
    The impact of this finding is 77% ...
    THis is an erp apps where we don't have any source code ...
    Any suggestions to reduce impact form 77%
    SSM

    I don't think that the system tablespace datafile is 92% being filled is a problem,but his what you can do:
    set oracle_sid=<your SID>
    I take it the path includes the correct <oracle_home>\bin
    sqlplus / as sysdba
    alter database datafile 'E:\path_to\system.dbf' AUTOEXTEND ON NEXT 1M MAXSIZE 2000M; replace 'E:\path_to by the correct disk and path.
    Changing a datafile size (resize) or changing a datafile so it is able to autoexextend can also be done by the EM itself.
    The controlfile can grow over time but I haven't seen any problems with it's size.
    Sorry, I can't explain the backup issue.
    Eric

  • BOM Performance Analysis using SAT or SE30 t-code?

    Hi,
        Currently I'm doing performance analysis of BOM to find out the bottlenecks. I'm doing the analysis using SAT or SE30 t-code.
    From my understanding, BOM performance depends upon
    1. no. of BOM items
    2. BOM Level
    3. BOM Evolution over time
    Can anyone provide me a hint to find out the bottlenecks in BOM performance. Thanks!!
    Regards,
    Saravana

    I have done the BOM Performance Analysis. Based on the most execution time and top performance consumers, please find my observations…
    Functionally, Performance of BOM execution depends upon
    Number of BOM items available in the BOM
    Number of Assemblies present in the BOM
    BOM Levels
    BOM Evolution over time
    Technically, BOM execution time is purely depends upon
    fetching the data from the SAP tables
    hitting the same table again and again when goes down the level
    loop at the tables / Nested functions used in SAP Program
    Hence, I'm closing this thread.....

  • Tuxedo Performance Analysis - Query - tried txrpt not receiving report

    Hi All,
    We have currently migrated from Solaris-8 - Tuxedo 8 environment to Solaris 10 - Tuxedo 11gr1 Staging environment.
    All the application binaries were running fine.
    However we conducted a performance testing for 500 users we could see the performance coming down, when compared to our old performance report of
    Solaris 8 - tux8 environment.
    However we doubt it may be some issue with the network or some other server via which the requests are hitting or responses leaving our system.
    Can you suggest any utility or its usage by which we can check that our current Tuxedo version is working fine than the older one?
    Like how much time tuxedo is taking now to process,the throughputs.
    can you please suggest some way to monitor or generate some sort of report to compare tuxedo 8 performance and Tuxedo 11g R1 performance for same application.
    tried the txrpt
    I5_RQMG_0002_00
    SRVGRP=AQUREQGRP
    SRVID=2000
    CLOPT="-r -s PSY_MG_0002_00:I5_RQMG_0002_00 -o logs/slog/I5_RQMG_0002_00.out -e logs/slog/I5_RQMG_0002_00.err"
    MIN=1 MAX=1
    RQADDR="I5_RQMG_0012_00Q2"
    REPLYQ=Y
    for this above server :
    -rwxrwxrwx 1 tuxedo tuxedo 71022518 May 29 14:56 I5_RQMG_0002_00.err
    I get the above file generated.
    Executed the command:
    tuxconsolas1:/apps/tuxapps/intserv/logs/slog>txrpt -nPSY_MG_0002_00 -d05/29 -s02:00 -e14:00 I5_RQMG_0002_00.err > txrpt.out
    I am just receiving :
    tuxconsolas1:/apps/tuxapps/intserv/logs/slog>less txrpt.out
    START AFTER: Tue May 29 02:00:00 2012
    END BEFORE: Tue May 29 14:00:00 2012
    in the report and the process hangs for me.
    Am i doing any error?
    Edited by: 835542 on May 29, 2012 10:27 AM

    Hi,
    If you want detailed performance analysis of your Tuxedo 11gR1 application, you can use TSAM (Tuxedo System and Application Monitor) to get very detailed performance information including time spent on network links, time spent waiting in IPC queues, etc. Unfortunately you won't be able to use the same tool for your Tuxedo 8.0 application as it is too old for TSAM to support.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

Maybe you are looking for

  • Return only one record at a time

    I am new to crystal reports so any help would be appreciated.  I have a .net app that is a order processing system.  When the user is in a record, they want to be able to click on a button an open a crystal report showing only that orders details.  I

  • Pdf file in Adobe reader

    I have two files on same subject and would like to remove one of them.How do you do this?

  • LinkToAction how to use it with parameter?

    Hello, searching for tutorials about the use of the LinkToAction I have seen that here is a possiblity in WD4J to use a context-node. How can you pass a parameter in WD4A? (I am using a rowrepeater for a list of books and would like to pass the bookI

  • Need INput and Feedback ON new Macbook and Wireless-NESS

    greetings all My sister just bought a macbook brand new from best buy... she has SBC Global high SPEED DSL at home, via a ethernet modem....connected to her PC.. Macbook's are wireless capable.. so how can we make this happen? 1. what does she need t

  • Video too Bright!?!?

    Copy of dkrauts post in other forum. I have the K7N420 Pro(MS-6373) and I've tried several different monitors but no matter what I do the brightness is way too high! I've applied the latest drivers and even tried the software controls in Windows Vide