26

I am starting to use Cygwin(64) on my Windows 8 laptop, however, the top command is not recognized. I have read online that I need to get the procps package, but it is not available on the 'Cygwin Setup' package selections. How should I go about installing the procps package so that I can use top?

ps. for whatever reason ps and kill both work so I would think top would be included in whatever package allowed those guys to work, but there is no top command.

the
  • 2,929
drjrm3
  • 1,556

6 Answers6

27

The procps package is now available for 64-bit Cygwin (as of Nov. 21, 2013) using the most recent setup executable available on the Cygwin site. I just downloaded the procps package from the hoobly mirror and now top is available to me from 64-bit Cygwin on my Windows 8 machine.

See: http://cygwin.com/ml/cygwin-announce/2013-10/msg00009.html

Marianne
  • 371
12

As in 2017, you should install the package procps-ng to get the top utility.

Leo
  • 220
8

You need to install the procps package. See here:

procps: Utilities for monitoring your system and processes on your system.

slhck
  • 235,242
johnshen64
  • 4,701
2

Unfortunately at this time it seems that procps does not have a 64 bit version from cygwin.

You can use the 32 bit version of cygwin and install procps. That package contains the top command and more system monitoring utilities.

1

For those unfamiliar with the cygwin setup program: To download the procps package run the cygwin setup exe and after it finishes searching the mirror it shows the select packages screen. In the View drop down select "full" and in the search box type "procps". Don't hit enter because it will show the matching packages automatically. If the procps components are not installed they will have "skip" against them. Click "skip" and it will offer you an available version. Once you have selected all components you need hit "next" and the package will install. Good Luck

1

When cygwin is installed it asks for packages to include. procps is a package but not part of the default installation. So you can reinstall cygwin and select procps package during installation. This worked for me.

Sugan
  • 111