Category Archives: monitoring

First experience with RAID0

In my new desktop PC I have Intel Rapid Storage technology so gave it a try. Bought a second Kingston V300 SSD to put it in RAID0. I was curious about the performance with and without RAID0 of the SSDs. So … Continue reading

Posted in linux, monitoring, productivity | Tagged , , , | Leave a comment

Browser memory usage

I was curious why did Chromium “eat” my system memory and so I checked chrome://chrome-urls/ to see what’s there for memory usage debugging. Saw chrome://memory-internals/ and checked it out. There’s the proof for browser tab and extension usage. Tried closing and reopening some tabs, … Continue reading

Posted in analytics, browser, firefox, monitoring, trick | Tagged , , , | Leave a comment

Enable MySQL file logging

Wanted to know what queries are executed so I had to enable it for MariaDB. SET GLOBAL general_log = ‘ON’; SET GLOBAL general_log_file = ‘/var/log/mysql.log’; SET GLOBAL slow_query_log = ‘On’; SET GLOBAL slow_query_log_file = ‘/var/log/mysql-slow.log’; To see the changes: SHOW … Continue reading

Posted in linux, log, monitoring | Tagged , | 1 Comment

logrotate error: stat of /var/log/xferlog failed

In Arch Linux the logrotate service was failing: user@host# systemctl start logrotate.service Job for logrotate.service failed. See “systemctl status logrotate.service” and “journalctl -xe” for details. So I ran it by hand to debug: user@host# logrotate /etc/logrotate.conf And the following error … Continue reading

Posted in cli, linux, log, monitoring | Tagged , , , | Leave a comment

Xdebug alternative solution for WordPress profiling

I was trying what extensions are for Debug Bar and the Debug Bar Slow Actions thanks to Konstantin Kovshenin. The plugin is really a nice alternative for Xdebug/Webgrind, no need to enable xdebug and restart webserver.

Posted in monitoring, php, wordpress | Tagged , , | Leave a comment

Switched from Console.app to multitail

With Console.app I had the problem that when I switched to output /var/log/apache2/error_log I didn’t see /var/log/system.log and yesterday I read http://kkovacs.eu/cool-but-obscure-unix-tools and found multitail so I played with it. I’m currently running the following setup on OSX Mountain Lion … Continue reading

Posted in cli, linux, log, monitoring, net, osx | Leave a comment

Network and bandwidth monitoring with darkstat

I was searching for a networking monitor solution and found http://hints.macworld.com/article.php?story=20020521011343792 Darkstat’s source code is available at http://unix4lyfe.org/darkstat/After starting it runs as a daemon in the background. mike@mikembp:~$ sudo darkstat -i en0 It binds itself to the TCP port 667 … Continue reading

Posted in monitoring, net | 1 Comment