| www.delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.1 required=5.0 tests=BAYES_05,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| MIME-Version: | 1.0 |
| Subject: | Solving a problem with typeperf.exe |
| Date: | Tue, 14 Jul 2009 18:53:23 -0500 |
| Message-ID: | <9D22EDA95B717C428B04F60A8272CFEC045CC2CD@mtelmy51.marcatel.ad> |
| From: | "Walter Roeland" <wroeland AT marcatel DOT net> |
| To: | <cygwin AT cygwin DOT com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |