Created
February 4, 2023 02:52
-
-
Save Artem-B/67c8f9f58917f0b629c355578e6647f7 to your computer and use it in GitHub Desktop.
glxinfo crash stats collection script.
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
#! /usr/bin/bash | |
GOOD=0 | |
BAD=0 | |
N=100 | |
for ((i=0; i<N; i++)); do | |
glxinfo -B > /dev/null 2>/dev/null |: | |
if [[ ${PIPESTATUS[0]} = 0 ]]; then | |
((GOOD++)) | |
else | |
((BAD++)) | |
fi | |
done | |
echo GOOD=$GOOD BAD=$BAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment