Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators Change title of a thread after it is created Post 303014741 by hicksd8 on Tuesday 20th of March 2018 05:17:29 AM
Old 03-20-2018
I think only moderators and administrators can change a thread title.
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Change Console Title

Hello. I am trying to figure out how to change the title of my console window. I don't need it to dynamically change with my current directory. I just want to be able to change the name of it, so when I minimize the window I can see which windows are for what purpose. I've tried using the... (8 Replies)
Discussion started by: medmonson
8 Replies

2. Solaris

Change Terminal Title

Is it possible to change the title of a Terminal window on Solaris? For example, for a MS Windows command window, one can simply type "title NameofWindow" to change the title for a command window. I was looking for similar functionality for terminal windows. Thanks. (8 Replies)
Discussion started by: here2learn
8 Replies

3. UNIX for Advanced & Expert Users

Change putty title window?

Is it possible to change the putty window title from a Unix command line? (12 Replies)
Discussion started by: akbar
12 Replies

4. AIX

How to change cronjob title?

Once I type "mail" command, I got to see the mail like below: > 1 daemon Thu Aug 12 17:31 31/938 "Output from cron job " My question is, how to do change the default title "Output from cron job " to be more customized title? Thanks. (4 Replies)
Discussion started by: ngaisteve1
4 Replies

5. UNIX for Dummies Questions & Answers

Change putty title name

Hello all, I have a not so unix question for you guys(or maybe it is). I use PUTTY to login to serverA (my putty title shows as serverA.domainname.com) Now from ServerA i do ssh user@ServerB (i have ssh public private key setup)... now my question is when i do ssh and logon to... (20 Replies)
Discussion started by: abdul.irfan2
20 Replies
CLI_SET_PROCESS_TITLE(3)						 1						  CLI_SET_PROCESS_TITLE(3)

cli_set_process_title - Sets the process title

SYNOPSIS
bool cli_set_process_title (string $title) DESCRIPTION
Sets the process title visible in tools such as top and ps. This function is available only in CLI mode. PARAMETERS
o $title - The new title. RETURN VALUES
Returns TRUE on success or FALSE on failure. ERRORS
/EXCEPTIONS An E_WARNING will be generated if the operating system is unsupported. EXAMPLES
Example #1 cli_set_process_title(3) example <?php $title = "My Amazing PHP Script"; $pid = getmypid(); // you can use this to see your process title in ps if (!cli_set_process_title($title)) { echo "Unable to set process title for PID $pid... "; exit(1); } else { echo "The process title '$title' for PID $pid has been set for your process! "; sleep(5); } ?> SEE ALSO
cli_get_process_title(3), setproctitle(3). PHP Documentation Group CLI_SET_PROCESS_TITLE(3)
All times are GMT -4. The time now is 08:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy