Sunday, September 21, 2008

Piping pslist or tslist to findstr

If you are are a console junkie and you frequently play around or look around what is running in your system you may find that using TaskManager can be time consuming and limiting. So I looked around and found a way to use pslist (from Windows Sysinternals) or tslist ( a built in command line ).

The command below means to show information about a process running on "remote_machine" with process name of python.exe
D:\><path_to_pslist>pslist.exe \\remote_machine | findstr python.exe

This one is using the built in tslist command. Same as before, we want to query for a process named python.exe on "remote_machine."
D:\> tslist /S remote_machine | findstr python

~ts

No comments:

SBCL Hello world

SBCL Hello, world! Version info: - OS: Windows 11 23H2 (Microsoft Windows [Version 10.0.22631.7079]) - Emacs: 30.2 - SBCL : 2.6.4 - SLI...