linwiz / Raspberry-Pi-Web-GPIO

PHP script to control Raspberry PI GPIO pins from the web
GNU General Public License v3.0
4 stars 1 forks source link

Strange GPIOServer.sh service behavior #15

Closed Paku- closed 9 years ago

Paku- commented 9 years ago

I am tring to check if service is running using command like this:

pgrep -l  GPIOServer.sh

but the response is strange to me.

Some responses show 2 (!) processes ...

/etc/init.d $ pgrep -l  GPIOServer.sh
19129 GPIOServer.sh
23382 GPIOServer.sh
/etc/init.d $ pgrep -l  GPIOServer.sh
19129 GPIOServer.sh
/etc/init.d $ pgrep -l  GPIOServer.sh
19129 GPIOServer.sh
23479 GPIOServer.sh
/etc/init.d $ pgrep -l  GPIOServer.sh
19129 GPIOServer.sh
24240 GPIOServer.sh

What's going on ??

Had read somewhere "sleep" could be called as external process ...

linwiz commented 9 years ago

I am not sure whats going on with this, it could be a linux related issue rather than GPIOServer.sh