Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Conversation

@WeiZhang555
Copy link
Contributor

We need to display nslistener pid for ps command to make docker top
work with runv container

Signed-off-by: Zhang Wei zhangwei555@huawei.com

We need to display nslistener pid for `ps` command to make `docker top`
work with runv container

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
@WeiZhang555
Copy link
Contributor Author

To address #478 (comment)

With this, we can run docker top on a runv container now:

$ docker top 8a96dc690c35
UID                 PID                 PPID                C                   STIME               TTY                 TIME                CMD
root                28007               27977               0                   16:12               ?                   00:00:00            containerd-nslistener
$ ps -ef | grep 28007
root     28007 27977  0 16:12 ?        00:00:00 containerd-nslistener
zhangwei 29812 27165  0 16:28 pts/11   00:00:00 grep --color=auto 28007

@WeiZhang555 WeiZhang555 changed the title Show nslistener pid for ps command [WIP]Show nslistener pid for ps command Jun 30, 2017
@WeiZhang555 WeiZhang555 changed the title [WIP]Show nslistener pid for ps command Show nslistener pid for ps command Jul 4, 2017
@gnawux
Copy link
Member

gnawux commented Aug 3, 2017

@WeiZhang555 do we need update this PR after #537 merged?

@laijs laijs closed this Aug 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants