GitXplorerGitXplorer
d

stramon

public
26 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
9e295896a028215061caaacb6f556aca815f1225

Removed fexecve

ddarrenldl committed 2 years ago
Unverified
674d661720d32f230e1bcabbd2c1ead5e5d52ba6

Added more handling of syscalls

ddarrenldl committed 2 years ago
Unverified
17cf8960365292d5cde41d4e059db9bd21720ec0

Updated stramon help message

ddarrenldl committed 2 years ago
Unverified
b28515b397c834d50556bd09bdf0523c46860995

Updated CHANGELOG

ddarrenldl committed 2 years ago
Unverified
ac6c90d2271004d5f96de794acb59d48273e940c

Updated gitignore

ddarrenldl committed 2 years ago
Unverified
57472e48947d0b3c6f825c469a614918d47c3087

Updated stramon

ddarrenldl committed 2 years ago

README

The README file for this repository.

Stramon

Process behavior monitoring utility and library based on strace

Installation

Stramon is primarily distributed as a statically linked binary in releases right now.

Building from source

Easiest way is to first build a container image using the Dockerfile under containers/statically-linked

$ cd containers/statically-linked
$ podman build . -t stramon

Then run start-container.sh to start and enter the container, navigate to the mounted repo location within the container and use the release static make command

$ ./start-container.sh
# cd /root/stramon # now we are inside the container
# make release-static

The statically linked binary should now be available as statically-linked/stramon

Usage

To trace a command:

$ stramon CMD

stramon-latest.json symlink is updated to point to the newest JSON file

$ cat stramon-latest.json | jq "."

Help message

$ straamon --help
stramon [-o JSON_OUTPUT] -- prog arg ...
  -o JSON file output path, defaults to: stramon_DATE-TIME.json.
If provided path PATH is a directory, then output path is PATH/stramon_DATE-TIME.json
  -f Force overwrite of output file
  --no-link Disable adding/updating symlink stramon-latest.json
  --version Print version and exit
  --debug Enable debugging output to OUTPUT_PATH.debug
  --raw Copy received strace output to OUTPUT_PATH.raw
  -help  Display this list of options
  --help  Display this list of options

Example JSON files

  • Firefox: examples/firefox.json