Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 923 Bytes

memvis.md

File metadata and controls

33 lines (21 loc) · 923 Bytes

memvis

Memviz takes the trace generated by memtracker2json and produces the HTML, JavaScript and data to visualize it.

Download and build:

% git clone https://github.com/znik/memvis.git
% make

Generate the visualization:

MEMVIS_HOME=/path/to/memvis

cat memtracker-json-trace.json | $MEMVIS_HOME/analyzer -p "Trace description" -d $MEMVIS_HOME/server/data

View the visualization in the browser:

Option 1: Launch a server locally:

% cd $MEMVIS_HOME/server
% ./run_server.sh

Then open the browser and type in the name of the machine where you launched the above command and port 8080, for instance: "localhost:8080" if running locally.

Option 2: Copy data to an existing web server directory

You can also copy the entire $MEMVIS_HOME/server directory (including the $MEMVIS_HOME/server/data) to a directory of an existing web server and access it via the browser.