7

How do I change the process name of an Erlang VM?

It isn't very convenient to have beam listed when I do ps -A...

Somewhat related to: changing the process name of a python script

Community
  • 1
  • 1
jldupont
  • 93,734
  • 56
  • 203
  • 318

1 Answers1

2

You would have to overwrite the content of argv[0] in C in Linux. Now how to do that from erlang ... Well you might need to start the erlang process from within a C wrapper .. Just my 2 cent

snies
  • 3,461
  • 1
  • 22
  • 19
  • here is more details: http://stupefydeveloper.blogspot.com/2008/10/linux-change-process-name.html – snies Feb 17 '10 at 23:57