Show command in execution

Hello guys, I have many commands that run through ssh, like update, etc …

How can I view these commands executed, creating a python script, for example by opening a window Dialog?

Or they see how when you back up?

Thanks for your help

If you want to list currently running processes in kodi, you might have to write a plugin for that or find one on theinternet.
On ssh, you can use the
command to list running processes.