mysql_connect("mysql153.secureserver.net","rntsoft","password");
$processes = mysql_list_processes();
echo "";
echo "ID User Host DB
Command Time State Info
";
while ($row = mysql_fetch_row($processes)) {
list($id,$user,$host,$db,$command,$time,$state,$info) = $row;
echo "$id $user
$host $db $command
$time $state $info
";
}
echo "
";
?>