How to get the number of interrupts per second

2015-01-28 Thread Federico Giannici
I have to get (via command line) the number of interrupts per seconds in a given moment (OpenBSD 5.5 amd64). I noticed that the number shown by vmstat is different from the one shown from systat. For example, here are the interrupts shown from systat: Interrupts 16457 total 400 clock

Re: What's wrong with script(1)?

2015-01-28 Thread opendaddy
Hi, On 27. januar 2015 at 11:14 PM, Andy Bradford amb-sendok-1424992915.iclgpijjkmllbbajd...@bradfords.org wrote: man script: ``script makes a typescript of everything printed on your terminal.'' That's fine, I just don't understand why it can't do it without all the noise and ^Ms. O.D.

Re: What's wrong with script(1)?

2015-01-28 Thread Otto Moerbeek
On Wed, Jan 28, 2015 at 11:22:52AM +, openda...@hushmail.com wrote: Hi, On 27. januar 2015 at 11:14 PM, Andy Bradford amb-sendok-1424992915.iclgpijjkmllbbajd...@bradfords.org wrote: man script: ``script makes a typescript of everything printed on your terminal.'' That's fine, I

Re: How to get the number of interrupts per second

2015-01-28 Thread Janne Johansson
the first display line of vmstart would be since-boot, then it is per-period numbers. 2015-01-28 11:44 GMT+01:00 Federico Giannici giann...@neomedia.it: I have to get (via command line) the number of interrupts per seconds in a given moment (OpenBSD 5.5 amd64). I noticed that the number

httpd SNI

2015-01-28 Thread Henrik Friedrichsen
Hello, are there plans to implement SNI for httpd so that multiple virtual hosts can be assigned to a single IP? I couldn't find any commits related to this in -CURRENT. Henrik

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread Jorge Gabriel Lopez Paramount
Quoting Ingo Schwarze schwa...@usta.de: Most of my daemons don't have any flags so it looks a bit strange (and messy) with all these empty flag specs. That's a matter of taste and purely aestetical without any functional consequences, so if it's an argument at all, it carries almost no

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread opendaddy
Hi, On 28. januar 2015 at 11:45 PM, James Ryland Miller james.ryland.mil...@gmail.com wrote: As a brand new OpenBSD user, I *love* how the flags work in rc.conf.local: says to me that the daemon is being called with no flags. YES doesn't tell me that; it just tells me that I might have to

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread J Sisson
On Wed, Jan 28, 2015 at 4:05 PM, openda...@hushmail.com wrote: Indeed, `daemon_flags=YES` wouldn't make any sense at all. What I'd like to see is: ntpd_enable=YES ntpd_flags=-s Considering we're talking about two different things here (one for enabling it and one for configuring

Poor network performance with iwn(4) Intel Centrino Wireless-N 2230

2015-01-28 Thread Tom Doherty
Hi I'm experiencing poor network performance when using iwn(4) on OpenBSD 5.7 amd64 snapshot (downloaded today 28/1/2015). Plugged in via re0 I see 8MB/s. On Linux using wireless I download at 1.3MB/s. On OpenBSD I download at ~73KB/s. I get the same results using GENERIC and GENERIC.MP Is

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread Theo de Raadt
Indeed, `daemon_flags=YES` wouldn't make any sense at all. What I'd like to see is: ntpd_enable=YES ntpd_flags=-s Considering we're talking about two different things here (one for enabling it and one for configuring it), one could argue that this would be more in line with

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread opendaddy
On 29. januar 2015 at 12:02 AM, Theo de Raadt dera...@cvs.openbsd.org wrote: I've think you've had your say. Thank you sir! O.D.

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread James Ryland Miller
Or you can just learn that ${daemon_flags} does both - enables/disables the daemon in question and sets its flags (if any). Exactly. On Wed, Jan 28, 2015 at 6:16 PM, J Sisson sisso...@gmail.com wrote: On Wed, Jan 28, 2015 at 4:05 PM, openda...@hushmail.com wrote: Indeed, `daemon_flags=YES`

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread opendaddy
Hello, On 28. januar 2015 at 11:02 PM, Ingo Schwarze schwa...@usta.de wrote: When you do need flags, it needs only one variable instead of two, which means less complexity. Due to OpenBSD's excellent convention over configuration (1), most people don't need flags. Your argument that the

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread James Ryland Miller
Due to OpenBSD's excellent convention over configuration (1), most people don't need flags. As a brand new OpenBSD user, I *love* how the flags work in rc.conf.local: says to me that the daemon is being called with no flags. YES doesn't tell me that; it just tells me that I might have to look

Re: Poor network performance with iwn(4) Intel Centrino Wireless-N 2230

2015-01-28 Thread Stefan Sperling
On Wed, Jan 28, 2015 at 09:02:39PM +, Tom Doherty wrote: Hi I'm experiencing poor network performance when using iwn(4) on OpenBSD 5.7 amd64 snapshot (downloaded today 28/1/2015). Plugged in via re0 I see 8MB/s. On Linux using wireless I download at 1.3MB/s. On OpenBSD I download

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread Raf Czlonka
On Thu, Jan 29, 2015 at 12:05:24AM GMT, openda...@hushmail.com wrote: Indeed, `daemon_flags=YES` wouldn't make any sense at all. What I'd like to see is: ntpd_enable=YES ntpd_flags=-s Considering we're talking about two different things here (one for enabling it and one for

Re: Mystery Free Linux

2015-01-28 Thread L.R. d S.
Can this be? No binary blobs? The absolutely no mystery cod is fake, the same page say: which includes a binary from Intel, called FSP. The FPS is the Firmware Package Support[1]. It have CPU, memory controller, and Intel(R) chipset initialization functions as a binary package. - Run

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread Ingo Schwarze
Hi, openda...@hushmail.com wrote on Wed, Jan 28, 2015 at 10:25:50PM +: Wouldn't `daemon_enable=YES` (like FreeBSD's rc.conf) make more sense for enabling daemons than `daemon_flags=` in rc.conf.local? No, `daemon_flags=` is better. When you do need flags, it needs only one variable

Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread opendaddy
Hello, Wouldn't `daemon_enable=YES` (like FreeBSD's rc.conf) make more sense for enabling daemons than `daemon_flags=` in rc.conf.local? Most of my daemons don't have any flags so it looks a bit strange (and messy) with all these empty flag specs. Thanks! O.D.

IPv6 gateway fe80::1 needs a ping to work

2015-01-28 Thread Thomas Bohl
Hello List, my vServer hosting provider states the IPv6 default gateway as fe80::1. To get IPv6 traffic flowing it's necessary to ping fe80::1 fist. For now I help myself with the following line in crontab @reboot sleep 10 ping6 -c 10 fe80::1\%vio0 /dev/null It doesn't feel right though. Is

httpd and native FastCGI basics

2015-01-28 Thread Sam Good
Since httpd is replacing apache/nginx, and httpd supports FastCGI,I thought I would learn how to develop native FastCGI applications.But I seem to be having trouble understanding how httpd.confspecifies how to interact with the FastCGI applications. Just to get things started, I was hoping to find

Re: What are the disadvantages of soft updates?

2015-01-28 Thread Nex6|Bill
On Jan 23, 2015, at 6:47 PM, Steve Shockley steve.shock...@shockley.net wrote: On 1/22/2015 9:13 AM, Reyk Floeter wrote: What release and what virtualized SCSI controller where you using? I found my old notes, it turns out it was on 4.6 and the crash message was: softdep_setup_freeblocks:

Re: What are the disadvantages of soft updates?

2015-01-28 Thread Nex6|Bill
On Jan 23, 2015, at 12:53 PM, Ingo Schwarze schwa...@usta.de wrote: Hi Predrag, Predrag Punosevac wrote on Fri, Jan 23, 2015 at 03:24:00PM -0500: I was following this discussion with the great interest but without intend to participate in it until today. Namely one of my OpenBSD

Re: What are the disadvantages of soft updates?

2015-01-28 Thread Ted Unangst
On Fri, Jan 23, 2015 at 21:47, Steve Shockley wrote: On 1/22/2015 9:13 AM, Reyk Floeter wrote: What release and what virtualized SCSI controller where you using? I found my old notes, it turns out it was on 4.6 and the crash message was: softdep_setup_freeblocks: got error 5 while

Re: What are the disadvantages of soft updates?

2015-01-28 Thread Nex6|Bill
On Jan 28, 2015, at 9:03 PM, Ted Unangst t...@tedunangst.com wrote: On Fri, Jan 23, 2015 at 21:47, Steve Shockley wrote: On 1/22/2015 9:13 AM, Reyk Floeter wrote: What release and what virtualized SCSI controller where you using? I found my old notes, it turns out it was on 4.6 and the

pf synproxy

2015-01-28 Thread krichy
Dear all, I've setup a pf firewall with synproxy. I've ran a simulated DDoS for a service behind pf, everything went fine, until I've found that rarely a tcp connection got established to the service behind pf. The reason was (due to a configuraion problem) that the firewall actually was

new support country

2015-01-28 Thread Or Elimelech
0 C Israel T Tel Aviv I Or Elimelech M 0r3limel...@gmail.com U http://or-e.net/about N 5 years OpenBSD, firewalling PF, load balancing, configuration management etc. [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]