- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Oracle performance problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 10:17 PM
тАО06-04-2009 10:17 PM
I have two different instances of Oracle running on my HP-UX 11.31.
I would like to findout, how many processor time is used by first instance and how many time is used by second instance.
I would like to get the sum of all ORCL processes ans sum for all ORCL2 processes in desired time.
Both instances are running under username oracle.
Is there any idea how can I do this?
Regards,
Lovro
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 10:48 PM
тАО06-04-2009 10:48 PM
Re: Oracle performance problem
Do you have glance on your system? if so its pretty easy to do this using application groups...
otherwise I think you're down to doing something with ps like:
UNIX95= ps -eo args,pcpu | grep -E -e [o]ra_...._${ORACLE_SID} -e [o]racle${ORACLE_SID}
which if you have ORACLE_SID set to one of your oracle instance IDs, should print the current % CPU usage for each process.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 02:06 AM
тАО06-05-2009 02:06 AM
Re: Oracle performance problem
I have GlancePlus, but I still don't know how to create two different oracle application for two different Oracle_SID. Owner for both instances is oracle.
Regadrs,
Lovro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 02:48 AM
тАО06-05-2009 02:48 AM
SolutionGroup processes in Glance is really easy... lets suppose I have two oracle instances called BLUE and GREEN just edit the file /var/opt/perf/parm - got to the bottom of the file and you will find the lines:
application = other_user_root
user = root
Now add some lines *above* this entry as follows:
application = oracle_GREEN
file = ora*GREEN
application = oracle_BLUE
file = ora*BLUE
save the file and you might also need to start the performance agent by executing:
ovpa restart all
then fire up glance with the -A option
glance -A
You should see your 2 databases listed together with CPU/IO/Mem metrics
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 02:53 AM
тАО06-05-2009 02:53 AM
Re: Oracle performance problem
thank you for your answer. In mean time I managed to solve the problem. I did exactly as yous said and it works fine. I have a mistake in my previous parm file, so I didn't saw what I want.
Thank you again.
regards,
Lovro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 02:53 AM
тАО06-05-2009 02:53 AM