Skip to content

Instantly share code, notes, and snippets.

@shimarin
Forked from Yasushi/gist:69437
Created February 24, 2009 06:48
Show Gist options
  • Save shimarin/69450 to your computer and use it in GitHub Desktop.
Save shimarin/69450 to your computer and use it in GitHub Desktop.
<?
echo '<pre>';
echo shell_exec("top -nt"); #FreeBSD用
echo shell_exec("mysql -u ユーザ名 --password=パスワード -h DBホスト -e 'show full processlist'");
echo '</pre>';
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment