Last active
September 8, 2019 10:03
-
-
Save SergejIsbrecht/7f3db7c505f82b904ec5b86ab56aa031 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in $(ls /proc/$1/task/) | |
do | |
grep -A5 stack /proc/$1/task/$i/smaps | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment