Patch title: Release 84 bulk changes
Abstract:
File: /pliant/fullpliant/logical.pli
Key:
    Removed line
    Added line
   
module "/pliant/language/compiler.pli"
module "/pliant/language/compiler.pli"
module "/pliant/language/stream.pli"
module "/pliant/admin/file.pli"
module "this_computer.pli"
module "/pliant/protocol/dns/name.pli"
module "/pliant/admin/execute.pli"
module "/pliant/linux/schedule/process.pli"
module "/pliant/language/schedule/daemon.pli"


module "/pliant/admin/file.pli"
module "this_computer.pli"
module "/pliant/protocol/dns/name.pli"
module "/pliant/admin/execute.pli"
module "/pliant/linux/schedule/process.pli"
module "/pliant/language/schedule/daemon.pli"


function lc_memory id -> mem
  arg Str id ; arg Intn mem
  var Int pid := process_pid id
  if pid=undefined
    mem := undefined
  else
    mem := undefined
    (var Stream s) open "file:/proc/"+string:pid+"/status" in+safe
    while not s:atend
      if (s:readline parse "VmRSS" ":" (var Int kb) "kB")
        mem := kb*2n^10

daemon "restart logical computers"
  daemon_sleep 120
  while not daemon_emergency
    each logical this_computer:env:"logical"
      if logical:"automatic"="true"
        if not (lc_is_running keyof:logical)
          lc_start keyof:logical
    daemon_sleep 15
daemon "restart logical computers"
  daemon_sleep 120
  while not daemon_emergency
    each logical this_computer:env:"logical"
      if logical:"automatic"="true"
        if not (lc_is_running keyof:logical)
          lc_start keyof:logical
    daemon_sleep 15