dotcloud/docker — pull request #3168 by discordianfish (2013-12-11 15:21:01+00:00)
Title: Reimplement lxc-ps

Instead of calling lxc-ps in top endpoint, we reimplement it by calling ps and filter for pids running in a given container.

This fixes #2464.

I wasn't sure where to put GetPidsForContainer, so let me know if I should move it somewhere else (server or container maybe?)