Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I recall right you can determine some of the parameters a process was started with (in Windows it is stored in the Process Environment Block). Can I also find out what process started another one?

Example: My iTunes (memory eating "§$%&!) keeps reappearing even after I killed it and I wan't to know why. On the other hand I would find such knowledge useful in general and not only in this case ;-)

share|improve this question
up vote 3 down vote accepted

You can find out the parent process of another process by opening Utilities » Activity Select the process, press Inspect.

Does't look too useful since almost everything in OS X is launched by launchd. I'm not sure there's anything better – I could be wrong though.

In the specific case of iTunes starting "by itself", it's probably due to a device being synced. Connect the iPad, iPhone, and uncheck "Open iTunes when this … is connected" in its settings.

share|improve this answer
Or, when you're happen to be on a terminal (or just a click away), ps waxl and top show the PPID too. top can help you with process list too. – ott-- Jan 27 '12 at 12:38
Thank you! Both solutions work and the outcome is as predicted. I prefer the cli version ;-) iTunes is spawned because I have wireless-sync enabled. – er4z0r Jan 27 '12 at 22:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .