setproctitleSet the process title Description
void setproctitle
( string
$title
)Sets the process title of the current process. Parameters
Return ValuesNo value is returned. ExamplesExample #1 setproctitle example Running the example below will change the process title (visible with ps a for example).
<?php The above example will output something similar to: $ ps a PID TTY STAT TIME COMMAND 1168 pts/3 S 0:00 myscript See Also
|