6 ms·
Interesting! I wonder if... gdb -p `pidof python` gcore foo.core strings foo.core | grep -a200 -A200 knowntext .. would also work.
by cjbprime 10y ago
Interesting! I wonder if...
gdb -p `pidof python`
gcore foo.core
strings foo.core | grep -a200 -A200 knowntext
.. would also work.
- icebraining 10y agoI don't think python keeps the text file in memory, since it compiles everything to bytecode on startup.