top(1) process name

rihad rihad at mail.ru
Tue Sep 18 06:25:16 PDT 2007


Hi all,

This is probably a FAQ. Is there any way to set the process name of a 
running Perl program displayed in top(1)?

$0 = 'candy';

doesn't seem to affect it in any way (although it does change what ps 
displays).

Thanks.


More information about the freebsd-perl mailing list