There are 2 repositories under process-list topic.
Source code of exploiting windows API for red teaming series
Cross-platform native method to receive the list of the launched processes
Example Windows Kernel-mode Driver which enumerates running processes.
a FreeBSD utility to list all processes running with outdated binaries or shared libraries
Get process handle(s) from process name using NtGetNextProcess and GetProcessImageFileName
Get process handle(s) from process name using NtGetNextProcess and GetProcessImageFileName