TLDR
Enter a command. For example: fwupdmgr, nmcli connection.

perf

 
Framework for Linux performance counter measurements. More information: https://perf.wiki.kernel.org.
 
  • Display basic performance counter stats for a command:
     
    perf stat {{gcc hello.c}}
     
  • Display system-wide real-time performance counter profile:
     
    sudo perf top
     
  • Run a command and record its profile into perf.data:
     
    sudo perf record {{command}}
     
  • Record the profile of an existing process into perf.data:
     
    sudo perf record -p {{pid}}
     
  • Read perf.data (created by perf record) and display the profile:
     
    sudo perf report

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.