Quote:
Originally Posted by Dream
I think you ate a } after
PHP Code:
if ($_REQUEST['show'] == 'memoryusage' || empty($_REQUEST['show'])) { print_form_header('', ''); print_table_header('Memory Usage <span class="normal">exec(free)</span>'); exec('vmstat', $mem); print_description_row('<pre>'.implode('<br />', $mem).'</pre>'); print_table_footer();
|
No! I made the mistake in "free" on line 4 where I should put vmstat. I only placed vmstat once instead of twice. Sorry. Now it's working fine
I clicked "Mark as Installed"