Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm using MacOS X 10.7 and I'm not very familiar with unix. Is there a command for a search in some process's memory for a string?

share|improve this question
    
Reminds me of the "Artmoney" tool I used to cheat in games on Windows :) –  phunehehe Sep 25 '11 at 1:11
add comment

1 Answer

Unfortunately Mac OSX does not have a /proc file system. On other species of unix the /proc filesystem should have an entry for each running process named with the corresponding pid. The memory space of the process would be available through /proc/${pid}/mem to root or any user with appropriate permissions.

I believe system calls are available that do much of this. This link is to a stackoverflow posting where the author has written a utility that dumps the memory image of a process to disk. It might do what you want.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.