Re: Portmaster Users Digest V95 #289

Mury Andrew Johnson (mury@main.goldengate.net)
Tue, 24 Oct 1995 18:10:38 -0500 (CDT)

Change it to 21, if you have a connection on S0.

On Tue, 24 Oct 1995, David Denney wrote:

> On Tue, 24 Oct 1995 sysadmin@ns1.koyote.com wrote:
>
> > I downloaded pmwho and setup mstat.pl but it only read the first 16 modems of my
> > 20. Any ideas how to fix?
>
> Change the '16' in the following two places of the mstat.pl program:
>
> --
> $count = 0;
> for ($line=0; $line<16; $line ++) {
> if ($modem{"S".$line}) {
> --
> sub gen_modem_stats
> {
> $util = $count / 16 * 100;
> $date = `date`;
> --
>
> And that's all... (should probably be a var at the start...)
>
> --
> David Denney Shell/SLIP/PPP @ 28.8K Dimensional Communications
> daud@geeks.org Never an hourly charge 821 17th Street, Suite 804
> 303.528.3199 pager $25/mo. unlimited time Denver, Colorado 80202
> 303.295.6949 voice <info@dimensional.com> http://www.dimensional.com/
>