Heey all,
I have made a platform to show CPU, RAM and swap data. This data is entered in a database for analysing reasons. At this moment it's written in a bash script using the proc filesystem.
The platform is written in PHP using Symfony framework.
Should i consider moving the bash scripts to my PHP project and make use of the functions system()
, exec()
, shellExec()
Or shall i stay with the bash scripts?
I'd to know this in security point of view. With sources for more info.
For now the bash scripts post data to an url (which comes from the symfony project)
The servers are running Debian.