Run top inside container and add results to panel in real time?

Is there a way to show the results in a panel (table or else) of running top inside a container?
This is to be able to show the processes inside the container.

  • What Grafana version and what operating system are you using?
    Grafana 9.0.4, Linux

  • What are you trying to achieve?
    Show in a panel the results of running top in a container