anchor.diff:  	 ,monData			 %last system_monitor data
   	}).
   
  +rec_info(ld) -> record_info(fields,ld);
  +rec_info(_)  -> [].
  +
   %% constants
   
   default_triggers() -> 
  
positive.code: clean_triggers(Triggers,IDs) ->
    lists:filter(fun({ID,_})->not lists:member(ID,IDs) end, Triggers).
  
  %%exit if What is jailed
  check_jailed(LD,What) ->
    false = lists:member(What, LD#ld.jailed),
    erlang:start_timer(timeout(release), self(), {release, What}),
    LD#ld{jailed=[What|LD#ld.jailed]}.
  
  do_mon(LD) ->
    send_report(LD,sysMon),
  
negative.code: 
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  mk_subscriber({pid,To},_) -> mk_send(To);
  mk_subscriber({Proto,{Host,Port}},Pwd) -> mk_send(Proto,Host,Port,Pwd);
  mk_subscriber({log,trc},FN) -> mk_log(trc,open_file(FN));
  mk_subscriber({log,text},FN) -> mk_log(text,open_file(FN));
  mk_subscriber({log,screen},_) -> mk_log(text,group_leader()).
  
  %% send subscribers
  mk_send(Where) ->
    fun(Chunk) ->
        try Where ! Chunk
  