分页: 1/2 第一页 1 2 下页 最后页 [ 显示模式: 摘要 | 列表 ]

curl 实用操作 不指定

root , 2009/08/28 00:02 , Linux , 评论(0) , 阅读(24039) , Via 本站原创
1、开启gzip请求
curl -I http://www.sina.com.cn/ -H Accept-Encoding:gzip,defalte

2、监控网页的响应时间
curl -o /dev/null -s -w "time_connect: %{time_connect}\ntime_starttransfer: %{time_starttransfer}\ntime_total: %{time_total}\n" "http://www.kklinux.com"

3. 监控站点可用性
curl -o /dev/null -s -w %{http_code} "http://www.kklinux.com"

4、以http1.0协议请求(默认为http1.1)
curl -0 ..............
Tags:

CentOS 64X启动Pureftpd服务故障处理 不指定

root , 2009/08/21 00:00 , Linux , 评论(0) , 阅读(23599) , Via 本站原创
引用

1、error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
yum -y install zlib

引用

2、error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory
yum -y install libcap

引用

3、error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory
yum -y install pam
Tags:
分页: 1/2 第一页 1 2 下页 最后页 [ 显示模式: 摘要 | 列表 ]