1829404 Members
1228 Online
109991 Solutions
New Discussion

Re: Check the process

 
SOLVED
Go to solution
peterchu
Super Advisor

Check the process

If my RH server run very slow sudenly since a few days ago, but no any modification has made to the system in these days , the command "top" also can't check any strange process in the system , can suggest what can I check to find what is the reason to make the server run very slowly ? thx
9 REPLIES 9
Peter Godron
Honored Contributor
Solution

Re: Check the process

Hi,
disk problems? Are you sharing disks with another server (DNS problems)?
Anything in the system logs?
As a last attempt - have you tried a reboot?
Regards
NiCK_76
Respected Contributor

Re: Check the process

Hi peterchu,

Did other command can running? Such vmstat,ps and ls. If other command can running ,but very slow. Maybe your system is very busy. You should find out which resource is not enough. You should check log ,cpu,memory,and i/o. If other command can not running. Maybe your harddisk have problem. Which server are you using? HP proliant?

NiCK
just for fun
peterchu
Super Advisor

Re: Check the process

thx replies , I hv just re-start it but seems no improvement , I want to ask about your suggestion to check the cpu , menory , i/o , can advise how to check it ? how can I know whether the hardware has problem ? thx
kcpant
Trusted Contributor

Re: Check the process

Hi ,

if you have X installed on this server, open system monitor from gnome menu, and check CPU & memory utilisation fropm there.
PreSales Specialist
Wim Van den Wyngaert
Honored Contributor

Re: Check the process

Could it be that the network settings on the switch (or whatever) were changed behind your back (full/half duplex)? In that case local operations (e.g. script doing a tally) should still give good performance.

Check with netstat -s if there are any counters indicating problems.

Wim
Wim
Huc_1
Honored Contributor

Re: Check the process

If you have sysstat install on your system you can use sar to check out system activity, the version I have on this Fedora 3 is sysstat-5.0-5.1.

I know use ask for details but the man page say's it better then I could.

the data is collected daily by sar in /var/log/sa

You can also us sar to gat a view of what happening "now"
ex:
#sar -a | more

I use this daily with top and lsof to track down most thinks.. there are also tools out there to format the data from sar into nice report for "management, boss, web site's"

Hope this is of some interest to you.

Jean-Pierre
Smile I will feel the difference
Huc_1
Honored Contributor

Re: Check the process

Make that
# sar -A | more
and forgive my bad spelling
should use preview and read again before sending out what I type to fast.

Jean-Pierre
Smile I will feel the difference
Rick Beldin
HPE Pro

Re: Check the process

If you are run pre-U4 kernels on RHEL3, you may encounter a problem where kswapd starts to consume CPU as the system gets under memory pressure. If you have this problem, you will see kswapd consuming close 100% of cpu when running top.

The fix is to install the Update 4 (U4) kernel.
2.4.21-27.0.2 from Red Hat network.
Necessary questions: Why? What? How? When?
Jan Sladky
Trusted Contributor

Re: Check the process

Hi,

also check swap cat /proc/swaps or free

if you can estimate the time, go through logs

in /var/log/messages allmessages warn

also check processes ps -ajx if some zombie is in your system

rgds Jan
GSM, Intelligent Networks, UNIX