Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sco Unix 2.1.2 - Need to find how much free memory I have

Status
Not open for further replies.

douggy

Technical User
Jan 18, 2001
78
GB
Hi there,

I need to increase my Oracle Database Buffers.

I need to know how to find out how much free memory there is.

Thanks for you help.

Regards
Mark
 
sar -r will give you free real memory and swap memory in 4K pages over the last day. if you dont have sar running in cron then sar -r 5 5 will give you 5 snapshots over 5 second intervals.

p.s.
you may want to recheck the version of sco you are running, I have never heard of 2.1.2 but then i could be wrong.
 
Hi there, Thanks for this. Sar -r 5 5

UNIX_SV CBI1 4.2MP 2.1.2 i386 04/11/01

08:41:29 freemem freeswap
08:41:34 83972 207719
08:41:39 83953 207718
08:41:44 83949 207718
08:41:49 83950 207718
08:41:54 83956 207718
Average 83956 207718

Can you explain what the value is. ie '83972' what does this represent. Please excuse my ignorance.

Regards
Mark
 
the number is how many 4k pages are available.
so 4096 x 83972 is 343949312 bytes of memory or approximately 328 MB of ram.

the 207718 number is how much swap space is available.

now you will want to repeat the reading when you are at
peak usage.

good luck.
stan hubble
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top