Today, I need to remote my home server from mobile network. Since I don't know who is using the computer at that moment, I cannot start Remote Desktop to avoid family complain ;-). So the question is here: how do I know which program/process is running. In Windows, I can start the "Task Manager" to check the processes. In the command prompt, below is the solution:
> wmic process get name
To filter out necessary information, you may:
> wmic process get name |fine /I "{the text you want to search}"
To know the help, type:
> wmic /?
> wmic process /?
> wmic process get /?
...
For more reference, please see:
http://msdn.microsoft.com/en-us/library/aa394572(VS.85).aspx
Note: Windows XP Home edition does not come with WMIC function.
Blogged with the Flock Browser
沒有留言:
發佈留言