This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: vmstat


> >> is there any function similiar to the unix vmstat
> >> that can run under cygwin
> >For now you can download procps (which contains vmstat) from here:
> >http://www.doc.ic.ac.uk/~ccj00/procps-010801/
> >Hopefully this will be available via Cygwin setup sometime soon.
>
> There is, however, the problem of what to do about the fact that your
> package apparently, AFAICT, overwrites the cygwin ps.exe.  I don't think
> we're quite ready to drop the "native" ps.exe yet.
If it overwrites it, then I have packaged it wrongly. It should put ps.exe
and kill.exe into separate subdirectories, i.e. /bin/procps/ps.exe and
/usr/bin/procps/kill.exe.
Indeed, I have just verified that this is what happens.
In other words, if you want to use the procps versions of ps and kill (which
don't support Windows processes), then you can add /bin/procps and
/usr/bin/procps to your path ahead of /bin. By default you are using the
Cygwin versions.

Chris



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]