|Pathologically Eclectic Rubbish Lister
Perl process names on Windowsby monktim (Friar)
|on Feb 05, 2004 at 15:15 UTC
monktim has asked for the wisdom of the Perl Monks concerning the following question:
I don't know why I haven't posted this in SoPW before. It has been bothering me for a long time and I've always accepted it as "just the way things are".
When I look at the Windows NT Task Manager or issue a pslist command I see a nice list of processes named perl.exe and perl respectively. They have their associated PIDs listed along with other information. This all makes sense because the system is running perl.exe and not monktim.pl. I can tell which Perl processes are which (or at least which ones are mine) because I log the PID. It would be nice if I could view the Task Manager or pslist and just see my scripts by name (or some other identifying information) instead of looking at the log for the PID and then looking for the PID in the Task Manager. Can this be done without a major hack?
Update: I should have been more specific. The scripts are running in the BACKGROUND. So changing the title on the Window doesn't cut the mustard. Also, I'd like to view the processes using the Task Manager and/or pslist. This is necessary so anyone can view it using "conventional" methods. Thanks again.