Created
November 16, 2023 10:00
-
-
Save zmstone/5b0ccf497c08f9d28fe2221bb9ac3b16 to your computer and use it in GitHub Desktop.
inspect erlang DCD file
This file contains hidden or 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
F=fun(Path) -> {ok,Log} = disk_log:open([{file, Path}, {name, tmp}, {mode, read_only}]), {_, L,0} = disk_log:bchunk(Log, start, 100), disk_log:close(Log), [binary_to_term(I) || I <- L] end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment