benfred / py-spy

Sampling profiler for Python programs
MIT License
12.13k stars 401 forks source link

how can the `top` instruction have output #665

Open zyflzz opened 1 month ago

zyflzz commented 1 month ago

May I ask: What command should I use to use py-spy for real-time monitoring and send the monitored data to a file (or message queue) while monitoring? Or, in other words, how can the top instruction have output?