directory
Version:
v0.0.0-...-70b045a
Opens a new window with list of versions in this module.
Published: Feb 3, 2018
License: MIT
Opens a new window with license information.
README
¶
作业:
要求:
编写一个mini ps,输出两列: pid和命令行
类似 1234 /bin/bash
思路:
- 读取/proc目录下的文件
- 获取所有pid子目录
- 读取pid子目录下的cmdline文件
Directories
¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
v1
代码不简练, 逻辑不清楚, 没亮点 11-02 有问题
|
代码不简练, 逻辑不清楚, 没亮点 11-02 有问题 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.