Chinaunix首页 | 论坛 | 博客
  • 博客访问: 60141
  • 博文数量: 38
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 396
  • 用 户 组: 普通用户
  • 注册时间: 2015-07-12 14:46
文章分类

全部博文(38)

文章存档

2016年(11)

2015年(27)

我的朋友
最近访客

发布时间:2015-08-27 23:40:21

[local]<br />name=Red Hat Enterprise Linux $releasever - $basearch - Source<br />baseurl=file:///mnt<br />enabled=1<br />gpgcheck=1<br />gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release<br />......【阅读全文】

阅读(419) | 评论(0) | 转发(0)

发布时间:2015-08-26 23:34:17

 大于4T的磁盘分区时无法使用fdisk分区:
Parted 磁盘分区工具 安装 [root@xuegod163~]# rpm -qf `which parted` parted-2.1-21.el6.x86_64 .........【阅读全文】

阅读(784) | 评论(0) | 转发(0)

发布时间:2015-08-25 23:19:19

1.获得访问前10位的ip地址<br /><br />cat access.log|awk ‘{print $1}’|sort|uniq -c|sort -nr|head -10<br />cat access.log|awk ‘{counts[$(11)]+=1}; END {for(url in counts) print counts[url], url}’<br /><br /><br />2.访问次数最多的文件或页面,取前20<br /><br /><br />cat access.log|awk ‘{prin.........【阅读全文】

阅读(438) | 评论(0) | 转发(0)

发布时间:2015-08-24 23:34:03

一些重要参数:

innodb_buffer_pool_size      #用来高速缓冲数据和索引内存缓冲大小,缓存innodb表的索引

innodb_additional_mem_pool       #用来存放Innodb的内部目录数

innodb_log_file_size  =1024M     #日志值的大小
......【阅读全文】

阅读(398) | 评论(0) | 转发(0)

发布时间:2015-08-23 23:51:01

监控端口:<br />[root@super63 ~]# lsof -i :80<br />COMMAND &nbsp; &nbsp; PID &nbsp; USER &nbsp; FD &nbsp; TYPE DEVICE SIZE/OFF NODE NAME<br />httpd &nbsp; &nbsp; &nbsp;9308 &nbsp; root &nbsp; &nbsp;4u &nbsp;IPv6 &nbsp;46922 &nbsp; &nbsp; &nbsp;0t0 &nbsp;TCP *:http (LISTEN)<br />httpd &nbsp; &nbs.........【阅读全文】

阅读(336) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册