Subject: pstat -s/-T not accurate?
To: None <current-users@NetBSD.ORG>
From: proprietor - Foo Bar And Grill <jgraham@defender.VAS.viewlogic.com>
List: current-users
Date: 11/29/1995 16:50:55
Greetings.  This may be sparc-specific but, unless I get feedback to that
effect, I will assume that this is not the case.

PRELIMINARIES:

	Machine:	SS2, 48MB of physmem, though /kern/physmem reports
			12254, so I have to wonder...is this in pages (4k)
			or kbytes?
			
	OS:		NetBSD 1.1 release (24 November 1995)

I type 'pstat -s', and I get the following:

    Device      1K-blocks     Used    Avail Capacity  Type
    /dev/sd0b       67220        4    67216     0%    Interleaved
    /dev/sd3b       51480        4    51476     0%    Interleaved
    Total          118700        8   118692     0%

Does someone *really* expect me to believe that no swap/paging space is
being used??  I have to wonder because while I have a kernel compile going,
when I suspend the compile to get my shell back, occasionally the disk pages
like crazy to resume the shell.

(Of course it didn't happen the last two times I tried it; maybe it was
just paging executable pages into memory...)

[For my next trick I'm going to find out how the mount_mfs determines
 the "defaults" used when a "swap" parameter is passed in instead of
 -s=[# of sectors]... ]


				--*greywolf;
--
Greywolf's postulate #1:
	If your OS and/or machine absolutely cannot autoboot without manual
	intervention, it isn't worth jack.
		-- from the notebooks of another heretic.