Viewing the priority of a process

The priority of a process can be viewed using different commands in CentOS 7, as follows:

  • Using gnome-system-monitor to display the nice level in GUI mode. This is the GUI Task Manager in CentOS 7. It is invoked by pressing Application | System Tools | System Monitor:

  • The top command can also be used to display the priority of processes. It shows two columns, named NI (displaying the nice level mapping of processes) and PR (displaying the priority value mapping in a kernel to a larger priority queue).
  •  The ps command can also be used to display the nice level by using o option to print selected columns, ...

Get CentOS Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.