File: system_info.sh

package info (click to toggle)
ros-rviz 1.14.4%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,124 kB
  • sloc: cpp: 43,149; python: 1,086; xml: 395; sh: 27; ansic: 26; makefile: 7
file content (24 lines) | stat: -rwxr-xr-x 474 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
#
# Shell script to print information about the computer, for use in reporting rviz bugs.

echo "Graphics card"
lspci | grep VGA
echo

echo "OS"
cat /etc/issue

echo "Machine"
uname -a
echo

if [ -x /usr/bin/glxinfo ]; then
    echo "OpenGL driver info"
    glxinfo
    echo
else
    echo "ERROR: glxinfo command not found.  To find opengl driver info, please install it with this command:"
    echo "  sudo apt-get install mesa-utils"
    echo "and re-run $0"
fi