AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Install pstack redhat1/2/2023 ![]() ![]() $GDB -quiet $readnever -nx /proc/$1/exe $1 &1 |Ĭopy it to Suse, and use it ( pstack process_ID): linux-uibj:/usr/bin # pstack 1487 If $GDB -nx -quiet -batch -readnever > /dev/null 2>&1 then If /bin/grep -e libpthread /proc/$1/maps > /dev/null 2>&1 then # Older kernel go by it loading libpthread. If test `/bin/ls /proc/$1/task | /usr/bin/wc -l` -gt 1 2>/dev/null then # threaded need to peek at the process to determine if that or the # GDB doesn't allow "thread apply all bt" when the process isn't ![]() RedHat Linux distros provide a pstack script which can track process’s threads, and the script is like this: #!/bin/bash TK on Linking error of _ntl_gbigint_body in using NTL.nanxiao on Linking error of _ntl_gbigint_body in using NTL. ![]()
0 Comments
Read More
Leave a Reply. |