Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

See more than 6 processes #14

Closed
dave7373 opened this issue Jan 23, 2013 · 2 comments
Closed

See more than 6 processes #14

dave7373 opened this issue Jan 23, 2013 · 2 comments

Comments

@dave7373
Copy link

I would like to see more than just the 6 top processes when running etop.
So I tracked down where this can be set in the code.

I could get more data by changing one value.

I changed prfPprc.erl line 28 form

-record(cst,{items=6

to

-record(cst,{items=19

This works and now I can see 19 top erlang processes, not just 6.
But I would like to know if there are any valid important motivations
for limiting the list to 6? Have i missed something important ?

@massemanet
Copy link
Owner

The prf stuff implements a distributed system, where there is a server on the target node, and any number of clients. That is, there can be more than one client using the data provided by prfPrc. Changing the 'items' parameter affects the server, and will change the data seem by all the clients.

The above is just an observation, and here's how you change 'items';
prf:config(dtop,consumer,{items,1}).

@dave7373
Copy link
Author

Works perfectly. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants