News for hackers. Stuff that matters.
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?
Re:So, what can you do with a PID? by rwmj on Saturday December 17, 2022 @10:27AM (#34028494)
If /proc is mounted in the container you can grab the same information (more tediously) by looking at /proc/<pid>
Re:So, what can you do with a PID? by pletnes on Sunday December 18, 2022 @08:53AM (#34037626)
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.
Re:So, what can you do with a PID? by rwmj on Sunday December 18, 2022 @10:25AM (#34038535)
Could you copy in (or sideload) a statically linked "top" binary?