This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Solving a problem with typeperf.exe
- From: "Walter Roeland" <wroeland at marcatel dot net>
- To: <cygwin at cygwin dot com>
- Date: Tue, 14 Jul 2009 18:53:23 -0500
- Subject: 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