in reply to using CGI to output a system command
If it does need to be on demand/realtime, you might want to at least consider using something like Cache::FileCache to cache the output for at least a minute or so so that users refreshing the page doesn't needlessly hammer your system. But depends entirely on how many people will look at this at a time and what resources the system command uses.0 */2 * * * /usr/bin/your_cmd > /var/www/html/foo.html
|
|---|