how to use top command to view the process arguments in ubuntu

  1. Open a terminal window on your Linux system.
  2. Run the top command to view the real-time system statistics.
  3. Press the c key to toggle between the different display modes. This will switch to the “Command Line” view.
  4. You will now see the process list with the command line arguments displayed for each process. The arguments will be listed in the “COMMAND” column.
  5. You can use the up and down arrow keys to navigate through the process list and view the command line arguments for each process.

Note that the top command allows you to sort the process list by various parameters, such as CPU usage and memory usage. You can use the o key to specify the sorting column. For example, to sort by CPU usage, you can press o followed by C.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *