Author Topic: how to get process list?  (Read 9243 times)

0 Members and 1 Guest are viewing this topic.

Offline michaellunsfordTopic starter

  • Devotee
  • Posts: 1,029
  • Gender: Male
  • wondering
    • View Profile
    • Virtual ShowCase
how to get process list?
« on: September 25, 2006, 10:24:24 AM »
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?

Offline thorpe

  • Administrator
  • 'Mind Boggling!'
  • *
  • Posts: 29,256
    • View Profile
Re: how to get process list?
« Reply #1 on: September 25, 2006, 12:22:28 PM »
Code: [Select]
man top

Offline michaellunsfordTopic starter

  • Devotee
  • Posts: 1,029
  • Gender: Male
  • wondering
    • View Profile
    • Virtual ShowCase
Re: how to get process list?
« Reply #2 on: September 25, 2006, 12:40:41 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!

Offline thorpe

  • Administrator
  • 'Mind Boggling!'
  • *
  • Posts: 29,256
    • View Profile
Re: how to get process list?
« Reply #3 on: September 25, 2006, 07:31:36 PM »
Quote
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.

Offline Jenk

  • Devotee
  • Posts: 779
    • View Profile
Re: how to get process list?
« Reply #4 on: September 29, 2006, 02:21:50 PM »
ps -ef

Offline michaellunsfordTopic starter

  • Devotee
  • Posts: 1,029
  • Gender: Male
  • wondering
    • View Profile
    • Virtual ShowCase
Re: how to get process list?
« Reply #5 on: September 29, 2006, 02:42:00 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.

Offline michaellunsfordTopic starter

  • Devotee
  • Posts: 1,029
  • Gender: Male
  • wondering
    • View Profile
    • Virtual ShowCase
Re: how to get process list?
« Reply #6 on: October 04, 2006, 07:55:28 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.

Offline Jenk

  • Devotee
  • Posts: 779
    • View Profile
Re: how to get process list?
« Reply #7 on: December 04, 2006, 04:41:26 PM »
vmstat 5

Offline neylitalo

  • Staff Alumni
  • Addict
  • *
  • Posts: 2,970
  • Gender: Male
    • View Profile
    • The Netizen's Journal
Re: how to get process list?
« Reply #8 on: December 05, 2006, 12:15:55 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.