Sponsored Content
Operating Systems Linux Red Hat High RAM usage, extremely low swapping Post 302624793 by hedkandi on Monday 16th of April 2012 10:20:47 PM
Old 04-16-2012
MySQL SOLVED

@corona, thanks that was a relief. I logged a case with RHEL just in case and they told me the same thing you did but in totally incomprehensible terms Smilie

@mark, thanks for the vmstat syntax. I suppose cat /proc/meminfo provided me with more or less the same info

@murphy, I did check the link you provided but I got lost halfway thru Smilie I think I was just too stressed to figure it out yesterday!

Anyways, just in case someone comes across this thread and wants answers, following is the math concoction:

Code:
For example (Units are in megabytes):

# free -m
             total       used       free     shared    buffers     cached
Mem:          1000        900        100          0        350        350
-/+ buffers/cache:        200        800

In this example, as far as applications are concerned the system is using only 200MB of memory and has 800MB free and available for use if needed.

Note: in this example,

    Total Physical Memory = 1000 M

    Physically Used Memory = 900 M

    Actual used memory = 200 M

    buffers = 350 M

    cached = 350 M

    Physically Free Memory = 100 M

    Memory free for Applications = 800 M

The items to note here are:

<Physically Used Memory> = <Actual used memory> + <buffers> + <cache> = 200 + 350 + 350 = 900 M

<Physically Free Memory> = <Total Physical Memory> - <Actual used memory> - <buffers> - <cache> = 1000 - 200 - 350 - 350 = 100 M

<Memory free for Applications> = <Total Physical Memory> - <Actual used memory> = 1000 - 200 = 800 M

<Memory used  by Applications> = <Physically Used Memory> - <buffers> - <cache> = 900 - 350 - 350 = 200 M

This User Gave Thanks to hedkandi For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

low RAM

Hy, I've an 486 dx2 laptop an I want to run unix on it, the problem is it has only 4 megabytes of ram, so my question is; does anybody know an unix based OS which runs with only 4 mb? thanx (7 Replies)
Discussion started by: counTnegaTive
7 Replies

2. UNIX for Advanced & Expert Users

Sun: High kernel usage & very high load averages

Hi, I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at? Thanks, Lorraine last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies

3. Solaris

malloc returning NULL if freemem high & swapmem low

Hi All, In my application malloc is returning NULL even though there is sufficient amount of free memory is available but swap memory is low. Is this possible that, if free memory is high & swap memory is low, malloc will not be able to allocate memory & return NULL ?:) Kindly look into... (5 Replies)
Discussion started by: Ritesh Kumar
5 Replies

4. Shell Programming and Scripting

low & high values

on the file Ftp'd from the mainframe ,do we have any UNIX command to replace mainframe low and values to space or null. i tried using tr and it doesn't work ... Thanks (1 Reply)
Discussion started by: rlmadhav
1 Replies

5. Shell Programming and Scripting

Picking high and low variables in a bash script - possible?

Is it possible to have a bash script pick the highest and lowest values of four variables? I've been googling for this but haven't come up with anything. I have a script that assigns variables ($c0, $c1, $c2, and $c3) based on the coretemps from grep/sed statements of sensors. I'd like to also... (5 Replies)
Discussion started by: graysky
5 Replies

6. Shell Programming and Scripting

Split file into chunks of low & high byte

Hi guys, i have a question about spliting a binary file into 2 chunks. First chunk with all high bytes and the second one with all low bytes. What unix tools can i use? And how can this be performed? I looked in manpages of split and dd but this does not help. Thanks (2 Replies)
Discussion started by: basta
2 Replies

7. UNIX for Advanced & Expert Users

Extremely high kernel CPU Usage (Solaris 10 SPARC)

I've got a domain running on a few boards of a 25k. I'm seeing very high kernel cpu usage in top and cant' quite explain it. System runs a large number of smallish Oracle 10g2 databases (30), used mainly for development. load average: 36.63, 36.68, 37.42 2489 processes: 2452 sleeping, 21... (0 Replies)
Discussion started by: utopiajoe
0 Replies

8. UNIX for Dummies Questions & Answers

Kernel/ user space and high/ low mem

Need some clarification on this.... 1. how are kernel/ user spaces and high/low memory related? 2. What do they all mean when i have the kernel command line as: "console=ttyS0,115200 root=/dev/sda2 rw mem=exactmap memmap=1M@0 memmap=96M@1M irqpoll" or 2. what do mem and memmap mean in... (3 Replies)
Discussion started by: dragonpoint
3 Replies

9. AIX

High Runqueue (R) LOW CPU LOW I/O Low Network Low memory usage

Hello All I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) . The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Discussion started by: IL-Malti
9 Replies
iconv_pc_cyr(5)                                         Standards, Environments, and Macros                                        iconv_pc_cyr(5)

NAME
iconv_pc_cyr - code set conversion tables for Alternative PC Cyrillic DESCRIPTION
The following code set conversions are supported: +---------------------------------------------------------------------+ | Code Set Conversions Supported | +--------------+--------+--------------+--------+---------------------+ | Code |Symbol |Target Code |Symbol | Target Output | +--------------+--------+--------------+--------+---------------------+ |PC Cyrillic |alt |ISO 8859-5 |iso5 | ISO 8859-5 Cyrillic | +--------------+--------+--------------+--------+---------------------+ |PC Cyrillic |alt |KOI8-R |koi8 | KOI8-R | +--------------+--------+--------------+--------+---------------------+ |PC Cyrillic |alt |MS 1251 |win5 | Windows Cyrillic | +--------------+--------+--------------+--------+---------------------+ |PC Cyrillic |alt |Mac Cyrillic |mac | Macintosh Cyrillic | +--------------+--------+--------------+--------+---------------------+ CONVERSIONS
The conversions are performed according to the following tables. All values in the tables are given in octal. PC Cyrillic to ISO 8859-5 For the conversion of PC Cyrillic to ISO 8859-5, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | PC Cyrillic | ISO 8859-5 | PC Cyrillic | ISO 8859-5 | |24 | 4 |231 |311 | |200 | 260 |232 |312 | |201 | 261 |233 |313 | |202 | 262 |234 |314 | |203 | 263 |235 |315 | |204 | 264 |236 |316 | |205 | 265 |237 |317 | |206 | 266 |240 |320 | |207 | 267 |241 |321 | |210 | 270 |242 |322 | |211 | 271 |243 |323 | |212 | 272 |244 |324 | |213 | 273 |245 |325 | |214 | 274 |246 |326 | |215 | 275 |247 |327 | |216 | 276 |250 |330 | |217 | 277 |251 |331 | |220 | 300 |252 |332 | |221 | 301 |253 |333 | |222 | 302 |254 |334 | |223 | 303 |255 |335 | |224 | 304 |256 |336 | |225 | 305 |257 |337 | |226 | 306 |260-337 |255 | |227 | 307 |360 |241 | |230 | 310 |362-376 |255 | +---------------+----------------+----------------+---------------+ PC Cyrillic to KOI8-R For the conversion of PC Cyrillic to KOI8-R, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | PC Cyrillic | KOI8-R | PC Cyrillic | KOI8-R | |24 | 4 |242 |327 | |200 | 341 |243 |307 | |201 | 342 |244 |304 | |202 | 367 |245 |305 | |203 | 347 |246 |326 | |204 | 344 |247 |332 | |205 | 345 |250 |311 | |206 | 366 |251 |312 | |207 | 372 |252 |313 | |210 | 351 |253 |314 | |211 | 352 |254 |315 | |212 | 353 |255 |316 | |213 | 354 |256 |317 | |214 | 355 |257 |320 | |215 | 356 |260-337 |255 | |216 | 357 |340 |322 | |217 | 360 |341 |323 | |220 | 362 |342 |324 | |221 | 363 |343 |325 | |222 | 364 |344 |306 | |223 | 365 |345 |310 | |224 | 346 |346 |303 | |225 | 350 |347 |336 | |226 | 343 |350 |333 | |227 | 376 |351 |335 | |230 | 373 |352 |337 | |231 | 375 |353 |331 | |232 | 377 |354 |330 | |233 | 371 |355 |334 | |234 | 370 |356 |300 | |235 | 374 |357 |321 | |236 | 340 |360 |263 | |237 | 361 |361 |243 | |240 | 301 |362-376 |255 | |241 | 302 | | | +---------------+----------------+----------------+---------------+ PC Cyrillic to MS 1251 For the conversion of PC Cyrillic to MS 1251, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | PC Cyrillic | MS 1251 | PC Cyrillic | MS 1251 | |24 | 4 |242 |342 | |200 | 300 |243 |343 | |201 | 301 |244 |344 | |202 | 302 |245 |345 | |203 | 303 |246 |346 | |204 | 304 |247 |347 | |205 | 305 |250 |350 | |206 | 306 |251 |351 | |207 | 307 |252 |352 | |210 | 310 |253 |353 | |211 | 311 |254 |354 | |212 | 312 |255 |355 | |213 | 313 |256 |356 | |214 | 314 |257 |357 | |215 | 315 |260-337 |210 | |216 | 316 |340 |360 | |217 | 317 |341 |361 | |220 | 320 |342 |362 | |221 | 321 |343 |363 | |222 | 322 |344 |364 | |223 | 323 |345 |365 | |224 | 324 |346 |366 | |225 | 325 |347 |367 | |226 | 326 |350 |370 | |227 | 327 |351 |371 | |230 | 330 |352 |372 | |231 | 331 |353 |373 | |232 | 332 |354 |374 | |233 | 333 |355 |375 | |234 | 334 |356 |376 | |235 | 335 |357 |377 | |236 | 336 |360 |250 | |237 | 337 |361 |270 | |240 | 340 |362-376 |210 | |241 | 341 | | | +---------------+----------------+----------------+---------------+ PC Cyrillic to Mac Cyrillic For the conversion of PC Cyrillic to Mac Cyrillic, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | PC Cyrillic | Mac Cyrillic | PC Cyrillic | Mac Cyrillic | |24 | 4 |341 |361 | |240 | 340 |342 |362 | |241 | 341 |343 |363 | |242 | 342 |344 |364 | |243 | 343 |345 |365 | |244 | 344 |346 |366 | |245 | 345 |347 |367 | |246 | 346 |350 |370 | |247 | 347 |351 |371 | |250 | 350 |352 |372 | |251 | 351 |353 |373 | |252 | 352 |354 |374 | |253 | 353 |355 |375 | |254 | 354 |356 |376 | |255 | 355 |357 |337 | |256 | 356 |360 |335 | |257 | 357 |361 |336 | |260-337 | 40 |362-376 |40 | |340 | 360 | | | +---------------+----------------+----------------+---------------+ FILES
/usr/lib/iconv/*.so conversion modules /usr/lib/iconv/*.t conversion tables /usr/lib/iconv/iconv_data list of conversions supported by conversion tables SEE ALSO
iconv(1), iconv(3C), iconv(5) SunOS 5.10 18 Apr 1997 iconv_pc_cyr(5)
All times are GMT -4. The time now is 06:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy