question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Set name for process

See original GitHub issue

It would be nice to set the name of the process since I use server.js for many of my projects and its tough to tell which process I need to stop/reset.

info: Running action: list
info: Forever processes running
  [0] server.js [26824, 26823] /home/sites/.forever/BADz.log 0:13:20:19.44
  [1] server.js [14371, 14668] /home/sites/.forever/I916.log 3:22:3:6.329

Thoughts?

Issue Analytics

  • State:closed
  • Created 12 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

28reactions
jmhmdcommented, Mar 20, 2014

You probably already figured this out, but for the benefit of others googling, you need to do:

forever start --uid "custom-name" server.js
20reactions
danday74commented, Jan 16, 2017

id and uid are deprecated according to the npm page - what do we use now?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change process name in Linux - Stack Overflow
will change the name, and put an "A" instead of the first letter. CtrlZ to pause, then run ps to see the name...
Read more >
How to Change a Process Name on Windows Task Manager
Click "Image Name" to sort the processes alphabetically. Right-click the process you want to rename, then click "Properties." Advertisement ...
Read more >
How to Change the Process Name in Python
You can set the process name in the multiprocessing.Process class constructor or via the “name” property of the multiprocessing.
Read more >
How to change a process name in the Task Manager via batch
The process name in Task Manager is the name of the executable file ("image name"). So, to change that you will need to...
Read more >
Renaming a process model - Discussions - Appian Community
Hi,. This can be done directly within Process Model properties. Simply type a new value into the "Process Model Name" box and save...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found