how can get other process pid

W

walker

hi, I want to get other process pid in my program. the other process
name is known, I want get its pid, how can I do?

for example : in my program I call a process named "mpg321" to play a
mp3 file , now I want to stop it by kill it a STOP signal,to do this, I
must know the pid of mpg321 which is running, how can I get its pid ?

any of you help will be appreciated!

walker
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top