1 , see the window all processes tasklist 2 to view the process ID windows occupied by tasklist | findstr 1916 3 , kill the process, the process pid taskkill / f / pid 10156 4 view window occupied by process name tasklist | findstr " Redis " 5 view window all port numbers netstat - Ano 6 , view windows occupied by the specified port number netstat -ano | findstr " 8080 " 7 , to obtain the total memory information systeminfo | the Find " total physical memory " 8 to get the total disk space wmic GET Size diskdrive / value 9Obtaining details of local disk space the WMIC LogicalDisk the WHERE MediaType = ' 12 is ' the GET the DESCRIPTION, as DEVICEID, FILESYSTEM, SIZE, FREESPACE 10 , the computer details see SystemInfo . 11 , to view the total disk space and the residual space fsutil volume diskfree c: