Open kinglion580 opened 6 years ago
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"
I have the same problem
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 usingtop -n 1
But I don't know how to do with uwsgitop.