To run tegrastats
Note:  Run the utility as root to display all enabled stats.
      
      - To run tegrastatsin the background, execute the following command:tegrastats --interval <int> --logfile <out_file> &Where: - <int> is the interval between log prints in milliseconds.
- <out_file> is the pathname of the output file to which tegrastats writes the log prints.
 
- To run tegrastatsin the foreground, omit the trailing ‘&'. You may also omit the--logfileoption to allow log output to go to stdout:
tegrastats --interval <int>