01 2014 档案

摘要:参考了《鸟哥的linux私房菜》,man1.ps概述:-report a snapshot of the current processes.-ps display information about a selection of the active processes. If you want a repetitive update of the selection and the displayed information, use top instead.2.参数:-A:Select all processes. Identical to -e.-a:Select all proces 阅读全文
posted @ 2014-01-31 23:10 Ben·lucky 阅读(236) 评论(0) 推荐(0) 编辑
摘要:*只是做点笔记,巩固自己学习,很多参考了http://www.cnblogs.com/ggjucheng/archive/2012/01/08/2316661.html。1.netstat简述:用于显示网络链接相关的信息,可以显示路由表,实际网络链接状态和网络接口设备的状态。显示IP,TCP,UDP和ICMP协议相关的统计数据。2.输出信息的两个部分:(1)有源TCP连接(Active Internet connections)Active Internet connections (only servers)Proto Recv-Q Send-Q Local Address ... 阅读全文
posted @ 2014-01-31 12:52 Ben·lucky 阅读(208) 评论(0) 推荐(0) 编辑
摘要:linux top命令1. 概述(照抄man):The top program provides a dynamic real-time view of a running system. It can display system summary information as well as a list of tasks currently being managed by linux kernel. The types of system summary information shown and types, order and size of information displaye 阅读全文
posted @ 2014-01-30 13:01 Ben·lucky 阅读(473) 评论(0) 推荐(0) 编辑
摘要:vmstat:1.命令简述:查看服务器的CPU,内存,IO使用情况。(如果是查看某个进程的CPU,和内存使用率,使用top)。2.参数:一般就两个数字,第一个是采样间隔(s),第二个是采样次数。3.例子(每个2s采样一次,共采样2次):meroc@meroc-pc: /home/meroc/m-zone/test/js/frontage➜ vmstat 2 2procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si s... 阅读全文
posted @ 2014-01-30 05:10 Ben·lucky 阅读(363) 评论(0) 推荐(0) 编辑