In the last episode (Dec 16), Bill Welliver said:
The process title change feature requires either setproctitle() or access to argv. Neither method is portable to Solaris (or rather, has no effect on solaris).
Setting argv on Solaris does change the commandline as reported by /usr/ucb/ps:
$ cat /usr/local/bin/ps #! /bin/sh case $1 in -* ) exec /usr/bin/ps "$@" ;; * ) exec /usr/ucb/ps "$@" ;; esac $ ps auxww | grep sendmail root 344 0.0 0.1 4384 2184 ? S Dec 10 0:13 sendmail: accepting connections smmsp 345 0.0 0.1 4352 1512 ? S Dec 10 0:00 sendmail: Queue runner@00:15:00 for /var/spool/clientmqueue $ ps -ef | grep sendmail root 344 1 0 Dec 10 ? 0:13 /usr/lib/sendmail -bd -q15m smmsp 345 1 0 Dec 10 ? 0:00 /usr/lib/sendmail -Ac -q15m
Just get in the habit of using BSD instead of SYSV arguments to ps :)
add a function or option to create_process that conveniently starts a pike interpreter with another pike script
would be a nice alternative to fixing fork(), but on many systems, pike takes a long time to start up (>5 sec).
I find pike can take a while to start up the first time because it has to load all the modules, but it's all just disk I/O since they're all dumped. Later pikes pull the files from the disk cache and start up fast. Programs using Calendar always take a while to start though.