Re: cvs commit: ports/sysutils/top/files m_freebsd2.c

[ Available lists | Index of freebsd-commit | Month of Feb 1996 | Week of 20 Feb 1996 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Wolfram Schneider <wosch@cs.tu-berlin.de>
Date
20 Feb 1996 16:31:42
Subject
Re: cvs commit: ports/sysutils/top/files m_freebsd2.c
Message-ID
199602210028.BAA27303@caramba.cs.tu-berlin.de


[ Hide this part ]
David Greenman writes:
>>wosch 96/02/20 15:50:15
>>
>> Modified: sysutils/top/files m_freebsd2.c
>> Log:
>> make top smarter if cannot read swap addresses
>> - always return if kvm_read() failed
>> - stop calculating swap usage after 10 errors
>
> Why after 10? If it fails once, it should continue to fail.

BTW, pstat(8) should also changed, a simple 'return(0)'
in KGET2 macro.

Wolfram


Elapsed time: 0.090 seconds