使用java采用SNMP协议来获取设备上的MIB信息,测试例子采用的是本机作为测试,并且系统是win7而且启用了SNMP协议。
在win7上开启SNMP协议的教程如链接所示:
http://blog.chinaunix.net/uid-24058189-id-2105677.html
在java中来操作snmp协议的jar包下载地址:
http://www.snmp4j...
分类:
其他好文 时间:
2014-11-20 17:10:38
阅读次数:
269
转自http://blog.chinaunix.net/uid-26748064-id-3125522.html一、老调重谈,什么是Linux ? Linux 是一个计算机操作系统,计算机操作系统有好多,比如 Windows Macos Unix Bsd 等。所以Linux在地位上和Windows....
分类:
系统相关 时间:
2014-11-20 10:12:31
阅读次数:
201
摘自一位网友的"http://blog.chinaunix.net/uid-21977330-id-3218353.html"这个电阻有两个作用,第一是阻抗匹配。因为信号源的阻抗很低,跟信号线之间阻抗不匹配,串上一个电阻后,可改善匹配情况,以减少反射,避免振荡等。第二是可以减少信号边沿的陡峭程度,从...
分类:
其他好文 时间:
2014-11-19 23:41:04
阅读次数:
290
建立存储过程:set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoALTER proc [dbo].[likefilm]@uid int,@fid int,@error int,@result int outputasbegin transactionupdate ...
分类:
其他好文 时间:
2014-11-19 20:20:29
阅读次数:
213
query("SELECT xp_wztj.time,xp_wztj.bt,xp_wztj.id,xp_wzfl.name FROM xp_wztj, xp_wzfl WHERE xp_wztj.uid = xp_wzfl.id "); $this->assign('div',...
分类:
数据库 时间:
2014-11-19 07:20:04
阅读次数:
231
原文链接 http://blog.chinaunix.net/uid-26642180-id-3377717.html1.修改# vi /etc/my.cnf在[mysqld]的段中加上一句:skip-grant-tables例如:[mysqld]datadir=/var/lib/mysqlsock...
分类:
数据库 时间:
2014-11-19 00:19:33
阅读次数:
205
原文链接 http://blog.chinaunix.net/uid-26642180-id-3167544.html1.首先安装nfsrpm -ivh nfs-utils-1.0.9-16.rpmrpm -qa|grep portmap 查看是否安装了portmap端口映射器portmap默认监听...
分类:
系统相关 时间:
2014-11-19 00:11:46
阅读次数:
190
chmod g+s 、chmod o+t 、chmod u+s原文链接 http://blog.chinaunix.net/uid-26642180-id-3378119.htmlSet uid, gid,sticky bit的三个权限的详细说明一个文件都有一个所有者, 表示该文件是谁创建的. 同时...
分类:
其他好文 时间:
2014-11-18 23:41:23
阅读次数:
224
1.安装lamphttp://blog.chinaunix.net/uid-18962755-id-4173283.html
分类:
Web程序 时间:
2014-11-18 10:25:29
阅读次数:
205
第一种方法:数据库中包含有自动增长字段ID,则ID作为where条件5,'username'=>'王美人','email'=>'meiren@163.com');//$data中包含有自动增长字段uid $res = $user->save($data);//调用Model下的save()函数进行....
分类:
数据库 时间:
2014-11-17 20:57:14
阅读次数:
360