xrmx / uwsgitop

top-like app for monitoring uWSGI instances

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I save the output of uwsgitop to a text

kinglion580 opened this issue · comments

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.

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.

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