Wednesday, December 22, 2010

Flush DNS cache under Mac OS X

I had a problem today which requires to flush local DNS cache under Mac OS X.
Maybe will be useful for somebody. Command should be executed from terminal:

dscacheutil -flushcache

Under older versions of Mac OS X command could look like:

lookupd -flushcache

Thursday, January 14, 2010

systat -ifstat n

Somebody has started 'systat -ifstat n' command on server and it has been run in background for few weeks. Here is funny graph and you can notice moment when I killed systat and load went down: