Skip to content
Like `tasklist`, but 5x faster.
Branch: master
Clone or download
Latest commit 65a9eae Oct 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.appveyor.yml
.gitignore
README.md Fix typo Oct 6, 2018
bench.cmd
fastlist.cpp Add parent process ID Oct 5, 2018

README.md

fastlist Build status

Like tasklist, but 5x faster.

    Name  Process Time  System   Context    Page  Total I/O
                         Calls  Switches  Faults
fastlist   0:00:00.031    7933      1571    4693     174322
tasklist   0:00:00.148   71404     28577    6773    1606046

For each process, fastlist prints (1) the executable file, (2) the process ID, and (3) the parent process ID, each separated by a \t, followed by a \n. For example:

λ fastlist
parent.exe  1  0
child.exe   2  1

fastlist is presumably faster than tasklist because it does not print the session name, session number, nor the memory usage of each process. Unlike tasklist, it does, however, additionally print the parent process ID.

Development

  • Install dependencies: scoop install visualc rktools2k3
  • Build binary: cl fastlist.cpp
  • Run benchmark: bench 100

License

MIT

You can’t perform that action at this time.