cancel
Showing results for 
Search instead for 
Did you mean: 

CDS command to see running processes

04-04-2023 4:22 PM
2131 views 3 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hello everyone,

Is there a command I can use to list the running processes that I've started with CDS watch?

If not, is there any other way to check on the ports being used by the server processes?

Thanks,

Emi

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

mikolaj_k
Explorer

Hi,

If you develop in BAS it can be helpful for you. In BAS just Ctrl+Shift +P and type Ports: Preview.

https://help.sap.com/docs/bas/sap-business-application-studio/application-preview-settings

Kind regards,

Mikolaj

Answers (2)

Answers (2)

Trulov
Participant

Hi Emiliano,

I'm on a MAC and to find node processes, I use:

ps -e | grep "cds watch"

or

ps -e | grep node

If I know the port, I can use

lsof -i :4004

Best Regards

Tom

chgeo
Product and Topic Expert
Product and Topic Expert

When `cds watch` is running, you can also type `ps` in the terminal 🙂

Need to document this...