著者: Sheldon Hearn 日付: To: paul CC: exim-users 題目: Re: [Exim] WISHLIST: program name indicating current job
On Tue, 27 Jul 1999 13:36:40 +0100, Paul Civati wrote:
> AIUI this is a bit of a non-portable hack, ie. it fiddles with argv[0]
> and will work for BSD ps, but not SYSV ps.
But since Philip already makes use of wrapper functions, it wouldn't be
incongruous to add a set_proctitle() wrapper containing lots of ugly
#ifdefs such that systems with no supported means of adjusting the
process title would execute no code within the wrapper function. :-)
Like I said, if the WISHLIST item submitter could explain more precisely
what he'd like to see in ps ax output, I'll send Philip diffs.