> setproctitle(3) - but I don't know how you would call it from perl.

You can do it by altering the $0 variable:

#!/usr/bin/perl -w
use strict;

$0='Will it work?';

sleep (10);

A ps | grep 'Will' gives me:

 2551  p3  SN     0:00.02 Will it work? (perl)
 
Regards,
 Simon

Attachment: signature.asc
Description: Digital signature

Reply via email to