From:             black at scene-si dot org
Operating system: linux
PHP version:      Irrelevant
PHP Bug Type:     *General Issues
Bug description:  changing current process name

Description:
------------
With linux it is sometimes useful to be able to change the process name
(by identifying a process in the system error logs or for debugging for
example)..

The c(++) or the perl way doesnt work in php as far as i tried, and so i
pressume that it is not possible itself.

You can consult yourself with
http://lightconsulting.com/~thalakan/process-title-notes.html - an
extensive example of how the title should be changed

Reproduce code:
---------------
$argv[0] = "progname-debugval";

Expected result:
----------------
I expect that the programs process title would be changed by modifying
$argv[0], or by introducing a new function which would change the process
title respectively.

Actual result:
--------------
The process name in `ps` output of the respective program should change
accordingly to the change of $argv[0];

-- 
Edit bug report at http://bugs.php.net/?id=29479&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29479&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29479&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29479&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29479&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29479&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29479&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29479&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29479&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29479&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29479&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29479&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29479&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29479&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29479&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29479&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29479&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29479&r=float

Reply via email to