On Thu, Sep 4, 2008 at 9:00 PM, Hal Duston
<hald@kc.rr.com> wrote:
> That isn't possible unless you want to do an exec call every time the user
> goes to a new page. That's why Chrome does its own task manager that knows
> what each thread is doing.
Postgresql and sendmail manage it.
root 5082 1 0 Jul27 ? 00:52:53 sendmail: accepting connections
smmsp 5091 1 0 Jul27 ? 00:00:12 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
postgres 16733 16667 0 Aug04 ? 00:01:32 postgres: logger process
postgres 16737 16667 0 Aug04 ? 00:06:53 postgres: writer process
postgres 16738 16667 0 Aug04 ? 00:05:28 postgres: wal writer process
postgres 16739 16667 0 Aug04 ? 00:03:30 postgres: autovacuum launcher process
postgres 16740 16667 0 Aug04 ? 00:05:07 postgres: stats collector process
They both manage that by recreating the environment of the already running process.