Guest User

Untitled

a guest
May 22nd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. iex> :sys.get_status pid
  2.   {:status, #PID<0.134.0>, {:module, :gen_server},
  3.   [
  4.   [
  5.   "$initial_call": {Sequence.Server, :init, 1},
  6.   "$ancestors": [#PID<0.118.0>, #PID<0.57.0>]
  7.   ],
  8.   :running,
  9.   #PID<0.118.0>,
  10.   [statistics: {{{2017, 12, 23}, {14, 11, 13}}, {:reductions, 14}, 3, 0},
  11.   [
  12.   header: 'Status for generic server <0.134.0>',
  13.   data: [
  14.   {'Status', :running},
  15.   {'Parent', #PID<0.118.0>},
  16.   {'Logged events', []}
  17.   ],
  18.   data: [{'State', 103}]
  19.   ]”
  20.  
  21. # Excerpt From: Dave Thomas. “Programming Elixir ≥ 1.6"
Add Comment
Please, Sign In to add comment