/usr/bin/whoamiSee whoami here
- 82,028 blinks
This is a very short post. You may find it useful or consider it as piece of crap post, it depends on how you interpret it. I post this for my personal note. So please don’t complain .. lol. Basically … Continue reading
As simple as : dstat -d –top-io –top-bio Dstat can be installed through yum. That’s all 🙂
Long query on mysql often fill up your server’s CPU and RAM with a bunch of load. It can be happened because un-optimized query, dirty table, very large row, etc. You can enable slow query log on your mysql server … Continue reading
I’m not going to write what screen is about in this article. I just want to make a personal note for myself about this linux utility. Starting screen : #screen Create a screen session : Ctrl-a-c Move to next screen … Continue reading
It’s quite easy to change time zone on centos / linux os : cp /usr/share/zoneinfo/Asia/Jakarta /etc/localtime Change Asia/Jakarta into your location. After copying, you can run : ntpdate pool.ntp.org to synchornize your server time with the closest public NTP server.
The idea of limiting user’s vhost resource usage on Apache brings me to give the suPHP a try. suPHP makes PHP process owned by the owner it self, not “nobody” or apache user, enabling us to limit resource per vhost. … Continue reading