PID einer aufgerufenen Funktion in der bash

Frank Bergmann tx-7-12 at tuxad.com
Fri Apr 2 08:35:41 CEST 2010


In Thu, 1 Apr 2010, Pierre Bernhardt cum veritate scripsit :

> wenn ich einen Process forke dann kann der Sohn mit getpid seine
> eigene PID heraus finden.

Du musst "jobcontrol" in der Bash aktiviert haben. Darueber muesste es 
gehen. Schau mal in die man-page.


EDV Frank Bergmann                           Tel.     05221-9249753
LPIC-2 Linux Professional                    Fax      05221-9249754
Elverdisser Str. 25                          email    iservice at tuxad.com
32052 Herford                                USt-IdNr DE237314606

-- 
Sending unsolicited commercial email to this address may be a violation
of the Washington State Consumer Protection Act, chapter 19.86 RCW.
Das Verschicken unverlangter kommerzieller email an diese Adresse ist
verboten (LG Traunstein, 2 HK O 3755/97 vom 14.10.1997, CR 1998, 171f).




More information about the Linux mailing list