Hey all,
I am in need of changing the process name (the name displayed by ps or top) once my cgi script starts (ie. an actual cli script without apache).
atm it's called tep-monitor.php and I'd like it to show up as tep-monitor (note the .php extension is gone).
And before others say just rename it. I don't want to because then my syntax highlighting is gone in my editor.
It's easy to do in perl with $0 but what about PHP (atm v. 4.3.3)?
Thanks for any help and sorry if this has been asked before.
chuck