A free and open source command line tool for listing open files related to OpenGL and OpenGL ES connections, similar to lsof.
Glsof is an open source command line tool for getting information about open OpenGL files and connections on Linux and Unix-like systems. It serves a similar purpose to the more general lsof utility, but is focused specifically on OpenGL and OpenGL ES files, sockets, and connections.
When run, glsof will display a list of all OpenGL-related files currently opened on the system, along with details on the process that opened them. This can be useful for debugging OpenGL programs, games, and other graphics-related applications.
Some specific information glsof displays includes:
In terms of capabilities and output, glsof is comparable to graphics debugging and profiling tools like RenderDoc, GPUView, and apitrace. However, glsof is more lightweight and focused specifically on showing open OpenGL connections. It's main advantage is being quick and easy to run from the command line.
Glsof was created to be a simple alternative to parsing the full lsof output just to get OpenGL file information. It's open source and works on most Linux distributions. The main downside currently is a lack of support for Windows or macOS systems.