GetExtraInfo collects information of a process.
()
| 112 | |
| 113 | // GetExtraInfo collects information of a process. |
| 114 | func (p *Process) GetExtraInfo() error { |
| 115 | p.ReadEnv() |
| 116 | p.readDescriptors() |
| 117 | p.readIOStats() |
| 118 | p.readStatus() |
| 119 | |
| 120 | return nil |
| 121 | } |
| 122 | |
| 123 | // ReadPPID obtains the pid of the parent process |
| 124 | func (p *Process) ReadPPID() { |
no test coverage detected