Slow OSX - how to determine the bottleneck

1

1

I am using OSX 10.7.5 and my OSX is becoming a bit unresponsive, comparing to what it was like before. Sometimes just opening new window of browser or terminal takes few seconds or the Dock hovering effect is not fluent. At these moments I watch system resources and I still have 3G of memory free and the processor is not used at all. Can it be caused by hard drive or other IO? How can I found out which application is causing this?

Vojtěch

Posted 2013-04-28T11:08:05.263

Reputation: 131

Question was closed 2013-04-29T04:16:31.893

Do you have some virus scanner enabled. – Ruskes – 2013-04-28T11:19:12.840

How is your widowserver doing ? – Ruskes – 2013-04-28T11:27:06.283

No, I don't have any virus scanner. Windowserver seems to be having no troubles. But I would prefer to see some real statistics of what is blocking the system. – Vojtěch – 2013-04-28T12:08:38.967

You are not telling us the full story. Giving comments to answers like "I tried this" is not helpful. So please elaborate in your OP what have you tried and if you are only looking for a very specific solution. – Ruskes – 2013-04-28T13:53:49.243

Answers

1

Use top to monitor system resources. As you mention issues with opening the browser possibly there is malware active or some other agent which is causing unwarranted network activity. To monitor this use-:

ifconfig -a  # for the network interface name to monitor

then

tcpdump -i <interface>

An alternative for network monitoring is nettop - a command line tool which I believe is available from Lion version. It's available from Apple store.

suspectus

Posted 2013-04-28T11:08:05.263

Reputation: 3 957

Of course I have tried top, but it seems that hardly any system resources are used. Will try the tcpdump. – Vojtěch – 2013-04-28T12:37:36.143

0

Check the logs for clues. Even a high volume of relatively harmless error messages (itself an error!), could swamp your response time.

Edit: /var/log/system.log and /var/log/kernel.log would be most likely. Or open the Console app in Utilities and show all messages.

JRobert

Posted 2013-04-28T11:08:05.263

Reputation: 6 128

Which logs? There are many of them on OSX. – Vojtěch – 2013-04-28T12:38:07.643

(See my edit..) – JRobert – 2013-04-28T14:44:20.413