上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
  2015年2月9日
摘要: http://hi.baidu.com/rankabc/item/b07e03466550e4ce1381dac4Eclipse汉化方法网上搜了很多教程,步骤都不够详细,因此写一篇傻瓜版教程让新手少走弯路。1.查看Eclipse版本打开Eclipse的安装目录,里面有一个.eclipseproduc... 阅读全文
posted @ 2015-02-09 13:35 后进后退 阅读(207) 评论(0) 推荐(0) 编辑
  2015年2月5日
摘要: WebbenchWebbench是一个在linux下使用的非常简单的网站压测工具。它使用fork()模拟多个客户端同时访问我们设定的URL,测试网站在压力下工作的性能,最多可以模拟3万个并发连接去测试网站的负载能力。Webbench使用C语言编写, 代码实在太简洁,源码加起来不到600行。整个源码分... 阅读全文
posted @ 2015-02-05 14:40 后进后退 阅读(323) 评论(0) 推荐(0) 编辑
  2015年2月4日
摘要: 1.查找当前目录中所有大于500M的文件,把这些文件名写到一个文本文件中,并统计其个数。find ./ -size +500M -type f | tee file_list | wc -l2.在目录/tmp下找到100个以abc开头的文件,然后把这些文件的第一行保存到文件new中。for file... 阅读全文
posted @ 2015-02-04 23:02 后进后退 阅读(398) 评论(0) 推荐(0) 编辑
摘要: #include #include #include int main(int argc, char *argv[]){ int opt; for(opt = 0 ; opt < argc ; opt++) printf("argv[%d] = %s\n" , opt, argv[opt]); ... 阅读全文
posted @ 2015-02-04 17:05 后进后退 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Selinux是Redhat/CentOS系统特有的安全机制。所以装完系统,我们一般都要把selinux关闭,以免引起不必要的麻烦。关闭selinux的方法为,使 “SELINUX=disabled”, 默认为 enforcing[root@localhost ~]# vim /etc/selinu... 阅读全文
posted @ 2015-02-04 15:26 后进后退 阅读(266) 评论(0) 推荐(0) 编辑
摘要: ~]# netstat -lnpActive Internet connections (only servers)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program n... 阅读全文
posted @ 2015-02-04 15:24 后进后退 阅读(413) 评论(0) 推荐(0) 编辑
摘要: ~]# ps auxUSER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMANDroot 1 0.0 0.2 2900 852 ? Ss 11:49 0:01 /sb... 阅读全文
posted @ 2015-02-04 15:20 后进后退 阅读(352) 评论(0) 推荐(0) 编辑
摘要: free查看内存使用状况[root@localhost ~]# free total used free shared buffers cachedMem: 326616 137332 189284 ... 阅读全文
posted @ 2015-02-04 15:10 后进后退 阅读(182) 评论(0) 推荐(0) 编辑
摘要: http://my.oschina.net/zhoukuo/blog/335788 阅读全文
posted @ 2015-02-04 15:02 后进后退 阅读(104) 评论(0) 推荐(0) 编辑
摘要: sar 命令很强大,它可以监控系统所有资源状态,比如平均负载、网卡流量、磁盘状态、内存使用等等。它不同于其他系统状态监控工具的地方在于,它可以打印历史信息,可以显示当天从零点开始到当前时刻的系统状态信息。系统没有安装这个命令,请使用 yum install -y sysstat 命令安装。查看CPU... 阅读全文
posted @ 2015-02-04 13:47 后进后退 阅读(507) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页