- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Top and RAM information
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
Forums
Discussions
Discussions
Discussions
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
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
07-25-2005 08:32 PM
07-25-2005 08:32 PM
On the first one, top returns that good memory information :
Memory: 2628368K (1851980K) real, 5655072K (3811928K) virtual, 13396K free
On the seconde it returns that bad information :
Memory: 126004K (72696K) real, 131932K (97608K) virtual, 5732K free
The second server has already 2 Gb of RAM.
What is the problem with that second top ? How can i be sure of top informations.
Thanks for help,
Regards,
Dahu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 08:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 08:44 PM
07-25-2005 08:44 PM
Re: Top and RAM information
Please post the output of "dmesg"
Thks,
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 08:45 PM
07-25-2005 08:45 PM
Re: Top and RAM information
i do not think u should use top if u r trying to gather system information/statistics.
for physical memory, u may use sam as described by Muthu or:
# dmesg|grep Physical
for total physical memory or
also, if u r running make_tape_recovery, run print_manifest command for other hardware, software and kernel info.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 08:55 PM
07-25-2005 08:55 PM
Re: Top and RAM information
try
echo "selclass qualifier memory;info;wait;infolog"|cstm
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 09:30 PM
07-25-2005 09:30 PM
Re: Top and RAM information
Physical: 3145728 Kbytes, lockable: 2366116 Kbytes, available: 2721264 Kbytes
The second server :
Responds nothing.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 09:35 PM
07-25-2005 09:35 PM
Re: Top and RAM information
for the first server, u have
for the second, dmesg has been spooling other messages thus the memory info is gone. use sam -> Performance Monitor -> System Properties -> Memory tab
or what yogi has stated:
echo "selclass qualifier memory;info;wait;infolog"|cstm
to find the physical memory.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 10:20 PM
07-25-2005 10:20 PM
Re: Top and RAM information
Memory information from top command is never accurate since it is result of incidental probe. To get exact memory use use sam -> Performance Monitor -> System Properties -> Memory option
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 10:54 PM
07-25-2005 10:54 PM
Re: Top and RAM information
Physical Memory: 3074.8 MB
Real Memory:
Active: 1706416.2 KB
Total: 2646925.3 KB
Virtual Memory:
Active: 3667562.3 KB
Total: 5813675.5 KB
Free Memory Pages: 3055 at 4 KB/page
On the second sam says :
Physical Memory: 2049.8 MB
Real Memory:
Active: 70135.5 KB
Total: 119637.6 KB
Virtual Memory:
Active: 95670.9 KB
Total: 133323.8 KB
Free Memory Pages: 3235 at 4 KB/page
My first server has performance problem. It has 7 instances of ORACLE. And i wonder if the Memory is not full. Thats why i try to compare with the second server. I am suprised to see that they have quite the same quantity of free memory pages.
What a pity : i wanted to prouve that we have too mutch instances of ORACLE.
Regards,
Dahu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2005 02:39 AM
07-26-2005 02:39 AM
Re: Top and RAM information
u may like to run the following command to check the memory statistics:
# vmstat 3 20
virtual memory stat twenty 3 seconds interval.
would also like to know how much of SGA have u given for each instance:
# ipcs -mbop
should be able to view the memory allocation of each instance. or u may try a select statement to find the SGA size.
more info tomorrow, good night.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2005 02:57 AM
07-26-2005 02:57 AM
Re: Top and RAM information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2005 03:01 AM
07-26-2005 03:01 AM
Re: Top and RAM information
Good night ... see u tomorrow ...
ORACLE SGA parameters :
db_block_size = 8192
db_cache_size = 268435456
shared_pool_size = 134217728
See in attachement à file with the informations you asked.
I stopped one of my 7 ORACLE instances dans the server is more performed.
Thanks,
Regards,
Dahu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2005 02:45 PM
07-26-2005 02:45 PM
Re: Top and RAM information
looking at your attachment, there r actually two/three instance taking up 740261888 bytes and four/five instances taking up 824152064 bytes, based on the SEGSZ column from ipcs output.
as u have stated that there r only 3GB in that system, the 6 instances currently running is already taking whatever memory u have left.
u have a few alternatives:
1) lower the SGA size of the instance which may affect performance
2) shutdown instances if not in use and this box is not production?
3) consider use swapping but i am really against that
4) BUY more memory if your box still have empty memory slots.
when u may run vmstat over a period when u r shutting down each instance, u will notice a increase in the free memory column.
for info, to determine the sga size for each instance:
SQL> show sga
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 01:53 AM
07-27-2005 01:53 AM
Re: Top and RAM information
dbc_max_pct
buf_pages (if it exists)
swapmem_on
swchunk
max_swap_chunks (if it exists)
Also what version of HP-UX are you running?
(uname -a)
The two systems don't appear to have the same RAM, so you may want to use stm or xstm to see exactly what is loaded. Maybe they were not loaded properly or there is bad RAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 02:41 AM
07-27-2005 02:41 AM
Re: Top and RAM information
>/etc #uname -a
HP-UX loiret B.11.11 U 9000/800 137901527 unlimited-user license
That's my Stupide question : how print HP-UX parmeters you asked ?
Thanks.
Dahu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 02:59 AM
07-27-2005 02:59 AM
Re: Top and RAM information
Also, make sure that you have at least 2xRAM worth of device swap as reported from swapinfo -t
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 03:18 AM
07-27-2005 03:18 AM
Re: Top and RAM information
Here is the swap info :
swapinfo -t
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 6291456 489196 5802260 8% 0 - 1 /dev/vg00/lvol2
reserve - 5086388 -5086388
memory 2370364 148424 2221940 6%
total 8661820 5724008 2937812 66% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:25 AM
07-27-2005 09:25 AM
Re: Top and RAM information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 07:32 PM
07-27-2005 07:32 PM
Re: Top and RAM information
Here are the parameters you asked for :
dbc_max_pct = 50
buf_pages = 0
swapmem_on = 1
swchunk = 2048
max_swap_chunks = doesn't exists
Thanks,
Dahu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 07:56 PM
07-27-2005 07:56 PM
Re: Top and RAM information
do you have good reasons for having so many instances?
consider using different schema in only a few instances...
regards
yogeeraj
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 12:10 AM
07-28-2005 12:10 AM
Re: Top and RAM information
You have more memory (at least more that is working) and more virtual memory on one system than the other. Do you have OnLineJFS? If so, you should check out this read this cookbook to see how to avoid double buffering with Oracle.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 12:16 AM
07-28-2005 12:16 AM
Re: Top and RAM information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 12:33 AM
07-28-2005 12:33 AM
Re: Top and RAM information
I work with developpers for decreasing the number of ORACLE instances. They will have to manage the shema information in their programmes instead of use the ORACLE_SID.
My system knowledges are not enougth to manipulaite system parameters. I dont want to modify theses one.
The last interresting information you coult say me would be a command to know if my system swaps too much. Is that information easy to collecte ?
Thank a lot for help,
By,
Dahu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 01:24 AM
07-28-2005 01:24 AM
Re: Top and RAM information
Changing kernel parameters can be easily done in sam, but you may need to do a reboot for them to take effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 07:43 PM
07-28-2005 07:43 PM
Re: Top and RAM information
another tip that may help you is something that we do at our site where we only have ONE database instance and many schema each associated with a specific environment and where we use the following statement to switch:
e.g.
execute immediate 'alter session set current_schema=scott';
kind regards
yogeeraj