Skip to main content
changed the typography a bit
Source Link

By default, the 'top'top command will display Cygwin processes by CPU usage.

If you'd like to view only Windows processes, you can use the 'ps'ps command, and then sort your results by CPU usage:

    ps -W | sort -nk 3  

where:

   -W refers to Windows processes, 

   -n refers to a numerical sort, and 

   -k refers to a key, in this case the 3rd column of output from ps. 

By default, the 'top' command will display Cygwin processes by CPU usage.

If you'd like to view only Windows processes, you can use the 'ps' command, and then sort your results by CPU usage:

    ps -W | sort -nk 3  

where:

   -W refers to Windows processes, 

   -n refers to a numerical sort, and 

   -k refers to a key, in this case the 3rd column of output from ps. 

By default, the top command will display Cygwin processes by CPU usage.

If you'd like to view only Windows processes, you can use the ps command, and then sort your results by CPU usage:

ps -W | sort -nk 3

where:

-W refers to Windows processes,

-n refers to a numerical sort, and

-k refers to a key, in this case the 3rd column of output from ps.
Clarified comment.
Source Link
marshki
  • 647
  • 1
  • 4
  • 16

By default, the 'top' command will display Cygwin processes by CPU usage.

If you'd like to includeview only Windows processes, you can use the 'ps' command, and then sort your results by CPU usage:

    ps -W | sort -nk 3  

where:

   -W refers to Windows processes, 

   -n refers to a numerical sort, and 

   -k refers to a key, in this case the 3rd column of output from ps. 

By default, the 'top' command will display Cygwin processes by CPU usage.

If you'd like to include Windows processes, you can use the 'ps' command, and then sort your results by CPU usage:

    ps -W | sort -nk 3  

where:

   -W refers to Windows processes, 

   -n refers to a numerical sort, and 

   -k refers to a key, in this case the 3rd column of output from ps. 

By default, the 'top' command will display Cygwin processes by CPU usage.

If you'd like to view only Windows processes, you can use the 'ps' command, and then sort your results by CPU usage:

    ps -W | sort -nk 3  

where:

   -W refers to Windows processes, 

   -n refers to a numerical sort, and 

   -k refers to a key, in this case the 3rd column of output from ps. 
Source Link
marshki
  • 647
  • 1
  • 4
  • 16

By default, the 'top' command will display Cygwin processes by CPU usage.

If you'd like to include Windows processes, you can use the 'ps' command, and then sort your results by CPU usage:

    ps -W | sort -nk 3  

where:

   -W refers to Windows processes, 

   -n refers to a numerical sort, and 

   -k refers to a key, in this case the 3rd column of output from ps.