Giter Club home page Giter Club logo

proc_to_influxdb's Introduction

proc_to_influxdb

ever wondered what processes are being started and stopped on your machine?

observe windows process starts and stops via InfluxDB, influxdb-csharp, WqlEventQuery, with the code cleaning help of Reactive Extensions.

query in InfluxDB

after

create database processes

and running the application (requires administration rights)

query:

> select * from processes..lifecycle order by time desc limit 10
name: lifecycle
---------------
time                event_name host  parent_process_id process_id process_name
1477664284913589760 stopped    PING2 0                 13888      dllhost.exe
1477664283913088768 stopped    PING2 0                 5344       dllhost.exe
1477664279910585088 stopped    PING2 0                 7660       nvtray.exe
1477664278912537600 stopped    PING2 0                 13624      nvtray.exe
1477664278912537344 started    PING2 12844             7660       nvtray.exe
1477664278911542016 started    PING2 9000              3736       conhost.exe
1477664278911542016 started    PING2 948               13888      dllhost.exe
1477664278911542016 started    PING2 12664             9000       observable_win_process.exe
1477664278911541760 stopped    PING2 0                 6028       consent.exe
1477664278910555648 started    PING2 948               5344       dllhost.exe

Example limiting the query to a time frame and a certain process:

select * from processes..lifecycle
   WHERE time > '2016-10-27T20:21:00Z' AND time < '2016-10-27T20:21:00Z' + 1m
   AND process_name = 'git.exe'

proc_to_influxdb's People

Contributors

d-led avatar

Stargazers

Pavol Decky avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.