Created
May 17, 2018 15:50
-
-
Save leandrocp/8a064fd2e93bd6990a437103cadeae08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iex> defmodule Example, do: use GenServer | |
iex> {:ok, pid} = GenServer.start_link(Example, %{ping: "pong"}) | |
iex> Process.info pid | |
[ | |
current_function: {:gen_server, :loop, 7}, | |
initial_call: {:proc_lib, :init_p, 5}, | |
status: :waiting, | |
message_queue_len: 0, | |
messages: [], | |
links: [#PID<0.610.0>], | |
dictionary: [ | |
"$initial_call": {Example, :init, 1}, | |
"$ancestors": [#PID<0.610.0>, #PID<0.70.0>] | |
], | |
trap_exit: false, | |
error_handler: :error_handler, | |
priority: :normal, | |
group_leader: #PID<0.60.0>, | |
total_heap_size: 233, | |
heap_size: 233, | |
stack_size: 10, | |
reductions: 27, | |
garbage_collection: [ | |
max_heap_size: %{error_logger: true, kill: true, size: 0}, | |
min_bin_vheap_size: 46422, | |
min_heap_size: 233, | |
fullsweep_after: 65535, | |
minor_gcs: 0 | |
], | |
suspending: [] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment