Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Dave Korn" To: Subject: RE: procps returns \"Unknown HZ value\" Date: Wed, 24 Mar 2004 17:29:20 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: X-OriginalArrivalTime: 24 Mar 2004 17:29:20.0390 (UTC) FILETIME=[8A8C5A60:01C411C5] > -----Original Message----- > From: cygwin-owner On Behalf Of Chris January > Sent: 24 March 2004 17:21 > > -----Original Message----- > > From: Chris January [mailto:chris AT atomice DOT net] > > Sent: Wed 3/24/2004 10:45 AM > > To: Duran, Richard > > Cc: > > Subject: RE: procps returns \"Unknown HZ value\" > > > Is there a parameter I can pass to procs.exe to avoid getting > > > \"Unknown HZ value (168) Assume 100.\"? > > > > I don't think so. What's the output of /proc/cpuinfo on your system? > > > > Chris > > The /proc filesystem doesn't exist? Does something need to be > > installed using cygrunsrv? > > > > -richard > > > Redirecting to the cygwin mailing list. > You probably need to upgrade your version of the Cygwin DLL. Depends how old. /proc is a virtual filesystem under cygwin; you won't see a "proc" subdirectory in your fs root, but it's there alright. IIRC the proc FS has been around for some time, but the .dll has only recently become able to display directory listings for it. Check this example:- dk AT mace /repository/gcc-build/binutils/ld> ls -a / . Thumbs.db bin cygwin.ico etc home repository test usr win .. artimi cygwin.bat davek gnu lib sbin tmp var dk AT mace /repository/gcc-build/binutils/ld> # look! no proc! dk AT mace /repository/gcc-build/binutils/ld> ls -a /proc . 1140 2136 2904 3072 3212 3400 3964 460 meminfo stat .. 1508 2716 2968 3080 3252 344 3984 cpuinfo partitions uptime 1096 1656 2772 3040 3156 3256 3748 4000 loadavg registry version dk AT mace /repository/gcc-build/binutils/ld> # but it's there! dk AT mace /repository/gcc-build/binutils/ld> cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel type : primary processor cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 2.66GHz stepping : 9 brand id : 9 cpu count : 1 apic id : 0 cpu MHz : 2679 fpu : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clfl dtes acpi mmx fxsr sse sse2 ss htt tmi pbe cid dk AT mace /repository/gcc-build/binutils/ld> # and it works! cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/