- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to find out used memory by Oracle
Operating System - HP-UX
1753882
Members
7748
Online
108809
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО02-07-2003 04:33 AM
тАО02-07-2003 04:33 AM
Re: How to find out used memory by Oracle
Alright, let's not deny anymore that you're good.
But I keep anoying to tell you that :
t=0
for i in `UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | grep -v Kbytes | awk '{print $1}'`
do
t=`expr $t + $i`
print $t
done
Will give me a : 2651012 Kbytes
I would say that is a little to much difference when looking at :
swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 3072 161 2911 5% 0 - 1 /dev/vg00/lvol2
reserve - 582 -582
memory 745 263 482 35%
total 3817 1006 2811 26% - 0 -
But you already won! If you could clarify this it would help me in understanding, but the problem just got answered loud and clear!!!
Best Regs David
But I keep anoying to tell you that :
t=0
for i in `UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | grep -v Kbytes | awk '{print $1}'`
do
t=`expr $t + $i`
print $t
done
Will give me a : 2651012 Kbytes
I would say that is a little to much difference when looking at :
swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 3072 161 2911 5% 0 - 1 /dev/vg00/lvol2
reserve - 582 -582
memory 745 263 482 35%
total 3817 1006 2811 26% - 0 -
But you already won! If you could clarify this it would help me in understanding, but the problem just got answered loud and clear!!!
Best Regs David
@yourservice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2003 05:59 AM
тАО02-07-2003 05:59 AM
Re: How to find out used memory by Oracle
just check this attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2003 06:07 AM
тАО02-07-2003 06:07 AM
Re: How to find out used memory by Oracle
The problem with the Kbytes total from ps is that it doesnt take into account shared code/memory. Remember, any executable loaded by hundreds of users will have shared instruction code (only user data will be different), which means a large memory saving, so its not very accurate - as you can see. You need something more sofisticated such as glance/gpm to work out individual process memory usage more accurately. The UNIX95 command is just a guide as to the largest memory hoggers - its not gospel.
Sometimes there are runaway processes, or operating system procesess which have gone mad and are hogging hundreds of MB of ram - this command is useful for spotting it, or you could use top, but not for adding up the total.
Sometimes there are runaway processes, or operating system procesess which have gone mad and are hogging hundreds of MB of ram - this command is useful for spotting it, or you could use top, but not for adding up the total.
Im from Palmerston North, New Zealand, but somehow ended up in London...
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP