Jump to content


Photo

how to get process list?


  • Please log in to reply
8 replies to this topic

#1 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 25 September 2006 - 02:24 PM

Running redhat on my server. Works great, but I have to reboot once a week because the load average (reported from uptime) exceeds 100, and the whole system grinds to a hault.

Is there a command to give the complete process list and how much resources each process is using?

#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 25 September 2006 - 04:22 PM

man top


#3 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 25 September 2006 - 04:40 PM

top might be a little too intense in the middle of system problems -- but the man did suggest ps. Ps can provide a snapshot without the constant refreshing -- which should show me what I need to see.

thanks for the help!

#4 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 25 September 2006 - 11:31 PM

top might be a little too intense in the middle of system problems


If top is too intense you really do have systerm problems. But yeah, ps aux will give you a quick overall view.

#5 Jenk

Jenk
  • Members
  • PipPipPip
  • Advanced Member
  • 778 posts

Posted 29 September 2006 - 06:21 PM

ps -ef

#6 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 29 September 2006 - 06:42 PM

kind of waiting on the server to get busy again. Lately it's been at 0.00 or 0.2 -- it can take 10 days.

#7 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 04 October 2006 - 11:55 PM

nine days and counting...

The system jumped to 25.93 for a few minutes and I think I finally figured out what's doing it. One site I host is doing a bunch of GDLib thumbnails on the fly. That might do it -- but ps isn't very helpful in determining if my hunch is right.

#8 Jenk

Jenk
  • Members
  • PipPipPip
  • Advanced Member
  • 778 posts

Posted 04 December 2006 - 09:41 PM

vmstat 5

#9 neylitalo

neylitalo
  • Staff Alumni
  • Advanced Member
  • 1,854 posts
  • LocationMichigan, USA

Posted 05 December 2006 - 05:15 AM

Not sure as to the reason for bumping a 2 month old thread, but we'll go with it.

I've never used vmstat, but something tells me it's a product related to vmware. If the system load is exceeding 100, something tells me that you really, really don't want to use anything with VMs.
http://nealylitalo.net - My personal website, and home of The Netizen's Journal.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users