Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7803593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:38:05+00:00 2026-06-02T01:38:05+00:00

I am trying to find out more about the work distribution between the processes

  • 0

I am trying to find out more about the work distribution between the
processes of my Erlang application. The number of reductions executed by a
process is, among others, one of the things I am interested.

So I am looking for a means of reading the number of reductions of a
process when it exits. While it is be quite straightforward to get
this kind of info while the processes is still executing, getting them
just before (or rightly after) they exit is another story. I have
looked all over the documentation, specially dbg:* functions,
unfortunately, to no avail. Mostly because whenever I am notified
about the exit of a process it is already too late to do anything
about it.

Changing the code of the entire application to read these values
before the processes exit is unfeasible. Is there some way to do it
other than diving into the VM code and instrumenting it?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T01:38:07+00:00Added an answer on June 2, 2026 at 1:38 am

    I don’t think you can get reductions for processes, but you could get a time-based work distribution by doing a erlang:trace/3 with running and timestamp options. That would get you what you want I think. Naturally you have to collect the data and do some post-processing or perhaps just-in-time processing.

    I would also use the option procs to the trace to get the necessary meta-information, i.e. started, terminated etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use tasklist to find out which process is consuming more than
I have been trying to find out more about Voldemort but it doesn't seem
I'm trying to find out more about closures in Javascript and was going through
I am trying to find out if there is a more optimal way for
I'm trying to find out how much memory my own .Net server process is
I am not sure how to find out more about whats wrong with my
Im trying to find out a good JavaScript library that can create a nice
Hi was trying to find out time taken for the execution of an API
I'm trying to find out if VisualHint.SmartPropertyGrid.PropertyGrid will meet my needs for setting properties,
I'm trying to find out if there is any way to elevate a specific

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.