[leglug-users] CPU overloaded?
Chady Kassouf
chady.kassouf at gmail.com
Thu Sep 13 16:48:42 EDT 2007
On 9/13/07, Jocelyn <jhabib at gmail.com> wrote:
>
> maybe making a small script that redirect the logs each 5 minuts of the ps
> aux command to some file and you will have everything logged
> pas aux > /~/process
You probably want to append to that file
otherwise you only have info about processes 5 minutes ago
ps aux >> ~/process
or using the " top " command show you process activity live
>
> wish this will help
>
> Reagrds
>
> On 9/13/07, Chady Kassouf <chady.kassouf at gmail.com> wrote:
> >
> >
> > On 9/13/07, Mohammed Shublaq <moshub at riseup.net> wrote:
> > >
> > > thanks. but i need to view the history of the processes, since during
> > > the
> > > time when the CPU is overloaded, i cannot access the server, it's
> > > completely "out of range". but 10 minutes later things go back
> > >
> > > your input is appreciated...thanks
> >
> >
> >
> > The main thing you are looking for now, is to identify the guilty
> > process.
> >
> > ps aux will show you something like this:
> >
> > chady 24127 0.2 0.4 2264 1296 ? S 14:23 0:02 blah
> > ..
> >
> > The last number before the binary name is the amount of CPU time this
> > process was using
> > So you are looking for processes that have a large number there
> >
> > Until you identify the guilty process, we can't know what is going
> > wrong.
> >
> >
> > MO
> > > --
> > >
> > >
> > > On Thu, September 13, 2007 6:11 pm, Nadim Kobeissi wrote:
> > > > I would recommend using a very effective tool called 'htop'.
> > > >
> > > > On 9/13/07, Chady Kassouf < chady.kassouf at gmail.com> wrote:
> > > >>
> > > >>
> > > >> On 9/13/07, Mohammed Shublaq <moshub at riseup.net> wrote:
> > > >> > hello all
> > > >> > i'm facing this issue with my office server [Debian etch].
> > > lately, the
> > > >> > server freezes and it stops all its services [DNS, DHCP, mail,
> > > ...],
> > > >> when
> > > >> > i review the
> > > >> > CPU load averages, it indicates the following:
> > > >> > 5.49 (1 min) 24.78 (5 mins) 22.53 (15 mins)
> > > >> >
> > > >> > how can i know what's going on, and what process is over-loading
> > > the
> > > >> CPU?
> > > >>
> > > >>
> > > >> You can start by typing: ps aux
> > > >> and check the CPU usage for processes
> > > >>
> > > >> > thanks
> > > >> > MO
> > > >> >
> > > >> > _______________________________________________
> > > >> > leglug-users mailing list
> > > >> > leglug-users at lists.leglug.org
> > > >> > http://lists.leglug.org/mailman/listinfo/leglug-users
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Chady 'Leviathan' Kassouf
> > > >> http://chady.net/
> > > >> _______________________________________________
> > > >> leglug-users mailing list
> > > >> leglug-users at lists.leglug.org
> > > >> http://lists.leglug.org/mailman/listinfo/leglug-users
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > Nadim Kobeissi ||
> > > > http://nadim.keihatsu.org | Our work is never over.
> > > > PGP: http://pgp.keihatsu.org |
> > > > _______________________________________________
> > > > leglug-users mailing list
> > > > leglug-users at lists.leglug.org
> > > > http://lists.leglug.org/mailman/listinfo/leglug-users
> > > >
> > >
> > >
> > > _______________________________________________
> > > leglug-users mailing list
> > > leglug-users at lists.leglug.org
> > > http://lists.leglug.org/mailman/listinfo/leglug-users
> > >
> >
> >
> >
> > --
> > Chady 'Leviathan' Kassouf
> > http://chady.net/
> >
> > _______________________________________________
> > leglug-users mailing list
> > leglug-users at lists.leglug.org
> > http://lists.leglug.org/mailman/listinfo/leglug-users
> >
> >
>
> _______________________________________________
> leglug-users mailing list
> leglug-users at lists.leglug.org
> http://lists.leglug.org/mailman/listinfo/leglug-users
>
>
--
Chady 'Leviathan' Kassouf
http://chady.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.leglug.org/pipermail/leglug-users/attachments/20070913/49403ac9/attachment-0001.htm
More information about the leglug-users
mailing list