Re: grepping memory (wetware)

2005-06-19 Thread Clytie Siddall
On 20/06/2005, at 3:38 AM, Enrico Zini wrote: doing cat /proc/$PID/task/$PID/mem also says "no such process". Is that a kernel bug or is it really supposed not to work? It happens in my mind all the time. So, if you get a fix, please port it to wetware. ;) from Clytie (vi-VN, Vietnames

Re: grepping memory

2005-06-19 Thread martin f krafft
also sprach Enrico Zini <[EMAIL PROTECTED]> [2005.06.19.2008 +0200]: > doing cat /proc/$PID/task/$PID/mem also says "no such process". Is that > a kernel bug or is it really supposed not to work? I suppose there is some kind of memory access protection going on, but I don't have the details. --

Re: grepping memory

2005-06-19 Thread Enrico Zini
On Sun, Jun 19, 2005 at 04:16:34PM +0200, Herman Robak wrote: > On Sun, 19 Jun 2005 15:31:56 +0200, martin f krafft <[EMAIL PROTECTED]> > >`grep pattern /proc/$PID/mem` *used* to work back when I needed it, > >now it just pretends there ain't no such process. No idea why. > I think I tried that

Re: grepping memory (was: Re: Thank you for the software)

2005-06-19 Thread Herman Robak
On Sun, 19 Jun 2005 15:31:56 +0200, martin f krafft <[EMAIL PROTECTED]> wrote: also sprach Herman Robak <[EMAIL PROTECTED]> [2005.06.19.1404 +0200]: Do you have some better suggestions in that respect? A one-liner for string searches or replacements in the memory space for a given PID (e.g.