I want to show port numbers and services running currently on a web page. And if after some time if any service is terminated then the web page should automatically update it.
How can I do this using php? I am able to list current ports and services but not able to update it in real time.
Thank you in advance.