Skip to content

Instantly share code, notes, and snippets.

@nkuln
Created September 17, 2012 04:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nkuln/3735580 to your computer and use it in GitHub Desktop.
Save nkuln/3735580 to your computer and use it in GitHub Desktop.
Run with Solaris libumem memory profiler
#!/bin/bash
export LD_PRELOAD=libumem.so.1
export UMEM_DEBUG=default
export UMEM_LOGGING=transaction
./"$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment