3月 302015
 

安装RPM软件源

http://repoforge.org/use/

查看服务监听端口

[root@localhost ~]# netstat -ltnp |grep 667
tcp 0 0 0.0.0.0:667 0.0.0.0:* LISTEN 28906/darkstat
tcp 0 0 :::667 :::* LISTEN 28906/darkstat

查看软件包路径

[root@localhost ~]# rpm -lq darkstat
/usr/sbin/darkstat
/usr/share/doc/darkstat-3.0.717
/usr/share/doc/darkstat-3.0.717/AUTHORS
/usr/share/doc/darkstat-3.0.717/COPYING.GPL
/usr/share/doc/darkstat-3.0.717/INSTALL
/usr/share/doc/darkstat-3.0.717/LICENSE
/usr/share/doc/darkstat-3.0.717/NEWS
/usr/share/doc/darkstat-3.0.717/README
/usr/share/doc/darkstat-3.0.717/export-format.txt
/usr/share/man/man8/darkstat.8.gz

查看运行进程

[root@localhost ~]# ps aux |grep darkstat
root 18827 0.0 0.0 103244 868 pts/0 S+ 01:26 0:00 grep darkstat
nobody 28906 0.0 0.2 18404 4572 ? Ss Mar25 4:45 darkstat -i eth0
nobody 28907 0.0 0.0 19168 928 ? Ss Mar25 0:00 darkstat -i eth0
[root@localhost ~]#

查看包信息

[root@localhost ~]# yum info darkstat
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.ustc.edu.cn
 * epel: mirror01.idc.hinet.net
 * extras: centos.ustc.edu.cn
 * rpmforge: ftp.riken.jp
 * updates: centos.ustc.edu.cn
Installed Packages
Name : darkstat
Arch : x86_64
Version : 3.0.717
Release : 1.el6.rf
Size : 343 k
Repo : installed
From repo : rpmforge
Summary : Network traffic analyzer
URL : http://dmr.ath.cx/net/darkstat/
License : GPL
Description : darkstat is a network traffic analyzer. It's basically a packet
 : sniffer which runs as a background process on a cable/DSL router
 : and gathers all sorts of useless but interesting statistics.

[root@localhost ~]#

darkstat-traffice-monitor-01

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据