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
simplexml_load_file(3) - php
php_uname(3) - php
tidy_get_html(3) - php
tidy_repair_string(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Forum Video Tutorial: How to Use Code Tags
Please Welcome Don Cragun as Lead Moderator
Denial Of Service Attack Update