How to execute a bash/shell command on WebUI in OpenWrt 19.07.6

I want to execute some bash/shell commands and show the output of the same commands on the overview page (image attached)


Please tell me how to do it?

You should probably study

if possible then Please suggest to me that specific section.

Assuming you're running a recent version of OpenWrt, you need to create a js file in /www/luci-static/resources/view/status/include/ to display information there. You can refer to js files already there for information.