Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I faced a issue yesterday where i found that the System Memory utilization went upto 99%. I was looking at the SAR reports to find these stats where it showed continuos Memory use between 95-99% for some 2-3 hours. I am actually trying to find out the exact root cause of the issue that casued the memory usage to spike.
I looked at /var/log/message to find if anything unusual happened and logged into it during those timings but couldn't find anything
So can you guys please suggest some more ways to troubleshoot, what others things i can look at investigate to really dig deep to catch the roots of the issue.
See if any heavy process(s) is/are running. Also what does other log files say like message.1, message.2 etc.?
Also mention your system disto, it's version as well what applications it's running on.
I am on RHEL 5.6, well top won't work as i am looking for yesterday's information only, messages.1, message.2 are involved as current messages file is having all log entries for for last 6 days.
Alright. If you've SAR scripts enabled, then you can find high memory usage details and then check logs for corresponding date or time. So did you find anything unusual in logs for that time period?
Code:
~$ cd /var/log/sa
~$ sar -f sa#
And as I said above, what application(s) is/are running on this system?
Last edited by shivaa; 02-21-2013 at 12:23 AM.
Reason: Code added
Alright. If you've SAR scripts enabled, then you can find high memory usage details and then check logs for corresponding date or time. So did you find anything unusual in logs for that time period?
Code:
~$ cd /var/log/sa
~$ sar -f sa#
And as I said above, what application(s) is/are running on this system?
Yeah thats what i explained earlier. I did that checked with the SAR and it showed there was high RAM for some 2-3 hours but then i checked logs and it showed nothing unsual. There are some Java applicatiosn running, then TSM, HP Open View etc.
Last edited by Rohit_4739; 02-21-2013 at 01:22 AM.
The problem is SAR is too coarse to be able to say "display the top 10 resource-hogging processes by name since 03:45 yesterday". Atop can do that but obviously that won't help you until you install and run it...
Well, yes and not quite. For Collectl to do what Atop does by default you should point to http://collectl.sourceforge.net/Process.html specifically. Given that you mentioned Collectl Mark probably will be here soon to explain ;-p
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.