Rails中 counter_cache 的使用 Posted on January 22, 2014 假设我们现在已经有了post和comment两个model: [Read More] Tags: ruby
两个查看 Linux 端口占用情况的命令 Posted on January 21, 2014 netstat 和 lsof是两个很好的查看服务器上端口占用情况的命令,简单使用如下: [Read More] Tags: linux
linux磁盘监控 Posted on January 21, 2014 大家可能都知道Linux上的top命令,使用它可以实时显示系统的运行状况,如图: [Read More] Tags: linux