LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-04-2014, 01:55 PM   #1
UnixNewB
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Rep: Reputation: Disabled
how to find out system usage by an x process at certain time


There is some un-known kernal process running on my unix server.

it cause system use maximum memory and cpu usage. it pops up for like a nano second, can't be seen through top, can't be seen through proc, and sar...

can anyone help me how to find the process name, so can troubleshoot.

the monitoring tool that shows the server in critical stage (max memory, cpu usage) is centreon

i have tried sar , but all the sar, proc, and top shows no sign of the process.

anyone there to help its my first post, sorry for any grammer or spelling mistakes.

looking forward to hearing from you.

the server is redhat jboss...

many thanks in advance.
 
Old 03-04-2014, 02:37 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,661

Rep: Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256
Doesn't sound like a kernel process...

More like a cron job that runs a fairly large process with lots of static memory (causing a lot of memory thrashing)... and exits immediately.

Another possibility is a long running process that sleeps, but when it activates does the same thing (thrashing memory) and goes back to sleep. One bit of code I saw do things similarly was a scheduler. It would wake up once every 10 minutes to do a lot of computation for load balancing - then go back to sleep.

You might look into the audit subsystem - it can look at a lot of things that other tools take snapshots for.
 
Old 03-04-2014, 02:48 PM   #3
UnixNewB
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jpollard View Post
Doesn't sound like a kernel process...

More like a cron job that runs a fairly large process with lots of static memory (causing a lot of memory thrashing)... and exits immediately.

Another possibility is a long running process that sleeps, but when it activates does the same thing (thrashing memory) and goes back to sleep. One bit of code I saw do things similarly was a scheduler. It would wake up once every 10 minutes to do a lot of computation for load balancing - then go back to sleep.

You might look into the audit subsystem - it can look at a lot of things that other tools take snapshots for.
Thanks Jpollard, make sense i'm looking into subsystem audit, in meanwhile if anyone know any commands or combination to catch this culprit will be helpful.
 
  


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
Kill process with high CPU usage after X time? touser Linux - Newbie 4 12-27-2009 09:52 PM
how do i get the values for the user time and system time for a process. aloktiagi Linux - Newbie 3 08-04-2009 06:55 PM
Process System Time from ps? kmand Linux - Software 4 04-21-2009 09:53 AM
how to find max memory usage for process in Linux by command line kashameni Linux - Newbie 9 06-01-2007 01:39 AM
System call to get current process memory usage? mattengland Programming 4 03-15-2006 07:07 PM


All times are GMT -5. The time now is 07:52 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration