Archive for December, 2008
Tuesday, December 23rd, 2008
I hate looking for this....
This will give you a rough idea of your innodb memory usage. I know it's in a hundred spots, but i hate looking for it when i double check things.
innodb_buffer_pool_size
+ key_buffer_size
+ max_connections*(sort_buffer_size+read_buffer_size+binlog_cache_size +2MB)
Posted in mysql | 5 Comments »
Tuesday, December 23rd, 2008
lsof works under linux and MacOS X and will help you figure out what files are open.
lsof | grep 'mysqld'
Posted in linux | 2 Comments »
Sunday, December 21st, 2008
I found this pretty amusing...
me:
i'm terrible w/ cocoa
i don't particularly like objective-c
it's to verbose
matt:
[me putonSock:blueOne onFoot:rightFoot ignoringHangNail:YES]
Posted in cocoa, mac | No Comments »
Tuesday, December 16th, 2008
Here's a quickie - make sure every PHP file in your project parses correctly.
find . -name '*.php' -exec php -l {} \; | grep "Errors parsing"
Posted in php | 1 Comment »