antonio antonio - 1 year ago 130
Node.js Question

distinct several services nodejs with ps aux | grep node

I have 6 services nodejs running in one server. Sometimes I need to kill one of them, but when I execute:

ps aux | grep node

All the 6 services appears with the same name. I dont know which one of them to kill.

There are some way to diff. them?

Answer Source

You can use PM2 to manage your nodejs applications. It can also help you in restarting the node process once server is rebooted.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download