How can I save the output of uwsgitop to a text
kinglion580 opened this issue · comments
kinglion commented
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.
Riccardo Magliocchetti commented
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.
貌似大家 commented
I try -n
"uwsgitop: error: unrecognized arguments: -n"