mirror of
https://github.com/yanfeizhang/coder-kung-fu.git
synced 2026-05-05 11:44:13 +08:00
feat:添加新文之CPU利用率获取
This commit is contained in:
16
README.md
16
README.md
@@ -5,6 +5,13 @@
|
||||
|
||||
本 repo 持续更新ing...
|
||||
|
||||
---
|
||||
**新文置顶:最近写的都是CPU、进程方向的**
|
||||
- [Linux 中 CPU 利用率是如何算出来的?](https://mp.weixin.qq.com/s/40KWGKNBoa35s533YGWYIQ)
|
||||
- [从进程栈内存底层原理到Segmentation fault报错](https://mp.weixin.qq.com/s/pTP7ELOm4-JsAl1o_nyS-Q)
|
||||
- [Linux 中的负载高低和 CPU 开销并不完全对应](https://mp.weixin.qq.com/s/1Pl4tT_Nq-fEZrtRpILiig)
|
||||
- [Docker容器里进程的 pid 是如何申请出来的?](https://mp.weixin.qq.com/s/LDu6s1eZw6_xEwfa6pMM-A)
|
||||
|
||||
---
|
||||
|
||||
大家好,飞哥在博客文章的基础上出版了一本书,名字叫做《深入理解Linux网络》。该书市场接受度非常的高,在首发当天就斩获了京东科技类图书的第一名,几天就将首印卖断了货。
|
||||
@@ -16,13 +23,6 @@
|
||||
另外大家也可以加飞哥微信(zhangyanfei748527)进读者交流群。
|
||||
|
||||
|
||||
---
|
||||
**新文置顶:最近写的都是CPU、进程方向的**
|
||||
- [从进程栈内存底层原理到Segmentation fault报错](https://mp.weixin.qq.com/s/pTP7ELOm4-JsAl1o_nyS-Q) <font color="#dd0000">(:cn:新)</font>
|
||||
- [Linux 中的负载高低和 CPU 开销并不完全对应](https://mp.weixin.qq.com/s/1Pl4tT_Nq-fEZrtRpILiig) <font color="#dd0000">(:cn:新)</font>
|
||||
- [Docker容器里进程的 pid 是如何申请出来的?](https://mp.weixin.qq.com/s/LDu6s1eZw6_xEwfa6pMM-A) <font color="#dd0000">(:cn:新)</font>
|
||||
|
||||
|
||||
## 一、网络篇
|
||||
**1.1 内核收发包原理**
|
||||
- [🔥图解Linux网络包接收过程](https://mp.weixin.qq.com/s/GoYDsfy9m0wRoXi_NCfCmg)
|
||||
@@ -137,6 +137,8 @@
|
||||
|
||||
**4.4 CPU性能优化**
|
||||
- [一个likely的简单使用,背后却是对CPU工作原理的深刻理解](https://mp.weixin.qq.com/s/2YJVAEanfjSYgmZh8GRNrg) <font color="#dd0000">(:cn:新)</font>
|
||||
- [Linux 中 CPU 利用率是如何算出来的?](https://mp.weixin.qq.com/s/40KWGKNBoa35s533YGWYIQ) <font color="#dd0000">(:cn:新)</font>
|
||||
|
||||
|
||||
**4.5 进程管理**
|
||||
- [Linux进程是如何创建出来的?](https://mp.weixin.qq.com/s/ftrSkVvOr6s5t0h4oq4I2w) <font color="#dd0000">(:cn:新)</font>
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
- [likely 和 unlikely 汇编结果对比](tests/cpu/test01)
|
||||
- [cpu 系统利用率的计算过程](tests/cpu/test06)
|
||||
- [物理机 cpu 系统利用率的计算过程](tests/cpu/test06)
|
||||
- [容器 cpu 系统利用率的计算过程](tests/cpu/test07)
|
||||
1
tests/cpu/test07/cpu_stat.sh
Normal file
1
tests/cpu/test07/cpu_stat.sh
Normal file
@@ -0,0 +1 @@
|
||||
cpu_stat.sh
|
||||
Reference in New Issue
Block a user