( Fisher | 2011. 10. 20., cs – 23:52 )

Write only mód, itt az én megoldásom:

http://pastebin.com/bSzw63nr

Nem a processek számát figyelem, hanem hogy ráér-e a cpu, de ez tökmindegy. Egy, a scriptben definiált függvényt hívok meg, és jónapot.

Viszont szerintem ez se oldja meg a gondodat.... bosszantó.

Igen, az ssh kavarja el, eheh, man ssh:

-n Redirects stdin from /dev/null (actually, prevents reading from stdin).

Ja, most látom, hogy erre már rájöttetek, bocs...