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]

RE: procps returns \"Unknown HZ value\"


> -----Original Message-----
> From: cygwin-owner On Behalf Of Chris January
> Sent: 24 March 2004 17:21

> > -----Original Message-----
> > From:	Chris January [mailto:chris@atomice.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@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@mace /repository/gcc-build/binutils/ld> # look!  no proc!
dk@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@mace /repository/gcc-build/binutils/ld> # but it's there!
dk@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@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/


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