https://www.kernel.org/doc/Documentation/filesystems/proc.txt

/proc/stat
cpu  493610 1050 955506 6140203935 227807 123 11036 0 0 0
cpu0 268666 64 334886 766935020 173591 1 398 0 0 0
cpu1 24279 70 87536 767591499 2804 0 329 0 0 0
cpu2 33643 371 94465 767576953 30516 19 1826 0 0 0
cpu3 35103 290 96698 767576504 2218 14 1323 0 0 0
cpu4 33836 45 97270 767592684 7115 29 2499 0 0 0
cpu5 37121 71 79464 767637237 3542 15 1788 0 0 0
cpu6 34686 62 80201 767680609 4734 35 1927 0 0 0
cpu7 26274 73 84983 767613424 3283 7 943 0 0 0
intr .......
ctxt 704806375
btime 1445592652
processes 67671
procs_running 1
procs_blocked 0
softirq 495681725 11 161892896 3202428 164102325 1327096 0 8948996 145284138 416950 10506885

cpu

  • user: normal processes executing in user mode
  • nice: niced processes executing in user mode
  • system: processes executing in kernel mode
  • idle: twiddling thumbs
  • iowait: waiting for I/O to complete
  • irq: servicing interrupts
  • softirq: servicing softirqs
  • steal: involuntary wait
  • guest: running a normal guest
  • guest_nice: running a niced guest
/proc/net/tcp
sl  local_address rem_address   st tx_queue rx_queue tr tm->when retrnsmt   uid  timeout inode
0: 00000000:006F 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 13811 1 ffff880226d36d40 299 0 0 2 -1
1: 00000000:0050 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 1729006482 1 ffff880111027640 299 0 0 2 -1
2: 00000000:0035 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 14961 1 ffff8802282de0c0 299 0 0 2 -1
3: 00000000:0016 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 111764978 1 ffff880237e1f1c0 299 0 0 2 -1
4: 0100007F:0019 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 15277 1 ffff8804296d3500 299 0 0 2 -1
5: 00000000:1622 00000000:0000 0A 00000000:00000000 00:00000000 00000000 497 0 2936653873 1 ffff880261576e00 299 0 0 2 -1
6: E20A140A:63CD A2751DDA:0050 01 00000000:00000000 00:00000000 00000000 0 0 2864810710 1 ffff880001856980 371 4 8 10 7
7: E20A140A:6687 A2751DDA:0050 01 000000BC:00000000 01:00000083 00000000 0 0 2864841200 2 ffff880261435900 131 0 0 10 7
8: E20A140A:F722 A2751DDA:0050 08 00000000:00000001 00:00000000 00000000 0 0 2839562255 1 ffff8804296d2180 23 3 0 10 7
0: 00000000:006F 00000000:0000 0A
* number of entry
* local IPv4 address
* local TCP port number
* remote IPv4 address
* remote TCP port number
* connection state 00000000:00000000 00:00000000 00000000
* transmit-queue
* receive-queue
* timer_active (see below)
* number of jiffies until timer expires
* number of unrecovered RTO timeouts 0 0 13811 1 ffff880226d36d40 299 0 0 2 -1
* uid
* unanswered 0-window probes
* inode
* socket reference count
* location of socket in memory
* retransmit timeout
* (delayed ACK control data)
* Predicted tick of soft clock
* (ack.quick<<1)|ack.pingpong
* sending congestion window
* is >= 0xFFFF
* or -1 if the treshold
* slow start size threshold
/proc/net/udp
  sl  local_address rem_address   st tx_queue rx_queue tr tm->when retrnsmt   uid  timeout inode ref pointer drops
9: 00000000:1F94 00000000:0000 07 00000000:00000000 00:00000000 00000000 99 0 1569496407 2 ffff8802264aeb00 0
40: 00000000:0333 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 13810 2 ffff8802264af800 0
42: 00000000:0035 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 14960 2 ffff88022830dbc0 0
100: 00000000:006F 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 13806 2 ffff8802264afb40 0
00  "ERROR_STATUS",
01 "ESTABLISHED",
02 "SYN_SENT",
03 "SYN_RECV",
04 "FIN_WAIT1",
05 "FIN_WAIT2",
06 "TIME_WAIT",
07 "CLOSE",
08 "CLOSE_WAIT",
09 "LAST_ACK",
0A "LISTEN",
0B "CLOSING",

procfs的更多相关文章

  1. 3.10.17 procfs示例

    /* *    wesley *    the linux module sample of procfs *     *    wesley for testing *    2013-12-23 ...

  2. Non Lasting Storage File System、procfs、sysfs

    catalog . 引言 . proc文件系统 . 简单的文件系统 . sysfs 0. 引言 传统上,文件系统用于在块设备上持久存储数据,但也可以使用文件系统来组织.提供.交换并不存储在块设备上的信 ...

  3. (转)Linux 文件系统:procfs, sysfs, debugfs 用法简介

    网址:http://www.tinylab.org/show-the-usage-of-procfs-sysfs-debugfs/ 1 前言 内核中有三个常用的伪文件系统:procfs,debugfs ...

  4. Linux procfs详解

    1.0 proc文件系统总览在类Unix系统中体现了一种良好的抽象哲学,就是几乎所有的数据实体都被抽象成一个统一的接口--文件来看待,这样我们就可以用一些简单的基本工具完成大量复杂的操作.在Linux ...

  5. linux内核debug的一种方式:procfs

    #include <linux/module.h> #include <linux/compat.h> #include <linux/types.h> #incl ...

  6. procfs、debugfs

    procfs 是进程文件系统(file system) 的缩写,包含一个伪文件系统,用于通过内核访问进程信息 这个文件系统通常被挂载到 /proc 目录.由于 /proc 不是一个真正的文件系统,它也 ...

  7. Linux proc filesystem (procfs)

    参考:/proc /proc简介 本文着重关注/proc目录,查看其中文件并熟悉它. /proc目录存在于所有Linux系统上,无论什么发行版或体系结构.首先,必须澄清一个误解: 就文件系统这一术语而 ...

  8. Linux驱动开发3——devfs udev procfs sysfs debugfs傻傻地分不清楚

    Linux调试文件系统 1.1.procfs 早期的Linux内核中,内核通过procfs输出调试信息,可以在用户态通过读写procfs节点与内核进行交互,用来获取处理器.内存.设备驱动.进程等各种信 ...

  9. Proc-fs 编程

    一.简介 Proc文件系统是Linux系统上的一种伪文件系统(也即虚拟文件系统),存储的是当前内核运行状态的一系列特殊文件,用户可以通过这些文件查看有关系统硬件及当前正在运行进程的信息,甚至可以通过更 ...

随机推荐

  1. PLSQL_性能优化系列16_Oracle Tuning Analyze优化分析

    2014-12-23 Created By BaoXinjian

  2. 论Collision Detection的作用

    今天有空就仔细研究了一下Collision Detection的问题,以前总是弄不明白Continuous和Continuous Dynamic到底有什么区别,今天算是彻底弄明白了,官方文档说的太晦涩 ...

  3. 加密---公钥&密钥

    一直以来对公钥和私钥都理解得不是很透彻,感觉到模棱两可.今天在网上找了半天,通过查看对这个密钥对的理解,总算弄清楚了.      公钥和私钥就是俗称的不对称加密方式,是从以前的对称加密(使用用户名与密 ...

  4. jQuery如何动态添加具有删除按钮的行

    代码实例如下: <!DOCTYPE html><html><head><meta charset=" utf-8"><meta ...

  5. 终于有了自己的园子,Happy一下

    终于找到了一个比较好的写博客的地方,cnblogs,不错,我想你正是我所需要的功能!这是开山以来的第一篇文章,终于有了自己的园子,Happy一下.

  6. mysql 用户权限设置【转】

    在Linux下phpStudy集成开发环境中,要先进入mysql下bin目录,执行mysql ./mysql -u root -p 1.创建新用户 通过root用户登录之后创建 >> gr ...

  7. C++学习4

    在C++中,定义函数时可以给参数指定一个默认的初始值.调用函数时,可以省略有默认值的参数.也就是说,如果用户指定了参数的值,那么就使用用户指定的值,否则使用参数的默认值. C++规定,默认参数只能放在 ...

  8. [ActionScript 3.0] AS3 实现XML转换成JSON

    package com.fylib.util { /** * @author Frost.Yen * @E-mail 871979853@qq.com * @create 2015-6-18 下午2: ...

  9. ElasticSearch 的 聚合(Aggregations)

    Elasticsearch有一个功能叫做 聚合(aggregations) ,它允许你在数据上生成复杂的分析统计.它很像SQL中的 GROUP BY 但是功能更强大. Aggregations种类分为 ...

  10. EXT layout

    1.Vbox createCenterPanel: function () { var pan = Ext.create('Ext.Panel', { height: '100%', title: ' ...