couchdb-recon.git
8 years agoBump to 2.1.2 2.1.2
Fred Hebert [Fri, 7 Mar 2014 18:17:07 +0000 (10:17 -0800)] 
Bump to 2.1.2

So many minor point versions in so few days

8 years agoFixing more tests
Fred Hebert [Fri, 7 Mar 2014 17:59:45 +0000 (09:59 -0800)] 
Fixing more tests

8 years agoAdding travis support
Fred Hebert [Fri, 7 Mar 2014 17:20:39 +0000 (09:20 -0800)] 
Adding travis support

8 years agoAdd stricter matching for inexisting allocators
Fred Hebert [Fri, 7 Mar 2014 15:52:47 +0000 (07:52 -0800)] 
Add stricter matching for inexisting allocators

This would cause bugs in R15B03 when loading crash dumps from more
modern commands used in R16 and others to generate dumps in instances
where a given allocator isn't explicitly present.

In this case the value returned is {Alloc, false} for that allocator
rather than {Alloc, ListOfAllocs}, which caused the multi-generator LC
to crash.

This one adds an assertion as a list on a generator to make sure to
filter out empty allocators.

8 years agoBump to 2.1.1 2.1.1
Fred Hebert [Thu, 6 Mar 2014 14:59:22 +0000 (06:59 -0800)] 
Bump to 2.1.1

8 years agoMerge pull request #10 from robertoaloi/mfa-builtin-type
Fred Hebert [Thu, 6 Mar 2014 14:57:22 +0000 (06:57 -0800)] 
Merge pull request #10 from robertoaloi/mfa-builtin-type

Do not redefine built-in mfa/0 type.

8 years agoImprove indentation.
Roberto Aloi [Thu, 6 Mar 2014 14:16:37 +0000 (15:16 +0100)] 
Improve indentation.

8 years agoDo not redefine built-in mfa/0 type. Use tspec/0 type, instead.
Roberto Aloi [Thu, 6 Mar 2014 14:15:05 +0000 (15:15 +0100)] 
Do not redefine built-in mfa/0 type. Use tspec/0 type, instead.

8 years agoRemove invalid test assertion
Fred Hebert [Wed, 5 Mar 2014 16:12:06 +0000 (11:12 -0500)] 
Remove invalid test assertion

Thanks @sg2342 in issue #9

8 years agoFix failing test case in R16B03-1
Fred Hebert [Wed, 5 Mar 2014 15:02:31 +0000 (10:02 -0500)] 
Fix failing test case in R16B03-1

Fix was already in the module being tested, but this one issue came when
generating a dump to load data from.

8 years agoBump to 2.1.0 2.1.0
Fred Hebert [Tue, 4 Mar 2014 13:50:28 +0000 (08:50 -0500)] 
Bump to 2.1.0

New since 2.0.x:
- queue_fun.awk
- recon_trace
- doc changes

8 years agoMerge branch 'tracing'
Fred Hebert [Tue, 4 Mar 2014 13:39:55 +0000 (08:39 -0500)] 
Merge branch 'tracing'

8 years agoDocs overhaul for recon_trace
Fred Hebert [Tue, 4 Mar 2014 13:39:25 +0000 (08:39 -0500)] 
Docs overhaul for recon_trace

8 years agoDocs & Cleanup
Fred Hebert [Sat, 1 Mar 2014 22:08:20 +0000 (22:08 +0000)] 
Docs & Cleanup

Documentation added, with examples and everything

Cleanup of internal code and moving functions around for a better
organization.

8 years agoAllow multiple pidspecs to be specified
Fred Hebert [Sat, 1 Mar 2014 16:55:45 +0000 (16:55 +0000)] 
Allow multiple pidspecs to be specified

This lets someone trace a group of processes, or make more complex rules
like `[new, SomeOldPid]`, which would allow to trace a single existing
pid and all the new ones that will come from now on.

8 years agoBe flexible on traceable pid input format
Fred Hebert [Sat, 1 Mar 2014 00:43:33 +0000 (00:43 +0000)] 
Be flexible on traceable pid input format

8 years agoAllow customizations and options for traces
Fred Hebert [Fri, 28 Feb 2014 05:23:34 +0000 (05:23 +0000)] 
Allow customizations and options for traces

Options are restricted to calls, and reworded to fit recon's pattern
from basic traces.

The options include:
- pid choice (all, existing, new, Pid)
- timestamp source (in the traces, or added by the formatter)
- args representation (arity or literal args)
- tracing pattern scope (fully qualified calls or local ones also)

Default values will have to be decided.

This patch also includes:
- basic type specs
- fixes to enable arity tracing

8 years agoAllow multiple patterns to be traceable
Fred Hebert [Fri, 28 Feb 2014 04:27:39 +0000 (04:27 +0000)] 
Allow multiple patterns to be traceable

This reworks the API by adding more options -- passing in tuples and/or
lists of tuples representing the MFAs available in calls/4 and calls/5,
and adding a more generic calls/2.

Internally, the order is reversed on a few calls so that all patterns
are added at once, and then processes enabled, allowing a once-at-a-time
trigger of all submitted patterns.

8 years agoInitial tracing helpers commit
Fred Hebert [Thu, 27 Feb 2014 05:31:11 +0000 (05:31 +0000)] 
Initial tracing helpers commit

8 years agoMerge pull request #8 from nox/docs-overview-fix-code-block
Fred Hebert [Mon, 10 Feb 2014 12:55:20 +0000 (07:55 -0500)] 
Merge pull request #8 from nox/docs-overview-fix-code-block

Fix code block syntax in overview.edoc

8 years agoFix code block syntax in overview.edoc
Anthony Ramine [Sun, 9 Feb 2014 03:33:06 +0000 (04:33 +0100)] 
Fix code block syntax in overview.edoc

8 years agoAdding script to match funcalls & msg queues
Fred Hebert [Wed, 5 Feb 2014 13:45:27 +0000 (08:45 -0500)] 
Adding script to match funcalls & msg queues

The awk script allows to go through a crash dump and show the function
currently executing for a process with a large mailbox.

This can hilight, for example, whenever processes die when they overload
the `user' process and are all stock in an io call, or any similar case.

8 years agoBump to 2.0.2 2.0.2
Fred Hebert [Wed, 29 Jan 2014 13:59:02 +0000 (13:59 +0000)] 
Bump to 2.0.2

8 years agoMake recon_alloc:allocators/0 more efficient
Michal Ptaszek [Wed, 29 Jan 2014 07:18:44 +0000 (08:18 +0100)] 
Make recon_alloc:allocators/0 more efficient

8 years agoDo not crash when allocator info is missing
Michal Ptaszek [Tue, 28 Jan 2014 18:16:12 +0000 (19:16 +0100)] 
Do not crash when allocator info is missing

8 years agoBump to 2.0.1 with R16B03 support 2.0.1
Fred Hebert [Fri, 13 Dec 2013 13:38:10 +0000 (08:38 -0500)] 
Bump to 2.0.1 with R16B03 support

8 years agoMerge pull request #6 from garazdawi/master
Fred Hebert [Fri, 13 Dec 2013 13:36:15 +0000 (05:36 -0800)] 
Merge pull request #6 from garazdawi/master

Update for R16B03

8 years agoUpdate for R16B03
Lukas Larsson [Thu, 12 Dec 2013 13:26:31 +0000 (14:26 +0100)] 
Update for R16B03

R16B03 introduced a new feature which is part of the
erlang:system_info(allocator) feature list. All previous
features could be inspected by system_info({allocator,A}),
but sys_aligned_alloc cannot. So the way in which we figure
out the available allocators has been updated.

8 years agoOf course, I make a typo on the 2.0.0 changelog! 2.0.0
Fred Hebert [Thu, 21 Nov 2013 18:43:02 +0000 (13:43 -0500)] 
Of course, I make a typo on the 2.0.0 changelog!

8 years agoBump to version 2.0.0
Fred Hebert [Thu, 21 Nov 2013 18:36:31 +0000 (13:36 -0500)] 
Bump to version 2.0.0

8 years agoFix division by zero on usage/2 call
Fred Hebert [Thu, 21 Nov 2013 13:54:40 +0000 (08:54 -0500)] 
Fix division by zero on usage/2 call

This always used integers, but with the new unit setting for
recon_alloc, it is now possible to get floating point values in there.

This makes the call handle them.

8 years agoAdding binary_memory handling for recon:info/2,4
Fred Hebert [Fri, 15 Nov 2013 03:38:55 +0000 (22:38 -0500)] 
Adding binary_memory handling for recon:info/2,4

This was requested in issue #5 and allows the user to get information on
the total amount of refc binaries used by a process. The code also puts
some scaffolding in place in order to possibly add similar exceptions
later on if need arises.

Tests included.

8 years agoAdding binary_memory handling for proc_attrs
Fred Hebert [Thu, 14 Nov 2013 17:37:10 +0000 (12:37 -0500)] 
Adding binary_memory handling for proc_attrs

This was requested in issue #5 and allows the user to call
`recon:procs_count` and `recon:procs_window` and sort processes by
the amount of binary memory they refer to.

8 years agoAdd recon:get_state/2 to allow custom timeouts
Fred Hebert [Mon, 4 Nov 2013 14:41:35 +0000 (09:41 -0500)] 
Add recon:get_state/2 to allow custom timeouts

If some calls are epxected to take more than 5s, the current get_state
function is useless. This patch allows a customizeable timeout instead.

8 years agoTrailing whitespace removal
Fred Hebert [Thu, 31 Oct 2013 00:57:01 +0000 (20:57 -0400)] 
Trailing whitespace removal

8 years agoDoc fixes
Fred Hebert [Tue, 29 Oct 2013 22:06:25 +0000 (18:06 -0400)] 
Doc fixes

8 years agoDropping parallelism from port_info
Fred Hebert [Tue, 29 Oct 2013 19:35:01 +0000 (15:35 -0400)] 
Dropping parallelism from port_info

This allows better backwards compatibility with all OTP versions

8 years agoNewest rebar version
Fred Hebert [Sat, 26 Oct 2013 17:50:02 +0000 (13:50 -0400)] 
Newest rebar version

8 years agoExpanding tests for v2.0
Fred Hebert [Sat, 26 Oct 2013 17:49:46 +0000 (13:49 -0400)] 
Expanding tests for v2.0

8 years agoAdd shorthand recon_alloc:memory/1
Fred Hebert [Thu, 24 Oct 2013 01:31:23 +0000 (21:31 -0400)] 
Add shorthand recon_alloc:memory/1

Keeps basic backwards compatibility for the sake of it.

8 years agoAdd unit conversion for easier comparisons
Lukas Larsson [Mon, 14 Oct 2013 09:03:37 +0000 (11:03 +0200)] 
Add unit conversion for easier comparisons

When working with memory analysis, number often are quite big and become hard
to compare. Therefore it is nice to be able to work in giga/mega/kilo-bytes
depending on what memory you are currently looking at.

This commit adds support for changing which unit is used by all functions that
return a memory size.

8 years agoAdded current and max options to sbcs_to_mbcs
Lukas Larsson [Wed, 16 Oct 2013 14:22:37 +0000 (16:22 +0200)] 
Added current and max options to sbcs_to_mbcs

This is a backwards incompatible change

8 years agoRewrite of recon_alloc:memory
Lukas Larsson [Wed, 16 Oct 2013 14:22:10 +0000 (16:22 +0200)] 
Rewrite of recon_alloc:memory

Added a two new options; allocated_types and allocated_instances
that can be used to figure out which allocator types/instances most
data lies in.

Added a new parameter to specify whether you want the current or max
value. This works like sbcs_to_mbcs and you want it for the same reasons.

Change memory(used,_) to use the total block size rather than
erlang:memory(total). This number should be the same, but you can also
get the max value.

These changes are backwards incompatible with the old API

8 years agoUpdate docs for sbcs_to_mbcs
Lukas Larsson [Wed, 16 Oct 2013 14:17:04 +0000 (16:17 +0200)] 
Update docs for sbcs_to_mbcs

8 years agoChange average_sizes to average_block_sizes
Lukas Larsson [Wed, 16 Oct 2013 14:15:58 +0000 (16:15 +0200)] 
Change average_sizes to average_block_sizes

When figuring out what sizes to have in your lmbcs, smbcs or sbct it
is the average block size that is interesting. This is because we
usually want to modify the limits to fit as many blocks as we want in
one carrier. The average carrier size is easy enough to figure out by
just looking at the configurations of the allocators.

This is a backwards incompatible change.

8 years agoAdding recon suite
Fred Hebert [Sat, 26 Oct 2013 03:13:46 +0000 (23:13 -0400)] 
Adding recon suite

8 years agoAdding recon_alloc tests
Fred Hebert [Fri, 25 Oct 2013 02:01:49 +0000 (22:01 -0400)] 
Adding recon_alloc tests

8 years agoBump to 1.2.0 -- Adding snapshots to recon_alloc 1.2.0
Fred Hebert [Tue, 15 Oct 2013 17:37:21 +0000 (13:37 -0400)] 
Bump to 1.2.0 -- Adding snapshots to recon_alloc

This commit does a few minor fixes to @garazdawi's snapshot addition by
adding a few export clauses, adding or changing the documentation a bit,
and bumping the version number to 1.2.0

8 years agoAdd snapshot functionality for offline inspections
Lukas Larsson [Fri, 11 Oct 2013 13:27:33 +0000 (15:27 +0200)] 
Add snapshot functionality for offline inspections

When trying to debug memory issues it is not always possible to do
so on the target system. Snapshots in recon_alloc allows the user to
easily save a memory snapshot on the target node and then later analyze
it on some other machine.

The names of the functions in the API (i.e. snapshot_Action) was chosen in
order for the functions to be grouped in the documentation and not clutter
it.

See the documentation in snapshot_load/1 for an example use-case.

8 years agoMerge pull request #2 from alco/patch-1
Fred Hebert [Mon, 7 Oct 2013 11:46:28 +0000 (04:46 -0700)] 
Merge pull request #2 from alco/patch-1

Remove the dot after "vs" for better doc output

8 years agoRemove the dot after "vs" for better doc output
Alexei Sholik [Mon, 7 Oct 2013 09:59:08 +0000 (12:59 +0300)] 
Remove the dot after "vs" for better doc output

12:50 nox: MononcQc: sbcs_to_mbcs/0: "compares the amount of single block carriers (sbcs) vs. the number of multiblock carriers (mbcs) for each individual allocator in allocator()."
12:50 nox: the first dot after "vs" makes edoc keep only "compares the amount of single block carriers (sbcs) vs." as the function summary

8 years agov1.1.0 no longer a WIP
Fred Hebert [Mon, 23 Sep 2013 18:56:38 +0000 (14:56 -0400)] 
v1.1.0 no longer a WIP

8 years agobump vsn to 1.1.0 1.1.0
Fred Hebert [Mon, 23 Sep 2013 01:23:20 +0000 (21:23 -0400)] 
bump vsn to 1.1.0

8 years agoMerge branch 'allocators'
Fred Hebert [Mon, 23 Sep 2013 01:22:02 +0000 (21:22 -0400)] 
Merge branch 'allocators'

Conflicts:
.gitignore

8 years agoFixing doc format for edoc
Fred Hebert [Sat, 21 Sep 2013 14:31:46 +0000 (10:31 -0400)] 
Fixing doc format for edoc

8 years agoUpdating docs for port_info/1-2 functions
Fred Hebert [Sat, 21 Sep 2013 14:11:17 +0000 (10:11 -0400)] 
Updating docs for port_info/1-2 functions

8 years agoAdding port_info/1-2 to recon
Fred Hebert [Sat, 21 Sep 2013 13:41:30 +0000 (09:41 -0400)] 
Adding port_info/1-2 to recon

similar to recon:info/1-2, but for ports, with some port
implementation-specific stats included.

Also extends the recon_lib:term_to_port/1 accepted types.

8 years agoImproved documentation and glossary
Fred Hebert [Fri, 20 Sep 2013 13:20:01 +0000 (09:20 -0400)] 
Improved documentation and glossary

8 years agoMerge pull request #1 from garazdawi/patch-1
Fred Hebert [Thu, 19 Sep 2013 11:32:07 +0000 (04:32 -0700)] 
Merge pull request #1 from garazdawi/patch-1

The "main multiblock carrier" refers to the initial static carrier

8 years agoThe "main carrier" normally refers to the initial static carrier
Lukas Larsson [Thu, 19 Sep 2013 08:03:54 +0000 (10:03 +0200)] 
The "main carrier" normally refers to the initial static carrier

8 years agoImproving documentation for recon_alloc
Fred Hebert [Thu, 19 Sep 2013 03:01:26 +0000 (23:01 -0400)] 
Improving documentation for recon_alloc

Adding tips and pointers of what to do to solve problems that can be
found using the functions, following helpful advice from @garazdawi.

8 years agoCorrecting calls usage
Fred Hebert [Tue, 10 Sep 2013 04:10:39 +0000 (00:10 -0400)] 
Correcting calls usage

According to erlang:system_info/1 documentation, the format of
calls tuples is `{Key, GigaCalls, Calls}`. The module formerly
used only the `Calls` value, which would have given ridiculous cache hit
values if `GigaCalls` were to become used on a given node.

8 years agoAdding sbcs_to_mbcs/0 function
Fred Hebert [Tue, 10 Sep 2013 03:56:32 +0000 (23:56 -0400)] 
Adding sbcs_to_mbcs/0 function

This function checks the ratio of sbcs to mbcs block counts to
figure out if the lmbcs value for a specific kind of allocator
is too low.

8 years agoAdding docs, fixing APIs
Fred Hebert [Tue, 10 Sep 2013 03:21:52 +0000 (23:21 -0400)] 
Adding docs, fixing APIs

We drop the dump format support -- not useful and conflicting if only
part of the functions can support it (i.e. not memory/1)

8 years agoadding recon_lib:term_to_port/1
Fred Hebert [Tue, 10 Sep 2013 01:30:54 +0000 (21:30 -0400)] 
adding recon_lib:term_to_port/1

8 years agoPrototype memory allocator analysis
Fred Hebert [Sun, 8 Sep 2013 18:07:41 +0000 (14:07 -0400)] 
Prototype memory allocator analysis

Still just dabbling with diagnostics

8 years agobump to 1.0.0: adding info/2, info/4 1.0.0
Fred Hebert [Thu, 5 Sep 2013 16:29:16 +0000 (12:29 -0400)] 
bump to 1.0.0: adding info/2, info/4

8 years agoMaking app_deps.erl script support releases
Fred Hebert [Fri, 30 Aug 2013 13:30:00 +0000 (09:30 -0400)] 
Making app_deps.erl script support releases

Assuming releases have an apps/ + deps/ structure. apps/ is optional, of
course.

8 years agobin_leak issues over long process lists solved. 0.4.1
Fred Hebert [Thu, 15 Aug 2013 18:17:33 +0000 (14:17 -0400)] 
bin_leak issues over long process lists solved.

nodes with lots of processes can see the GC call fail if said
processes failed between long calls within the `bin_leak` function call.

This patch inserts correct dummy values to avoid the issue.

8 years agoFix recon_lib failing on long ports or proc lists 0.4.0
Fred Hebert [Fri, 9 Aug 2013 17:45:00 +0000 (13:45 -0400)] 
Fix recon_lib failing on long ports or proc lists

Nodes with lots of processes or ports can see their proc_count,
proc_window, inet_count, or inet_window functions fail due to a race
condition where:

1. The list of ports or processes is created;
2. The ports or processes are iteratively polled for their properties;
3. Some port or process closes;
4. A badmatch error occurs and the entire function fails.

The error specifically happens in the functions of arity 2 in recon_lib
that made the fetch to each port or process.

The interface of these functions are getting changed to:

- account for the error
- return {ok, State} or {error, Reason} depending on the case

Moreover, the functions of arity 1 in recon_lib that make use of them
are changing so that their list comprehension filters bad data --
which we do not care about anyway.

A similar change is included to respect the new API in recon's refc
binary leak function.

8 years agoBetter pid handling and conversion 0.3.1
Fred Hebert [Fri, 9 Aug 2013 15:29:19 +0000 (11:29 -0400)] 
Better pid handling and conversion

factored out some logic from recon:info/1 into recon_lib:term_to_pid
and allowed arbitrary terms to be used for pids in recon:get_state/1.

8 years agoTypoes, more of them always.
Fred Hebert [Wed, 7 Aug 2013 23:08:58 +0000 (19:08 -0400)] 
Typoes, more of them always.

8 years agobump to 0.3.0 0.3.0
Fred Hebert [Wed, 7 Aug 2013 00:31:29 +0000 (20:31 -0400)] 
bump to 0.3.0

8 years agoDoc fixes, again.
Fred Hebert [Thu, 1 Aug 2013 20:38:07 +0000 (16:38 -0400)] 
Doc fixes, again.

8 years agoAdding source link in EDoc.
Fred Hebert [Thu, 1 Aug 2013 20:27:18 +0000 (16:27 -0400)] 
Adding source link in EDoc.

8 years agoStupid typoes
Fred Hebert [Thu, 1 Aug 2013 20:20:48 +0000 (16:20 -0400)] 
Stupid typoes

8 years agoPoint to github pages for docs
Fred Hebert [Thu, 1 Aug 2013 20:16:45 +0000 (16:16 -0400)] 
Point to github pages for docs

8 years agoAdding github static site generator
Fred Hebert [Thu, 1 Aug 2013 20:08:25 +0000 (16:08 -0400)] 
Adding github static site generator

The generator is not very good, and the design is fairly bad.
It's more or less a placeholder for something when more/better docs
is needed, if the project ever gathers users.

The script will generate content from the EDoc documentation, apply the
styles from site/screen.css and make something nicer than the default
OTP frame-based layout.

8 years agoMore docs.
Fred Hebert [Thu, 1 Aug 2013 20:05:50 +0000 (16:05 -0400)] 
More docs.

8 years agoAdding inet_count/2 and inet_window/3 functions
Fred Hebert [Tue, 30 Jul 2013 01:18:02 +0000 (21:18 -0400)] 
Adding inet_count/2 and inet_window/3 functions

Similar to existing process functions, but for open TCP, UDP, and SCTP
connections.

8 years agoFixing specs & reorder arguments
Fred Hebert [Tue, 30 Jul 2013 01:16:39 +0000 (21:16 -0400)] 
Fixing specs & reorder arguments

The proc_window arguments were the wrong way around for the 2nd and 3rd
ones, compared to the type spec.

8 years agoVersion bump to 0.2.0 0.2.0
Fred Hebert [Fri, 19 Jul 2013 21:21:24 +0000 (17:21 -0400)] 
Version bump to 0.2.0

8 years agoAdding node stats functions
Fred Hebert [Fri, 19 Jul 2013 21:20:55 +0000 (17:20 -0400)] 
Adding node stats functions

- adds a time_fold and time_map in recon_lib
- typespecs fixed

8 years agoAdd RPC functions
Fred Hebert [Fri, 19 Jul 2013 20:08:43 +0000 (16:08 -0400)] 
Add RPC functions

8 years agoAllow to print the source of a module
Fred Hebert [Fri, 19 Jul 2013 19:36:52 +0000 (15:36 -0400)] 
Allow to print the source of a module

8 years agoBetter abstracting, added Doc
Fred Hebert [Fri, 19 Jul 2013 19:19:50 +0000 (15:19 -0400)] 
Better abstracting, added Doc

8 years agoDocs improvements
Fred Hebert [Fri, 19 Jul 2013 17:50:44 +0000 (13:50 -0400)] 
Docs improvements

8 years agoBSD 3-clause license
Fred Hebert [Fri, 19 Jul 2013 17:42:53 +0000 (13:42 -0400)] 
BSD 3-clause license

8 years agoAdding scripts
Fred Hebert [Fri, 19 Jul 2013 17:42:21 +0000 (13:42 -0400)] 
Adding scripts

- app_deps for application dependencies
- erl_crashdump_analyzer.sh for quick crashdump diagnostics

8 years agoMake EDoc generation work and the recommended info
Fred Hebert [Fri, 19 Jul 2013 16:22:27 +0000 (12:22 -0400)] 
Make EDoc generation work and the recommended info

8 years agoAdding functions & Doc
Fred Hebert [Fri, 19 Jul 2013 16:15:06 +0000 (12:15 -0400)] 
Adding functions & Doc

New functions for get_state and finding binary leaks

8 years agoDeleting accessor functions, adding docs
Fred Hebert [Fri, 19 Jul 2013 16:13:39 +0000 (12:13 -0400)] 
Deleting accessor functions, adding docs

8 years agoSupport more pid forms for info/1-3
Fred Hebert [Fri, 19 Jul 2013 16:09:12 +0000 (12:09 -0400)] 
Support more pid forms for info/1-3

Also documentation inline.

8 years agoAdding warning of incomplete documentation
Fred Hebert [Mon, 8 Jul 2013 14:44:19 +0000 (10:44 -0400)] 
Adding warning of incomplete documentation

8 years agoRefactoring count & window functions to be generic
Fred Hebert [Mon, 8 Jul 2013 14:42:54 +0000 (10:42 -0400)] 
Refactoring count & window functions to be generic

Also added shorthand for memory metrics on top of reductions

8 years agoMore efficient way to look up process_info
Fred Hebert [Mon, 8 Jul 2013 14:08:36 +0000 (10:08 -0400)] 
More efficient way to look up process_info

Erlang already supports looking up lists of attributes rather than
making N calls for each attribute individually.

9 years agoAdd reductions/1, fix reductions sort order
Fred Hebert [Fri, 24 May 2013 12:34:07 +0000 (08:34 -0400)] 
Add reductions/1, fix reductions sort order

reductions/1 is similar to reductions/2 but doesn't work over a time
window.

both functions sorted on the pid instead of the reduction count.
Reduction count is now the only item used for sorting.

9 years agoAdding port-counting functions
Fred Hebert [Tue, 21 May 2013 00:24:27 +0000 (20:24 -0400)] 
Adding port-counting functions

TCP, UDP, SCTP, Files, and global count. Nice to find leaks.

9 years agoRemote code loading fun
Fred Hebert [Mon, 20 May 2013 23:41:28 +0000 (19:41 -0400)] 
Remote code loading fun

9 years agoReworking structure, adding info/1-3
Fred Hebert [Mon, 20 May 2013 22:03:00 +0000 (18:03 -0400)] 
Reworking structure, adding info/1-3