Prozess wiederfinden

H

harlekin34

Grünschnabel
Ich möchte gerne einem Prozess beim Start ein eindeutiges Merkmal (String) mitgeben, welchen ich dann mittels ps wiederfinden kann.
Ich erinnere mich dunkel, dass dieses mit "exec" o.ä. gehen sollte.
Danke!
 
Du meinst nicht zufälligerweise sowas:

Code:
help exec
exec: exec [-cl] [[COLOR="Red"]-a name[/COLOR]] file [redirection ...]
    Exec FILE, replacing this shell with the specified program.
    If FILE is not specified, the redirections take effect in this
    shell.  If the first argument is `-l', then place a dash in the
    zeroth arg passed to FILE, as login does.  If the `-c' option
    is supplied, FILE is executed with a null environment. [COLOR="Red"] The `-a'
    option means to make set argv[0] of the executed process to NAME.[/COLOR]
    If the file cannot be executed and the shell is not interactive,
    then the shell exits, unless the shell option `execfail' is set.

?
 

Ähnliche Themen

Skript soll nicht doppelt laufen... kill pkill pid cron

Samba 4 Schema erweitern per LDIF - Server is unwilling to perform (53)

PIDs von Prozessen bestimmten Namens eines besteimmten Benutzers anzeigen

MacBook Pro hat Benutzer-Konten vergessen

Terminal Server Client behält die eingestellten Verbindungen nicht

Zurück
Oben