You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,14 @@
3
3
Before we can accept a pull request from you, you'll need to sign a [Contributor License Agreement (CLA)](https://cla.microsoft.com). It is an automated process and you only need to do it once.
4
4
To enable us to quickly review and accept your pull requests, always create one pull request per issue and link the issue in the pull request. Never merge multiple requests in one unless they have the same root cause. Be sure to follow our Coding Guidelines and keep code changes as small as possible. Avoid pure formatting changes to code that has not been modified otherwise. Pull requests should contain tests whenever possible.
5
5
6
+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
7
+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
The master branch contains current development. While CI should ensure that master always builds, it is still considered pre-release code. Release checkpoints will be put into stable branches for maintenance.
11
+
The main branch contains current development. While CI should ensure that main always builds, it is still considered pre-release code. Release checkpoints will be put into stable branches for maintenance.
8
12
9
-
To contribute, fork the repository and create a branch in your fork for your work. Please keep branch names short and descriptive. Please direct PRs into the upstream master branch.
13
+
To contribute, fork the repository and create a branch in your fork for your work. Please keep branch names short and descriptive. Please direct PRs into the upstream main branch.
Copy file name to clipboardExpand all lines: README.md
+41-18Lines changed: 41 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,30 @@
1
-
# Procmon
2
-
Procmon is a Linux reimagining of the classic Procmon tool from the Sysinternals suite of tools for Windows. Procmon provides a convenient and efficient way for Linux developers to trace the syscall activity on the system.
1
+
# Process Monitor for Linux (Preview)
2
+
Process Monitor (Procmon) is a Linux reimagining of the classic Procmon tool from the Sysinternals suite of tools for Windows. Procmon provides a convenient and efficient way for Linux developers to trace the syscall activity on the system.
3
3
4
4

5
+
6
+
# Installation & Usage
7
+
8
+
## Requirements
9
+
* Minimum OS:
10
+
* Ubuntu 18.04 lts
11
+
*`cmake` >= 3.13 (build-time only)
12
+
*`libsqlite3-dev` >= 3.22 (build-time only)
13
+
14
+
5
15
## Install Procmon
6
16
Checkout our [install instructions](INSTALL.md) for ditribution specific steps to install Procmon.
The distribution packages for Procmon for Linux are constructed utilizing `debbuild` for Debian targets and `rpmbuild` for Fedora targets.
48
+
The distribution packages for Procmon for Linux are constructed utilizing `cpack`.
43
49
44
50
To build a `deb` package of Procmon on Ubuntu simply run:
45
51
```sh
46
-
make && make deb
47
-
```
48
-
49
-
To build a `rpm` package of Procmon on Fedora simply run:
50
-
```sh
51
-
make && make rpm
52
+
cd build
53
+
cpack ..
52
54
```
53
55
54
56
## Usage
@@ -57,6 +59,9 @@ Usage: procmon [OPTIONS]
57
59
OPTIONS
58
60
-h/--help Prints this help screen
59
61
-p/--pids Comma separated list of process ids to monitor
62
+
-e/--events Comma separated list of system calls to monitor
63
+
-c/--collect [FILEPATH] Option to start Procmon in a headless mode
64
+
-f/--file FILEPATH Open a Procmon trace file
60
65
```
61
66
62
67
### Examples
@@ -68,6 +73,24 @@ The following traces processes with process id 10 and 20
68
73
```
69
74
sudo procmon -p 10,20
70
75
```
76
+
The following traces process 20 only syscalls read, write and openat
77
+
```
78
+
sudo procmon -p 20 -e read,write,openat
79
+
```
80
+
The following traces process 35 and opens Procmon in headless mode to output all captured events to file procmon.db
81
+
```
82
+
sudo procmon -p 35 -c procmon.db
83
+
```
84
+
The following opens a Procmon tracefile, procmon.db, within the Procmon TUI
85
+
```
86
+
sudo procmon -f procmon.db
87
+
```
88
+
89
+
# Feedback
90
+
* Ask a question on StackOverflow (tag with ProcmonForLinux)
91
+
* Request a new feature on GitHub
92
+
* Vote for popular feature requests
93
+
* File a bug in GitHub Issues
71
94
72
95
# Contributing
73
96
If you are interested in fixing issues and contributing directly to the code base, please see the [document How to Contribute](CONTRIBUTING.md), which covers the following:
0 commit comments