This is the mail archive of the cygwin 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]

Solving a problem with typeperf.exe


After normal startup of bash, the following command hangs after printing
the header row:

$ typeperf '\Processor(_Total)\% Processor Time' -si 1 -sc 2

--
Solution: insert 'chcp 1252' in cygwin.bat before calling bash.exe:

-- cygwin.bat begin --
@echo off
chcp 1252
chdir /d E:\cygwin\bin
bash --login -i
-- cygwin.bat end --

When bash (or another shell) is started after executing 'chcp 1252', the
typeperf command works appropriately.

Regards.
--------------
Walter Roeland

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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