[psutil-nim](https://github.com/juancarlospaco/psutil-nim/) might help you get 
started, specifically the [pids 
function.](https://github.com/juancarlospaco/psutil-nim/blob/master/src/psutil/psutil_windows.nim#L55)
 It gets a list of process IDs on Linux and, within the last few weeks Windows, 
as shown in the second link.

You _may_ have to build right from Github because I think the release in nimble 
doesn't include Windows support yet. I added most of the Windows functions 
there within the last 3 weeks.

It doesn't have the Process code like psutil does in Python, but if you're 
comfortable with Linux or Windows system programming, adding it shouldn't be 
months of work. PRs welcome of course.

What kind of information are you looking to get from a Process?

Reply via email to