linux top us,sy,ni,id,wa,hi,si,st
SUMMARY Area FieldsThe summary area fields describing CPU statistics are abbreviated.They provide information about times spent in:us = user modesy = ...
SUMMARY Area FieldsThe summary area fields describing CPU statistics are abbreviated.They provide information about times spent in:us = user modesy = ...
防外链大都是通过检查请求中的http referer来实现的。如果通过反向代理来动态指定http referer是不是可以解决问题。用nginx搭一个反向代理location /get/{set $hostx “”;set $addrs “”;if (...
VPN用户管理:直接编辑/etc/ppp/chap-secrets文件,按照相同格式添加用户名和密码即可另附手动安装方案:VPN 也叫虚拟专用网,常见的 VPN 类型有:点对点隧道协议(PPTP)、使用 IPsec 的第2层隧道协议(L2TP/IPsec)、安全套接字隧道协议(SSL VPN)。其中...
cd ~wget http://web.lib.sun.ac.za/ubuntu/files/help/theme/gnome/win7-setup.shsudo chmod +x win7-setup.sh./win7-setup.sh操作之前请先备份,由于不种的环境可能有一些不可预料的错误。&n...
使用死循环消耗CPU资源,如果服务器是有多颗CPU,可以选择消耗多少颗CPU的资源:#! /bin/sh# filename killcpu.shfor i in `seq $1`doecho -ne "i=0;while truedoi=i+1;done" | /bin/sh &pid_a...
# !/bin/sh# OPENVPN SERVER CONFIGURATIONecho "####################################"echo "OPENVPN SERVER CONFIGURATION"echo "####################...
#!/bin/bashzuptime=`top -b -n 1 | grep "^top" | awk -F',' '{print $4}'|awk -F':' '{print $2*100}'`if [ "$zuptime" -ge '500' ]; then#添加命令在此fi
使用suphp来执行php1、yum安装环境apache php 都是用Yum安装# yum install httpd php php-cli保证php有php-cgi,因为suphp需要php的执行模式为cgi/fastcgi[vnp.unscnb.com:/root]#php -vPHP 5....
开启sftp功能方法在/usr/local/directadmin/custombuild/files.list添加文件列表/usr/lib64/libnss3.so/usr/lib64/libnss_db.so/usr/lib64/libnss_files.so/usr/lib64/libnss_...
模块开发者主页:http://code.google.com/p/substitutions4nginx/执行svn checkout http://substitutions4nginx.googlecode.com/svn/trunk/ substitutions4nginx-read-only...