php
/*
**View the WINDOWS system process list and find out whether the specified process exists
*/$tasklist = $_SERVER["WINDIR"]."/system32/tasklist.exe"; //Find the windows system The path of tasklist
//print($tasklist); Run tasklist .exe, returns an array $arr//print_r($arr); //Print array//Use a loop to print the process listforeach($arr as$value
){ $list = explode("
",$value );print( $list[0].
'
'); /* if('php.exe'==$list[0]){ echo $info[0].'
'; } */}?> ;
The above introduces PHP to view WINDOWS system processes, including aspects of the process. I hope it will be helpful to friends who are interested in PHP tutorials.