LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2010, 02:31 AM   #1
prak86
LQ Newbie
 
Registered: Dec 2009
Posts: 21

Rep: Reputation: 15
Ram showing critical status


Hi,

I am using nagios to monitor vm in blade servers, everything is working fine. The ram size of the vm is 4 gb and whenever the machine starts, the status of ram is critical as showing only few kb are free.

I set the critical limit as 5% and it comes as 3% and showing as critical. when i give top, i got it as


top - 12:57:08 up 31 days, 23:08, 2 users, load average: 1.15, 1.08, 1.04
Tasks: 97 total, 1 running, 96 sleeping, 0 stopped, 0 zombie
Cpu(s): 3.0%us, 97.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3896252k total, 3745960k used, 150292k free, 300820k buffers
Swap: 5124724k total, 0k used, 5124724k free, 2534340k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26052 root 25 0 1885m 806m 123m S 99.8 21.2 4792:58 java
11269 root 15 0 2196 1004 796 R 0.3 0.0 0:00.02 top
1 root 15 0 2064 652 560 S 0.0 0.0 0:00.99 init
2 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.35 events/0
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
7 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
10 root 10 -5 0 0 0 S 0.0 0.0 0:00.90 kblockd/0
11 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
68 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue/0
71 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
73 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod
135 root 15 0 0 0 0 S 0.0 0.0 0:26.89 pdflush
136 root 15 0 0 0 0 S 0.0 0.0 0:14.02 pdflush
137 root 16 -5 0 0 0 S 0.0 0.0 0:00.06 kswapd0
138 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
291 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused
321 root 10 -5 0 0 0 S 0.0 0.0 0:00.49 mpt_poll_0
322 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
325 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0
326 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ata_aux
333 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kstriped
342 root 10 -5 0 0 0 S 0.0 0.0 1:02.37 kjournald
375 root 10 -5 0 0 0 S 0.0 0.0 0:00.04 kauditd
409 root 17 -4 3004 1596 504 S 0.0 0.0 0:00.46 udevd
1261 root 13 -5 0 0 0 S 0.0 0.0 0:00.00 kmpathd/0
1262 root 13 -5 0 0 0 S 0.0 0.0 0:00.00 kmpath_handlerd
1290 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kjournald
1532 root 15 0 2160 492 388 S 0.0 0.0 0:07.95 mcstransd
1823 root 15 -4 12516 784 576 S 0.0 0.0 0:00.86 auditd
1825 root 7 -8 12068 680 584 S 0.0 0.0 0:00.37 audispd
1843 root 18 0 11616 9.9m 504 S 0.0 0.3 0:00.35 restorecond
1854 root 18 0 1720 628 528 S 0.0 0.0 0:10.73 syslogd
1857 root 15 0 1672 396 332 S 0.0 0.0 0:00.01 klogd
1881 rpc 18 0 1808 556 464 S 0.0 0.0 0:00.00 portmap


as shown in the % mem , the total memory used is of about 23% only

whereas it shows used memory about 3.7 gb

Can anyone explain me how this works and where my understanding goes wrong.

Last edited by prak86; 02-16-2010 at 02:32 AM.
 
Old 02-16-2010, 03:29 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,720

Rep: Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704
Looks like it is just cache. Have a look here for information about ram usage in linux.

http://www.linuxatemyram.com/

Evo2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SMTP in Qmail always in critical status pcangel Linux - Networking 0 08-25-2008 07:37 AM
Nagios2: Inaccurate harddisk warning/critical status reporting Akhran Linux - Software 0 08-13-2006 07:11 PM
4GB RAM not showing eddie0uk Linux - Hardware 5 03-12-2005 08:08 AM
showing action status on mouse in gnome maginotjr Linux - General 1 02-02-2005 05:24 PM
Linux doesnt boot after showing finding modules OK status praveenk13 Linux - Software 0 02-27-2004 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration