package
Version:
v0.0.0-...-05317bf
Opens a new window with list of versions in this module.
Published: Nov 21, 2015
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
以特定格式化的形式列出所有进程,方便提取进程信息
第一列是进程 ID,第二列是进程完整的执行命令(执行文件或命令+全部执行参数)
兼容:Linux, OS X
func Diff(expect, running []*Process) (notExpect, notRunning []*Process)
时间复杂度 2n^2
psOutput 样例
1234 /bin/hi -l :1024
12345 /bin/world -n test
Source Files
¶
Click to show internal directories.
Click to hide internal directories.