On Wed, 22 May 2002, Alan Burlison wrote: > I have another little problem I'm trying solve, which will be really neat > if I can get it to work. You may or may not know that Solaris has a fair > share scheduler, which means you can limit the total proportion of CPU > that a particular user can use.
nice. > I want Apache to switch into a > resource-managed Project at startup, but to do so I need to find out the > value of the "User" parameter in httpd.conf, and I can't find a way to do > this - is there one? Apache::Server::uid returns the uid of the configured User. you can access via: Apache->server->uid at startup time or $r->server->uid at request time