Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.
This repository was archived by the owner on May 6, 2020. It is now read-only.

Implement the runtime ps command #95

Closed

Description

@sameo

ps shows all processes running inside a container.

Activity

  1. self-assigned this
    on May 3, 2017
  2. assigned and unassigned on May 22, 2017
  3. grahamwhaley commented on Aug 2, 2017

    @grahamwhaley
    Contributor

    A note and a question:
    Note: if you do a docker-runc ps xxx, where xxx is not a valid container ID, then it prints out an error message noting that it could not find the relevant state.json file. We of course don't have to copy this, but I found it interesting that we currently silently fail (with the correct exit code), whereas it looks like we could print something more useful.
    Question: Is there a way to invoke the runtime ps command from the docker commandline? docker ps is something different (lists the containers, not their contents), and I've failed to identify if there is a way to get the container process list out of the docker command line. If we know of one, please update this ticket with that info.

  4. grahamwhaley commented on Aug 3, 2017

    @grahamwhaley
    Contributor

    Aha. The way to invoke the runtime ps from docker cli itself is by using docker top I believe.
    Just checked, and this works for runc, but not for cor at least. I believe it will not work for cc-runtime at present either (I don't have an installation to hand to check right now)

  5. 14 remaining items

  6. added a commit that references this issue on Oct 25, 2017
  7. added 3 commits that reference this issue on Nov 28, 2017
    b9c9243
    2cb8855
    f74d69e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions