prathumca
prathumca

Reputation: 410

How to get a PID for a specific app in iphone?

How can I get ProcessInfo of a particular app (Not the same app/process)? I know that "NSProcessInfo" gives the details of the current process. But I would like to know is there any way to get the info of particular process say for example "Mail". If Mail is running in background, how can I get the info of it?

P.S: Requirement is on a jail-broken IPhone.

Thanks, Prathap.

Upvotes: 0

Views: 1862

Answers (1)

ennuikiller
ennuikiller

Reputation: 46965

On a jail-broken phone you should be able to use the system command together with ps to get the pid on any running processes. This link describes in detail how to use the system command.

Upvotes: 1

Related Questions