cli_get_process_title(3) php man page | unix.com

Man Page: cli_get_process_title

Operating Environment: php

Section: 3

CLI_GET_PROCESS_TITLE(3)						 1						  CLI_GET_PROCESS_TITLE(3)

cli_get_process_title - Returns the current process title

SYNOPSIS
string cli_get_process_title (void )
DESCRIPTION
Returns the current process title, as set by cli_set_process_title(3). Note that this may not exactly match what is shown in ps or top, depending on your operating system. This function is available only in CLI mode.
PARAMETERS
This function has no parameters.
RETURN VALUES
Return a string with the current process title or NULL on error.
ERRORS
/EXCEPTIONS An E_WARNING will be generated if the operating system is unsupported.
EXAMPLES
Example #1 cli_get_process_title(3) example <?php echo "Process title: " . cli_get_process_title() . " "; ?>
SEE ALSO
cli_set_process_title(3). PHP Documentation Group CLI_GET_PROCESS_TITLE(3)
Related Man Pages
setproctitle(3) - netbsd
pg_field_num(3) - php
constant(3) - php
tidy_repair_string(3) - php
tidy.repairstring(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation