MacOSX使用opensnoop跟踪进程使用情况
MacOSX使用opensnoop跟踪进程使用情况 opensnoop参数如下: $ opensnoop -hUSAGE: opensnoop [-a|-A|-ceghsvxZ] [-f pathname] [-n name] [-p PID] opensnoop # default output -a # print most data -A # dump all data, space delimited -c # print cwd of process -e # print errno value -g # print command arguments -s # print start time, us -v # print start […]
在OpenSolais上的安装与配置awstats
在OpenSolais上的安装与配置awstats 安装awstats # pkgin in awstats 安装GeoIP # pkgin in GeoIP 安装perl的GeoIP模块 # Geo::IP::PurePerl # wget http://geolite.maxmind.com/download/geoip/api/pureperl/Geo-IP-PurePerl-1.25.tar.gz # gtar zxf Geo-IP-PurePerl-1.25.tar.gz # cd Geo-IP-PurePerl-1.25 # perl Makefile.PL # make # make test # make install 下载GeoCity库 # wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz # gzip -d GeoLiteCity.dat.gz # mv GeoLiteCity.dat /opt/local/share/GeoIP/ 配置apache的虚拟主机 # cd /opt/local/etc/httpd/virtualhosts/ # vi blog.4aiur.net.conf ServerName […]