[Techtalk] how to get PID without using pidof command?

ruchika khera ruchika_khera at hotmail.com
Fri Sep 19 19:09:24 EST 2003


   Hi,

   Just when I figured out how to use pidof and kill commands to signal a
   process, I learnt that the embedded platform I am using does not
   support pidof and find commands. It does support other popular
   commands such as ps, grep, kill, ls.

   I have a shell script that gets a process's PID and sends it a signal.
   kill -s testsig# $(pidof test)

   Can someone help me do this without using pidof?

   Thanks,
   Ruchika
     _________________________________________________________________

   Get personal loans. It's hassle-free. [1]It's approved instantly.

References

   1. http://g.msn.com/8HMBENIN/2737??PS=


More information about the Techtalk mailing list