Monitor live MySQL queries

Log to your mysql with mysql -u username -pPassword and execute: mysql> SHOW VARIABLES LIKE “general_log%”; +——————+—————————-+ | Variable_name | Value | +——————+—————————-+ | general_log | OFF | | general_log_file | /var/run/mysqld/mysqld.log | +——————+—————————-+ mysql> SET GLOBAL general_log = ‘ON’; Then in another terminal execute tail -f -n300 /var/run/mysqld/mysqld.log Then don’t forget to disable general_log […]

Categories: Web
Read more

Clearing Linux disk cache

For experimentation, it’s very convenient to be able to drop the disk cache. For this, we can use the special file /proc/sys/vm/drop_caches. By writing 3 to it, we can clear most of the disk cache: $ free -m total used free shared buffers cached Mem: 1504 1471 33 0 36 801 -/+ buffers/cache: 633 871 […]

Read more

Socket::SetIpTos in NS-3 ver.3.26

One of the changes between ns-3 ver 3.25 and ver 3.26 is that now it is possible to set TOS value to the address. Yes, you read it right, TOS value to the address. Official Doxygen states following: The native sockets API for ns-3 provides two public methods (of the Socket base class): void […]

Categories: ns3
Read more

20. Jazz Fest Sarajevo 2016

PROGRAM 2. novembar BOSANSKI KULTURNI CENTAR – double bill / dva koncerta, jedna ulaznica 20.00 Bugge Wesseltoft’s New Conception Of Jazz Marthe Lea, saksofon Oddrun Lilja Jonsdottir, gitara Sanskriti Shrestha, tabla Siv Øyun Kjenstad, bubnjevi Bugge Wesseltoft, klavijature 22.00 Rob Mazurek Sao Paulo Underground Rob Mazurek, kornet, elektronika Guilherme Granado, klavijature, vokal Mauricio Takara, udaraljke, […]

Read more