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

How can I save the output of uwsgitop to a text #54

Open
kinglion580 opened this issue Nov 5, 2018 · 3 comments
Open

How can I save the output of uwsgitop to a text #54

kinglion580 opened this issue Nov 5, 2018 · 3 comments

Comments

@kinglion580
Copy link

I want to save the output of uwsgitop at a certain time into a text, so that I can use some scripts to analyze the state of uwsgi at a certain time.

I know that the top command can get a static result using top -n 1

But I don't know how to do with uwsgitop.

@xrmx
Copy link
Owner

xrmx commented Nov 5, 2018

Adding a -n option would be helpful, it's matter of counting the iterations of the loop and exit when it matches the one passed as argument. Feel free to open a PR implementing that.

@holgi holgi mentioned this issue Sep 17, 2020
@renoyuan
Copy link

I try -n
"uwsgitop: error: unrecognized arguments: -n"

@Hong-yu1999
Copy link

I have the same problem

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

4 participants