Skip site navigation (1) Skip section navigation (2)

pgtesttiming.sgml, FreeBSD command output

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: pgtesttiming.sgml, FreeBSD command output
Date: 2012-07-06 20:21:17
Message-ID: CAK3UJRHJvGJZW80S3=5HJ0TMG5QmkXH5YaTS2K_0-9kQKP-a5g@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-docs
I noticed this little snippet claiming to be output on FreeBSD in
pgtesttiming.sgml:

<screen>
dmesg | grep "Timecounter"
sysctl kern.timecounter.hardware=TSC
</screen>

First, grep is case-sensitive by default, so that line of output
shouldn't have matched at all, right? Second, if I actually try the
above command on a FreeBSD 9 VM I have, I get (copying by hand, since
I can't seem to copy-and-paste out of this VM without X, please excuse
any typos):

Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
Timecounter "i8254" frequency 1193182 Hz quality 0
Timecounters tick every 10.000 msec
Timecounter "TSC" frequency 2531787134 Hz quality 800

Anyway, if the original "sysctl ..." output is valid for a FreeBSD
machine, maybe only the grep command needs to be fixed (i.e. to "grep
-i ...") ?

Josh

Responses

pgsql-docs by date

Next:From: Peter EisentrautDate: 2012-07-06 20:33:01
Subject: Re: pgtesttiming.sgml, FreeBSD command output
Previous:From: Magnus HaganderDate: 2012-07-04 07:12:33
Subject: Re: fix for typos in "Reliability and the Write-ahead Log"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group