• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 425
  • Last Modified:

How to find a string inside a running process

Hi,

I need to search for a string in a running process on my Linux box. Is there any command that can I use to do it?

Thanks.
0
david-marti
Asked:
david-marti
1 Solution
 
ozoCommented:
find /proc | xargs grep string
0
 
david-martiAuthor Commented:
Don't work. I need to search this string "inside" de process memory, not on /proc.

Thanks.
0
 
billtouchCommented:
That is a bit of a challenge as one process cannot see memory outside his own. If you put together a system level module to run, it still couldn't see 'user' memory easily because users are paged.

What is it you need to do? Perhaps there can be a slight design change that could solve your problem.

Bill
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now