[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-tech
Subject:    Re: netstat -c count
From:       Miod Vallat <miod () online ! fr>
Date:       2009-08-20 6:08:03
Message-ID: 20090820060803.GB29026 () tekumel ! gentiane ! org
[Download RAW message or body]

> Noticed that netstat doesn't have a repeat count option like vmstat does.

[...]
> +		case 'c':
> +			repeatcount = strtonum(optarg, 1, INT_MAX, &errstr);
> +			break;

But vmstat at least performs some error checking here to complain about
bogus values.

Miod

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic