Re:So, what can you do with a PID?
by pletnes on Saturday December 17, 2022 @10:22AM
(#34028457)
I know about some of these tricks. However, containers are popular and typically don’t have the tools installed, and you can’t necessarily sudo either. What do people replace these tricks with, in some cloud container or k8s pods?
[ Parent
| on HN ]
If /proc is mounted in the container you can grab the same information (more tediously) by looking at /proc/<pid>
Some things are there, but real tedious, yes. I haven’t found something convenient and if you’re not root, some of the useful things are inaccessible.