The usual stat command comes in two broad flavors BSD and GNU. rstat is an alternative to the stat command that has OS-independent syntax.
To install it, the relevant binary can be downloaded from the releases directly, or using eget.
eget sabarish-vm/rstat