GithubHelp home page GithubHelp logo

darrenldl / stramon Goto Github PK

View Code? Open in Web Editor NEW
25.0 2.0 0.0 323 KB

Process behavior monitoring utility and library based on strace

License: MIT License

Dockerfile 0.87% Makefile 0.74% OCaml 95.94% Shell 2.40% Standard ML 0.05%
strace process-monitoring

stramon's Introduction

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

stramon's People

Contributors

darrenldl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.