I have a windows form application running on a server. Now I need to have multiple instances of the same application running at the same time. Each instance will connect to a different database. During the application startup I change the title so I can identify which DB is connecting to, but I'd like to change the name in the Task Manager also. This because I have another application that act as a supervisor, killing and starting the process as needed. I have to find a way to clearly identify the process to kill.
This is pretty normal as processes takes time to end on task manager after you exit on the program. As for the multiple processes on each application, it is actually normal. Programs run 1 process per tab, extensions and GPU processes.
If a program listed in the "Processes" section of Windows Task Manager has a blank "Description" field, you can change the name of the process to help you better identify which program it is. To change the name of a process in Task Manager, you only need to change the name field displayed in the program's properties.
A computer program is a passive collection of instructions, a process is the actual execution of those instructions. Several processes may be associated with the same program; for example, opening up several instances of the same program often means more than one process is being executed.
However the process name in task manager gives it away, and a sneaky user could easily kill the task in the Processes menu. Is there a way to change the name given in there (using NT4), or can someone recommend a better URL logging utility (a local program is needed since we don't control the proxy server etc). AFAIK you can't rename the process.
If a program listed in the "Processes" section of Windows Task Manager has a blank "Description" field, you can change the name of the process to help you better identify which program it is. Right-click an empty space on the taskbar. Click "Image Name" to sort the processes alphabetically.
If the user wants to be able to kill the process from the taskmanager specifically, they can use the applications tab to pick the correct process (you will need to give it a unique window title), then they can right click>Go To process and kill from there. Not the answer you're looking for?
Is there a way to change the name given in there (using NT4), or can someone recommend a better URL logging utility (a local program is needed since we don't control the proxy server etc). AFAIK you can't rename the process.
Have your supervisor create a temporary copy of the executable, including your identifying information, and start that... so that Task Manager will look like
My process - database 1.exe
My process - database 2.exe
et cetera
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With