方法一:实验思路:第一步在commands.cfg文件中定义你要使用的检测命令:vi/usr/local/nagios/etc/objects/commands.cfgdefinecommand{command_nametcp60910#命令名command_line$USER1$/check_tcp-H$HOSTADDRESS$-p60910-t60#命令内容,该处调用到check_tcp这个脚本-P后面是端..
分类:
移动开发 时间:
2014-05-09 14:21:11
阅读次数:
402
NAMEls - list directory contents
列出文件夹内容SYNOPSIS ls [OPTION]... [FILE]...DESCRIPTION List information about the
FILEs (the current dir...
分类:
系统相关 时间:
2014-05-09 10:27:55
阅读次数:
617
There are no interfaces on which a capture can be
done解决方法:Open a terminal by pressingCtrl+Alt+Tand type the following
commands:sudo dpkg-reconfigure ...
分类:
其他好文 时间:
2014-05-08 22:18:45
阅读次数:
397
m如何取消eclipse的show in breadcrumb 不小心点了show in
breadcrumb,在编辑器界面上面多一层路径条,多余碍事,不晓得怎么取消,搞了半天终于弄好,方法如下: 点击: Window -> Customize
Perspective -> Commands -> ...
分类:
系统相关 时间:
2014-05-08 10:02:59
阅读次数:
1692
登陆mysql
harvey@harvey-Virtual-Machine:~/ruby/mydiary$ mysql -u root -pEnter password:
Welcome to the MySQL monitor. Commands end with ; or \g. 查看所有的数据...
分类:
数据库 时间:
2014-05-07 20:06:47
阅读次数:
452
exec和source都属于bash内部命令(builtins
commands),在bash下输入man exec或man source可以查看所有的内部命令信息。bash
shell的命令分为两类:外部命令和内部命令。外部命令是通过系统调用或独立的程序实现的,如sed、awk等等。内部命令是由特...
分类:
系统相关 时间:
2014-04-30 00:23:34
阅读次数:
671
After having installed Ubuntu OS, you should
update config file for root account. The commands are listed as follow:vi
/etc/lightdm/lightdm.conf #open...
分类:
其他好文 时间:
2014-04-29 19:21:56
阅读次数:
555
一个最基本的C程序由五个部分组成: 头文件 (Preprocessor commands)
函数 (function) 变量 (variable) 语句块 (statement 和 expression) 注释 (comments)例如:
#include int mai...
分类:
编程语言 时间:
2014-04-29 19:17:50
阅读次数:
457