The astrophysics textbook titled "The Virial Theorem in Stellar Astrophysics" by George W. Collins II at the Ohio State University was recently harvested - https://commons.libretexts.org/book/phys-141427
"This book explores the application of the virial theorem to astrophysical problems, covering its derivation, generalizations (like tensor and relativistic forms), and applications to stellar systems, including white dwarfs and neutron stars, and the stability of galaxies. The book explains how the theorem relates the total kinetic and potential energies of a self-gravitating system."