Skip to content

CastellaniDavide/getprocess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getprocess

GitHub license Author Version Language Python sys.platform supported On GitHub

Description

This code is made to make easier for you take some info about every thread on your PC. You can run this code in two modalities:

  • GUI mode: user-friendly and easy to use
    • Follow the options on the screen
  • CLI mode: this is the pro mode, I suggest this if you want to use this into a PIPE of programs, or other advanced uses
    • -flussiFolder : Set the csv file(s)
    • -logFile : Set the log position
    • -thread : Choose which thread to analyze
    • -harperLink : Set the HarperDB link
    • -harperToken : Set the HarperDB Token
    • -harperTable : Set the HarperDB Table
    • -harper : Enable/ Disable HarperDB
    • -GUI : Enable/ Disable GUI
    • -booldebug : Enable/ Disable verbose

An example of GUI: Example GUI

Required

  • Windows (v10 or more)

Directories structure

  • .gitignore
  • LICENSE.md
  • .github
    • ISSUE_TEMPLATE
      • bug_report.md
      • feature-request.md
  • docs
    • *.md
  • flussi (example output)
    • getprocess.csv
  • log (example log)
    • trace.log
  • getprocess
    • src
      • getprocess.ps1

Execution examples

  • Go into the powershell code folder
  • Write on the shell: powershell .\getprocess.ps1 (by defaults it runs int GUI mode)
  • Some parameters (usable only if you disable GUi mode):
    • -flussiFolder: set the folder where save CSV file, by default "..\flussi"
    • -logFile: set the folder where save log info, by default "..\..\log\trace.log"
    • -GUI: enable or disable GUI mode (only 0 or 1 accepted), by default 1
    • -booldebug: enable or disable debug mode (only 0 or 1 accepted), by default 0

Output location

  • *.csv (if enabled) in the location where the code was lauched
  • *.log
    • C:/Program Files/getprocess/* on Windows
    • ~/* on linux
    • current location (if you didn't lauch the code with the correct rights)

Made by Castellani Davide If you have any problem please contact me: