Cri-o: ps -v for verbose info: PID and namespace

Created on 8 Sep 2017  路  6Comments  路  Source: cri-o/cri-o

Would be good if kpod did something like what Brendan Gregg proposed here. Specifically, show PID and namespace (and possibly other useful info) that's currently not easy to see at a glance for containers.

@umohnani8 Dan suggested I ask you to PTAL. Thanks!

Most helpful comment

Thanks, I use my script (on docker anyway) almost every day. Very handy. The screenshot doesn't show the colors. Here's a screengrab:

screen shot 2017-09-08 at 2 55 14 pm

Red means it's sharing the namespace with the host.

All 6 comments

@brendangregg @Maksadbek FYI

Will work on adding something like that. Want any specific info, or should I just follow what is shown in https://github.com/moby/moby/issues/32501?

Follow that for now.

Thanks, I use my script (on docker anyway) almost every day. Very handy. The screenshot doesn't show the colors. Here's a screengrab:

screen shot 2017-09-08 at 2 55 14 pm

Red means it's sharing the namespace with the host.

Our goal is that you script would just need to
sed 's/docker/kpod/g'
And then it will work with the CRI-O project. :^)

Kpod now has support

Was this page helpful?
0 / 5 - 0 ratings

Related issues

outcoldman picture outcoldman  路  9Comments

baichinger picture baichinger  路  6Comments

cyphar picture cyphar  路  7Comments

haircommander picture haircommander  路  6Comments

afbjorklund picture afbjorklund  路  8Comments