Storing pids

Mats Cronqvist mats.cronqvist@REDACTED
Thu Jan 5 13:44:23 CET 2006


   granted. but what if you see something funny in the log, and the target node 
is still up? then you'd want to connect to is and do a process_info() or 
something, right?

   mats

Joel Reymont wrote:
> It's not worthless if I'm just using it for tracking. All I want to  do 
> in the end is say "give me all the entries from this process" and  
> supply the process id.
> 
> If erlang:phash2 gives a unique number for each pid then maybe I can  
> use pid hashes to identify processes in the disk log instead of the  
> pids themselves.
> 
> What do you think?
> 
> On Jan 5, 2006, at 12:23 PM, Mats Cronqvist wrote:
> 
>>   well, the node id number in the pid is worthless for logging  
>> (numbering is different on each erlang node).
> 
> 
> -- 
> http://wagerlabs.com/
> 
> 
> 
> 
> 



More information about the erlang-questions mailing list