本帖最后由 yizhengming 于 2012-07-23 00:51 编辑 小弟想深入学习perl. 市面上的黑豹第一版绝版里. 求清晰的电子版. 求发我邮箱:396125238@qq.com 谢谢
linux 负载报警脚本,系统负载超过一定数值,就重启php-cgi,并发送报警短信。[code]#!/bin/sh #description:system load average #author:coralzd powered by www.freebsdsystem.org host=$(hostname) channel=$(hostname | sed ‘s/[0-9]//g’) runday=$(date "+%Y-%m-%d")#日期格式 IPhost=$(/sbin/ifconfig | grep ‘inet addr:’| grep -v ’127.0.0.1′ | cut -d: -f2 | awk ‘{ print $1}’) i=10 #负载为10 while [ 1 ...
文件防篡改脚本,已有文件被修改,立即发送报警短信。[code]#!/bin/bash #description: check files shell #author:coralzd powered by www.freebsdsystem.org checkdir=/data/www/bbs.xxx.com ipadd=`ifconfig |grep “inet” |cut -c 0-36|sed -e ‘s/[a-zA-Z: ]//g’ |grep -v “127.0.0.1″` while [ 1 ] do DATE=`date +%Y-%m-%d.%H:%M:%S` find ${checkdir} \( -path ${checkdir}/forumdata/threadcaches -o -path ${che...
文件: linux.chm 大小: 984KB 下载: 下载 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/86424/showart_1880945.html
租房注意事项(第一版) 我们在外工作或学习,经常需要租房,为了减少日后精神和物质上的损失,有些事情是需要注意的。 1,你一定要牢牢记住,房东不是你的朋友,而是你的敌人。不要因为他/她对你笑的很和善就放松警惕,他/她现在对你友好只是因为你能给他/她带来利益罢了。想知道房东真正对你的态度,等你退房搬走那天就知道了。 2,不要租朋友或者熟人的房子。租朋友熟人的房子,开始可能会觉得方便、放心,但是时间长了,...
/************************ * client ************************/ #include stdio.h> #include errno.h> #include sys/socket.h> #include netinet/in.h> #include arpa/inet.h> #include string.h> #define SERV_ADDR "127.0.0.1" #define SERV_PORT 5358 #define BUF_LEN 1024 void str_cli(FILE *fp, int sockfd) { char sendbuf[BUF_LEN] = {0}; char recvbuf[BUF_LEN] = {0}; while(1) { bzero(sendbuf...
我想看看chapter15 关于remote login一章的内容 ,可是第三版已经将这章内容删除了 还有这章的源代码 如果谁有的话,麻烦给一份,谢谢
在9.2.1节中有如下一句话,下面分别是英文原文和译文(译文在原书85页第七行)。没明白,分组网络怎么会固定路由? A connection-oriented protocol such as TCP holds on to a route while the connection is established. 面向连接的协议如TCP在建立连接时要固定路由。