[Solved] getting realtime output of the ‘top’ linux command in a web browser with flask python

Stan1234 Asks: getting realtime output of the ‘top’ linux command in a web browser with flask python
Currently I am in the process of building an application which is capable of executing shell commands and fetching the results to a web browser. My problem is that the results display fine on the browser but not in real time. The command I’m having trouble with is the linux ‘top’ command. And as we know, this command sends the list of processes executed on the system as well as the CPU, RAM and in real time. Is it possible to do this with flask ??? I’ve seen similar posts before but they didn’t help me. And frankly I’m still new to flask and your help will be very useful to me. thanks in advance

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.