Manu gives the definition in more forcible terms: Sarvam paravasam duhkham Sarva matmavasam sukham Idam jnayo samasena Lakshanam sukhaduhkhayo.
Thinking everything to be misery (du.hkham sarvam anusm.rtya) one should stop all desires and enjoyments, and thinking that nothing has any birth he should not see any production at all.
Sarvam Brahma is explained as Pranava, which is akhilam daivatam, for the Srutis declare that Omkarah sarvadaivatyah, Brahmani is Brahmavidi.
Sarvam here refers to pranijatam or the entire assemblage of living creatures.
The grammatical construction is this: Ebhih sarvaih kalatmakaih bhavaih anwitam sarvam yah akalushiam pasyati (sah) samoham karma nanuvartate.
The construction, as explained by the commentator, is Brahma tejomayam sukram; yasya sukrasya sarvam idam tasyapi Brahma rasah.
The construction of the first line is 'yastu achetanah bhavam vina swabhavena (sarvam bhati iti) pasyan, etc.
The above list will hopefully give you a few useful examples demonstrating the appropriate usage of "sarvam" in a variety of sentences. We hope that you will now be able to make sentences using this word.