microsoft / microsoft/ProcMon-for-Linux

Add output option / Grepable output

Open
#43 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C
Stars
4.7k
Forks
295
Avg merge
2d 9h
Merged PRs (30d)
9

Description

Would be nice to be able to grep the output.

Adding a -o/--output option with different output formats (json, jsonc, none, table, tsv, yaml, yamlc) would be best.

Example:

procmon -f procmon_2020-07-23_01\:54\:51.db  -o tsv | grep ssh

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the procmon command-line argument handling and output-generation code, then determine how the requested -o/--output formats should be represented; done means the example can emit tsv that grep can consume and the listed formats are handled consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.