Script to know number of users over database and applications.

hi brothers.
kindly i need helpl to know script or command of number of online users over database and application.(i need it for performance issue).
Message was edited by:
user633617

set pages 100
set lines 3000
col machine format a25
col username format a15
col program format a25
break on 1;
set heading off;
select
'Sessions on database '|| d.name ||' having instance name '|| i.instance_name
from v$database d,v$instance i;
set heading on;
compute sum label 'Total Sessions' of sessions on 1
select
1,username,machine,program,count(*) sessions
from v$session
group by username,machine,program
order by username,sessions desc;

Similar Messages

  • How do I check the current number of users connected to the application?

    Hi there,
    I would appreciate that you advise me on how to know how many users are accesing
    an application I've got in production, powered by BEA WebLogic Server 6.1.
    In the Administration console, I go to the specific server, and inside the tab "monitoring",
    then "Performance", I've got some graphics showing the memory usage and throughput.
    But, where do I see the number of actual connection to the application?
    Thanks

    Mark Griffith <[email protected]> wrote:
    Oscar:
    I am pretty sure that WLS doesnt give you the type of monitoring you require. You
    might have to check out one of the third party monitoring partners like Wiley or
    Precise.I guess that depends on how you define 'how many users are accessing' an
    application(s) - for example, 'OpenSessionsCurrentCount' can serve as a rough measure of
    the number of users currently using the web application. or, number of threads + execute
    queue length can give you an idea of current number of user requests executing/waiting
    to be executed at any given time, etc. WebLogic does provide lots of useful monitoring
    information, and the fact that it uses JMX makes obtaining this information very easy.
    Having said that I would like to ask a couple of questions.
    a) what is your app (EAR? EJB's WebApp?)
    b) why do you want to know, meaning as soon as you know how many what is the next
    thing you want to know/see?
    Cheers
    mbg
    "Oscar" <[email protected]> wrote:
    Hi there,
    I would appreciate that you advise me on how to know how many users are
    accesing
    an application I've got in production, powered by BEA WebLogic Server 6.1.
    In the Administration console, I go to the specific server, and inside the
    tab "monitoring",
    then "Performance", I've got some graphics showing the memory usage and
    throughput.
    But, where do I see the number of actual connection to the application?
    Thanks
    Dimitri

  • HT4889 When I transferred my data from a 128GB Macbook Air to 256GB Macbook Air (brand new version as of 9/1/13) I end up with 188GB used!   I add up the size of Users, System, Library and Applications and it comes to 90GB.  What am I missing?

    When I transferred my data from a 128GB Macbook Air to 256GB Macbook Air (brand new version as of 9/1/13) I end up with 188GB used!   I add up the size of Users, System, Library and Applications and it comes to 90GB.  What am I missing?  How did I "use" up so much space in migrating from one Mac to another?

    Did you use the Setup Assistant available at the beginning of the new machine's setup process? Or did you use Migration Assistant later after you had set up the new machine?
    If you used Migration Assistant, you generally wind up with two accounts (the new one you set up on the new machine plus the old one you ported over) - that may explain your excessive use of space. In that case, you can either manually combine/remove all unnecessary duplicate files, or you can start over by using Command + R, wiping your drive, and downloading the OS. Once it's downloaded, use the Setup Assistant offered at the beginning of the install/setup process.

  • How to improve database and application performance

    Hi,
    Any body please help me out that how can we improve the database and Application performance.
    Regards,
    Bhatia

    bhatia wrote:
    Hi,
    Any body please help me out that how can we improve the database and Application performance.
    Regards,
    Bhatiathere is no simple answer. There is no DATABASE_FAST=TRUE initialization parameter. There are a myriad of reasons why an application is performing poorly. It could be that the application (code and data relationships) is poorly designed. It could be that individual SQL statements are poorly written. It could be that you don't have enough cpu/memory/disk bandwidth/network bandwidth.
    You need to determine the root cause of poor performance and address it. If you application is poorly designed, you can tune the database until the cows come home and it won't make any difference. If you are trying to run 100k updates per second against a database hosted on hardware that only meets minimal requirements to install Oracle ... well, hopefully you get the picture.
    First, go to tahiti.oracle.com. Drill down to your selected Oracle product and version. There you will find the complete doc library. Find the Performance Tuning Guide
    Second, go to amazon.com and browse titles by Tom Kyte and Cary Milsap. I particularly recommend "Effective Oracle by Design" and "Optimizing Oracle Performance", though I see a lot of new titles that look promising (I think I'll be doing some buying!)

  • How do we decide the number of data base servers and application servers ?

    Dear Gurus,
    How do we decide the number of data base servers and application servers in BW ?
    How does this number help in data load balance and reporting needs ?
    Any hard n fast rule in the number of servers ?
    Regards
    Mohan

    Hi Mohan,
    Check the number of application server in the T-code SM66.... and also u can check the it in Sm50 on appplication server basiss./.
    From Sm37 u can see the application server Push button.. if u click on that also.. u can see the number of application servers in the system..
    Get into the individual application server and check how many Dialogue and background WP's are free,,
    If u see that the considerable number of WP are free(Waiting for task).. then u can shedule the loads..
    If most of the WP are  busy then u need to wait to trigger ur loads to maintain the load balancing..
    If one Application server is too busy then u can check the other Application Servers in the systems..
    And u can shedule the loads on a specific application sever level as well using the PC..
    Thanks
    I hope this is clear to u..
    Assign points if this helps

  • Agents for database and application servers

    hi all,
    I have to go to a client site this week to install Gagents onto some database servers, some will be RAC and some application servers. it is on AIX. are there different agents for database and applications? In a RAC cluster do I need an agent per node?
    rgds
    alan

    When installing agents in a cluster (read - RAC), during the installation, on one of the screens, you will have the option of picking up all the nodes in the cluster. Else, if you are using a push or agent deploy method, you just have to pass the correct flag (can't remember) and then list all the nodes in the cluster.
    To your other questions, you do not need different agents for database, and app servers etc. The only time you would need different agents is when you are installing on different platforms.

  • Automaticallu restart ebs 11i database and application services on rhel5

    Hi,
    I have installed ebs 11i on rhel5.
    Pls advice hot to automatically start services(database and application) after system restart.
    Thank you in advance,
    Denis

    Hi,
    Please see these threads.
    Autostart of Services
    Re: Autostart of Services
    Auto Start Oracle Services didn't work
    Auto Start Oracle Services didn't work
    Regards,
    Hussein

  • Measure the number of user connected to an Application

    Hi,
    How can I find the number of users connected to a weblogic application
    Can you help me understand how can I measure this parameter for a monitoring purpose?
    Thanks in advance,
    Nicola Attico

    Current Sessions is the current total number of open sessions for each application. Yes, you can use JMX or WLST within a script.
    The WebAppComponentRuntimeMBean mbean of your application provides this information through OpenSessionsCurrentCount attribute.
    For instance, in WLST enter:
    wls:/my_domain/serverRuntime/ApplicationRuntimes/my_application/ComponentRuntimes/my_app> cmo.getOpenSessionsCurrentCount()
    For JMX I suggest to you see [http://download.oracle.com/docs/cd/E13222_01/wls/docs91/wlsmbeanref/core/index.html]
    Edited by: Betino on 22/10/2009 11:26 AM

  • How to find out total of number of users accessing Hyperion Planning applications ?

    Hi All,
    Could someone help me with the details of how to find out total number of users who are accessing Hyperion Planning application in Env.?
    This is with regard to licenses so wanted accurate and unique information,
    Thanks
    Amith

    Hello Amith,
    I think you should have a look at the blog of Cameron Lackpour http://camerons-blog-for-essbase-hackers.blogspot.be/
    In the "Shared Services Stupid Trick" blogs, he shows how to find the real access to an application. The side benefit is that it is amusing to read.
    In how far this is OK for the licenses is written on another page. You likely need to use the same method as Oracle does. Ask the Salesperson how to do this. (I am curious what his/her reply is).
    Regards,
    Philip Hulsebosch.

  • Number of user sessions in the Application Server for a config entry

    Hi All
    I am using 10g AS, with 9i DB.
    My requirement is that -
    i need to find the total number of users of the application in any moment, and to
    display that information to the users. say, config=abc, super users need to find all
    those who are using the link from the application itself.
    I can see that information from the 10 g Enterprise Manager -> Forms -> User Sessions.
    But is there any means of transfering that information to forms.
    Can this be done by using PJC's ?
    Please post your solutions/suggestions
    Thanks in Advance
    Deepa

    Any help/ideas Please
    Deepa

  • Difference between database and application

    can any one tell me difference between oracle database and oracle application?
    plz

    BUT THE REAL PROBLEM is :-i want to connect that database..
    i can't see my imported application or database..
    Tell,, should i create any database or what should i
    do..tell me detail step by step processFirst and foremost, you have a terminology problem. I will provide a working set of definitions. (But I fully expect to be corrected by some of the symantic specialists.)
    - A database, in Oracle's terms, is a set of files.
    - Inside of that database are a number of schemas, or collections of object definitions,
    - Some of those objects are tables, which may contain data.
    - The database is manipulated by an instance, or collection of processes and/or threads
    - An application connects to the instance and requests specific manipulation.
    In your case, you used the imp application, connecting to the XE database using the userid 'system' to import the schema objects from the schema 'jadi' to the schema 'yogesh'.
    You could now use the application called SQLPlus to connect to the XE database - possibly using user "system" - to inspect the objects and object data imported in schema yogesh.
    You might also be able to use the Application Express browser-based application to access the data in the various schemas. To do that we would need to explore other terminology such as "workspace"
    I would encourage you to use the documentation at http://www.oracle.com/pls/xe102/homepage and perhaps search for the tutorial on the Products page (see the products link on the documentation page.)

  • Centralized Database and Application Control

    Hi,
    I am looking for idea to centralized control software to manage (start/stop/display status) oracle database, oracle application or other component on unix box, it become harder to manage database (i.e. which command, where is database location/server name) when in organize have lots of database/application/server/version to manage. How is it managed from other people, idea is appreciated.
    Thank you.

    And I assume that you are familiar with all the Enterprise Manager plug-ins that let you monitor non-Oracle systems from Enterprise Manager.
    If you are looking for enterprise management software that has no relationship to Oracle, any enterprise software company is likely to have something for you. But if you specifically want to exclude Oracle's offerings I'm not sure why you would post this request in an Oracle forum. Surely, if you want to use HP software or IBM software or some other vendor's software, it would be more appropriate to post in a HP forum or an IBM forum...
    Justin

  • Can database and application services install on two different OS?

    Hi All,
    Our customer want to install Oracle E-Business Suite 12 on two separate nodes, but both of nodes are running different OS. One node is Red Hat Linux which will be the database server, and the other node is Microsoft Windows 2003 which will be the application server. My questions are whether there will be a problem to communicate between the database server and application or whether there will be a problem to do the configuration for them to work. Please help me on these questions.
    Thank you
    Lin

    I agree with Fadi...As long as it's supported, you shouldn't have problems. Or at least, if you do have problems, Oracle will be able to help you. :-) Oracle does provide support for "split-tier" configurations, but you should confirm that the one you propose is a supported combination.
    I recommend checking the certification matrix on Metalink, and if that seems ambiguous, log an SR with Oracle Support for clarification.
    Regards,
    John P.

  • Scheduling automatic Backup of Database and Application

    Hi,
    Can anyone post the step by step process and methods to Backup my database and how to make recovery.
    I am using oracle10g db Application express .
    I am also using oracle enterprise manager 10g for scheduling email alert processes.
    platform : windows xp
    Thank You.

    Hi,
    sorry for the late reply...
    I anot using an Express edition oracle XE .. its personal edition..that too on windows xp platform...
    so i need a way of automating the backup... like weekend or midnight(daily)..
    will oracle enterprise manager be helpful for this? and how?
    thank you.

  • Oracle 11G database and Application Server installed on same server

    What are the pros and cons installing Oracle 11G database and Oracle Application Server (Forms and Reports) on the same server?
    Thank you in advance, Sonya

    Some may want their data in a separate network zone for security reasons.
    It also depends if it is the same people that do maintenance on db and appserver.
    It is lower cost with one server, and only 1 Os to set up.

Maybe you are looking for

  • My iPod touch will not work with my ubox-f-1107 after updating to iOS 5.1.1

    I have a Citroen C4 Grand Picasso 2008, I bought the UBOX-F-1107 and had it installed by the dealer here in Spain so that my Ipod touch would work and charge in my car! It worked great until I updated to the ios 5.1.1, now it does not work!!! After I

  • Can't open iphoto "trash"

    Hi. I have been trying to free up space, so deleting photos (and other things). Now, when I click on the iphoto trash icon, nothing happens. I can click on empty trash, and it tells me then that I have a few thousand photos in it. Am I sure I want to

  • Need IDOC type to create outbound Delivery in SAP

    Hello, I am looking for the IDOC basic type, message type and process code which will be able to create an outbound Delivery in SAP.    Scenario: Inbound data needs to be integrated into SAP to create an outbound delivery with reference to a Sales Or

  • The BOM Data

    Can we get BOM Data from the Table RESB.....

  • PI 731 ESR always minimized

    hi i am facing strange issue in PI 731 java stack. wen i open PI ESR using my id in any laptop ,ESR opens and always in minimized mode. i checked ,there is no lock in my id. i cleared java cache,reset the password of my id-still PI ESR is always mini