MacOSX使用opensnoop跟踪进程使用情况

Posted by 4Aiur on 09/28/2010 in MacOSX |

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 […]

Tags:

在OpenSolais上的安装与配置awstats

Posted by 4Aiur on 09/17/2010 in OpenSolaris |

在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 […]

Tags: ,

Copyright © 2010-2024 4Aiur All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.