1. 全选、反选
$('input[name="items"]').each(function () {
if(this.checked){
$(this).prop("checked", false);
}else{
$(this).prop("checked", true);
}
});
同时获取选中的 id
$("#getValue").click(……继续阅读 »
admin
4年前 (2018-10-17) 0评论
查看磁盘使用情况
df -h
查看目录大小
du -sh *
查看某个进程
ps aux | grep php-fpm
监控某个日志文件
tail -f error.log
监控服务器
top
统计 access.log 文件访问次数最多的 ip 地址,并取前 10 条记录
cat access.log | awk '{print $1}' | sort |……继续阅读 »
admin
4年前 (2018-10-15) 0评论