All Projects → luser → tracetree

luser / tracetree

Licence: MIT license
A tool for capturing the execution of an entire process tree

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to tracetree

goref
golang simple, thread-safe invocation tracker
Stars: ✭ 27 (-32.5%)
Mutual labels:  profiler
LazProfiler
One-Click-Profiler addon for Lazarus
Stars: ✭ 25 (-37.5%)
Mutual labels:  profiler
not-enough-standards
A modern header-only C++ library that provides platform-independent utilities.
Stars: ✭ 197 (+392.5%)
Mutual labels:  process
linux-inspect
linux-inspect implements various Linux inspecting utilities.
Stars: ✭ 32 (-20%)
Mutual labels:  process
workflower-bundle
A Symfony bundle for Workflower
Stars: ✭ 23 (-42.5%)
Mutual labels:  process
spyder-line-profiler
This is a plugin to run the python line profiler from within the spyder editor.
Stars: ✭ 30 (-25%)
Mutual labels:  profiler
pylaprof
A Python sampling profiler for AWS Lambda functions (and not only).
Stars: ✭ 12 (-70%)
Mutual labels:  profiler
rmem
MTuner SDK - Memory profiling library
Stars: ✭ 25 (-37.5%)
Mutual labels:  profiler
jquery-profile
jQuery plugin to profile calls to jQuery selectors.
Stars: ✭ 39 (-2.5%)
Mutual labels:  profiler
cozgo
Coz profiler Golang wrapper - Coz employs a novel technique we call causal profiling that measures optimization potential.
Stars: ✭ 99 (+147.5%)
Mutual labels:  profiler
bpmn-vue-activiti
基于Vue3.x + Vite + bpmn-js + element-plus + tsx 实现的Activiti流程设计器(Activiti process designer based on Vue3.x + Vite + BPMN-JS + Element-Plus + TSX implementation)
Stars: ✭ 345 (+762.5%)
Mutual labels:  process
ProcessInjector.NET
Learning Process Injection and Hollowing techniques
Stars: ✭ 23 (-42.5%)
Mutual labels:  process
pidswallow
A swallower script using process hierarchy.
Stars: ✭ 40 (+0%)
Mutual labels:  process
ttt-tdd
Book about test-driven development with an example of making “Tic-Tac-Toe” by TDD · ❌ ⭕️ 🧪
Stars: ✭ 29 (-27.5%)
Mutual labels:  process
TuneUp
A profiler for Dynamo graphs
Stars: ✭ 27 (-32.5%)
Mutual labels:  profiler
read-env
🔧 Transform environment variables into JSON object with sanitized values.
Stars: ✭ 60 (+50%)
Mutual labels:  process
BadCoderz
Find unoptimized gmod addons and KILL the devs who made them
Stars: ✭ 66 (+65%)
Mutual labels:  profiler
ansible-process exporter
Provision process exporter for prometheus monitoring tool
Stars: ✭ 16 (-60%)
Mutual labels:  process
uniprof
A stack tracer/profiler for Xen domains
Stars: ✭ 29 (-27.5%)
Mutual labels:  profiler
ofxTimeMeasurements
OpenFrameworks add-on to easily measure execution times on different parts of your code.
Stars: ✭ 90 (+125%)
Mutual labels:  profiler

Build Status crates.io

tracetree

Run a process, ptrace'ing it and all of its children, and print the entire process tree at the end.

Currently only Linux support is implemented.

Examples

Print a process tree in text format to stdout:

$ tracetree /bin/bash -c '/bin/sleep 1; /bin/sleep 1'
16665 bash -c /bin/sleep 1; /bin/sleep 1 [2.004s]
	16666 sleep 1 [1.001s]
	16667 sleep 1 [1.000s]

Print a process tree in JSON format to output.json:

$ tracetree -f json -o output.json /bin/bash -c '/bin/sleep 1; /bin/sleep 1'
$ python -mjson.tool output.json
{
    "children": [
        {
            "children": [],
            "cmdline": [
                "/bin/sleep",
                "1"
            ],
            "ended": "2017-06-22T06:28:58.960384212-04:00",
            "pid": 16727,
            "started": "2017-06-22T06:28:57.959636824-04:00"
        },
        {
            "children": [],
            "cmdline": [
                "/bin/sleep",
                "1"
            ],
            "ended": "2017-06-22T06:28:59.961990469-04:00",
            "pid": 16728,
            "started": "2017-06-22T06:28:58.960849779-04:00"
        }
    ],
    "cmdline": [
        "/bin/bash",
        "-c",
        "/bin/sleep 1; /bin/sleep 1"
    ],
    "ended": "2017-06-22T06:28:59.962407641-04:00",
    "pid": 16726,
    "started": "2017-06-22T06:28:57.958836370-04:00"
}

JSON output can be viewed with this web visualizer: The web viewer displaying the JSON output from the previous command

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].