On Thu, Jun 25, 2009 at 3:31 PM, Roland Mainz <roland.mainz at nrubsig.org> 
wrote:
>
> Hi!
>
> ----
>
> Does anyone know whether process names could start with "~(" ? Is there
> any restriction on the characters being used ?

Looks like it is valid to me...

$ cp /bin/cat '~('
$ PATH=. '~('
^Z
$ jobs -l
[1]+ 14137 Stopped (user)          PATH=. '~('
$ ps -fp 14137
     UID   PID  PPID   C    STIME TTY         TIME CMD
 mgerdts 14137 14062   0 17:55:17 pts/1       0:00 ~(

$ ps -o comm -p 14137
COMMAND
~(

$ ps -o args -p 14137
COMMAND
~(

$ uname -srv
SunOS 5.11 snv_105


--
Mike Gerdts
http://mgerdts.blogspot.com/

Reply via email to