M
mmorsdorf
Grünschnabel
PHP:
#!/bin/sh
set pid = ps -ef | grep "Prozessname" | grep "<defunced>"
echo Lok PID of Ascent
if [ "$pid" > "0" ]
then
set pid = pidof ascent-world
echo pid found pid=<$pid
fi
Intresse besteht darin, das das ganze jetzt irgend wie per php ausgelesen wird und ausgegeben wird. Seht ihr ne Möglichkeit ?