Print stack trace of a core file without needing to enter gdb interactively

alias gdbbt="gdb -q -n -ex bt -batch"
The pstack command prints a stack trace of running processes without needing to attach a debugger, but what about core files? The answer, of course, is to use this command. Usage: gdbbt program corefile

3
2009-11-10 22:56:59

2 Alternatives + Submit Alt

What Others Think

I need a pro to take care of my machine. I am not really good at those things/ pool service
seantal · 6 weeks ago
Thats good to know man. Thank you for sharing this Worked well with my swimming pool leak los angeles
chrisgay · 6 weeks ago
My college would know this better than me. We work at Blossom nail spa
jennylee · 5 weeks and 6 days ago
Thanks for the post. Really helpful for my auto repair shop los angeles
henrywang · 5 weeks and 6 days ago
Some great ideas to follow here, thank you. visit site
DrewK1 · 5 weeks and 5 days ago
Thank you for this. Stop by Google Ads Management Agency Ho Chi Minh if you have a chance
dannylee · 5 weeks and 4 days ago
I didn't know that you can print stack trace of a core file without needing to enter gdb interactively, anyway thank you for sharing this useful topic. Do you want to build a pool fence to protect your pool from animals and for safety purposes?
ogilview82 · 5 weeks ago
I never thought this can be done. Anyway, thank you for sharing this useful article. best tea for sleep
chelsey123 · 3 weeks and 3 days ago
Wish to know it more. Duromax xp12000eh concrete driveway resurfacing
ChrisC · 3 weeks and 3 days ago
I still have a hard time understanding this. best gaming chair under 100 crazy bulk strength stack stamped concrete birmingham al
LucilleM · 3 weeks and 3 days ago
Well, I think I still need to learn this. appliance parts lancaster
diplo777 · 3 weeks and 3 days ago
I need a star to deal with my machine. I am not so much good at those things. Thanks for watching TV. tv izle
canlitv · 1 week and 2 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: