Skip to content

Kotz-dev/ProcMon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProcMon

Oque é ProcMon ?

É uma biblioteca para monitorar o sistema na execução de programas no sistema operacional.

Como usar ?

#include <iostream>
#include "ProcMon.h"
int main() {
 ProcMon process {};
  for (auto & i : process.Process()) {
        std::cout << "PID: "     << i.pid  << "\t"
                  << "Threads: " << i.numThreads  << "\t"
                  << "Nome: "    << i.name << "\n";
  }
    return 0;
}

O Resultado da Saida

PID: 21736      Threads: 2      Nome: ApplicationFrameHost.exe
PID: 21744      Threads: 42     Nome: SystemSettings.exe
PID: 22432      Threads: 3      Nome: WmiApSrv.exe
PID: 5704       Threads: 9      Nome: msedge.exe
PID: 8296       Threads: 1      Nome: RuntimeBroker.exe
PID: 22780      Threads: 9      Nome: steamwebhelper.exe
PID: 2028       Threads: 107    Nome: firefox.exe
PID: 20088      Threads: 2      Nome: crashhelper.exe

Requisitos

  • C++20
  • MSVC and MIGW

About

Biblioteca C++ para monitorar processos no Windows

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors