Edward Pilatowicz wrote:
> On Fri, Jan 16, 2009 at 10:07:41PM +0100, Roland Mainz wrote:
> > Does Unix/Solaris have a function to change the process's name returned
> > by $ ps -ef # ?
> 
> hm.  i assume your asking about this wrt 6793120.

*shudder* ... is the issue really that big that half of Sun now knows it
? ;-/

> this is kinda a
> slippery slope.  there is no public interface to do this, but you could
> probably do it by mucking with.
> 
>         struct user -> u_comm
>         struct user -> u_psargs
>         struct user -> u_argc
>         struct user -> u_argv

Umpf... that sounds a bit like a risky hack... or not ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to