Tag Archives: monitor

Find most CPU-hungry threads under Linux

It's pretty easy to find CPU usage per process (top, ps), but If you want to find top CPU users per thread there's a method: $ awk '{printf "TID: %6u  %8u %8u %8u \t %s \n", $1, $14, $15, $14+$15, … Continue reading

Posted in en | Tagged , , | Leave a comment

Server flood automatic detection

My current customer develops embedded devices used by many end users. In order to save server load devices use multicasts for downloading data: every device registers itself on multicast channel using IGMP and listens to UDP packets. No connections to … Continue reading

Posted in en | Tagged , | Leave a comment

Google.com performance analysis over few years

Time is money. No doubt about that. The more time your customer waits for your service response the less coins may hit your pocket. You may ask: why? If your page loading is too slow your "almost" customer hits back … Continue reading

Posted in en | Tagged , , , | Leave a comment

Automatic free disk space monitoring on Linux server

The simplest way to monitor free disk space on Linux serwer, just place it in crontab: 0 8 * * *     df -h | awk '/^\// && $5 > 95 { print "missing space", $0 }' and ensure e-mail … Continue reading

Posted in en | Tagged , , | Leave a comment

MySpace vs Facebook vs Twitter uptime comparision

Most of us are using Web2.0 sites but massive user base that logins every second is a big challenge to system performance. Let's see how engineers working for MySpace, Facebook and Twitter are doing their job. Note: all uptime buttons … Continue reading

Posted in en | Tagged , | 2 Comments