hadoop fs -stat is as hadoop command used to check the stats of a particular file in the hadoop file system. Suppose I have a folder named Hadoop-folder in the hdfs, then to check the stats of this folder, i would run the command:
hadoop fs -stat /Hadoop-folder
By default, this command returns the date and time when the folder was last updated
The syntax for this command is
hadoop fs -stat [format] <path>