🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ibm.pc.rt
2 messages
2 total messages Started by Galia Tylman Sun, 08 Oct 1989 06:48
Checking Paging Space
#420
Author: Galia Tylman
Date: Sun, 08 Oct 1989 06:48
10 lines
880 bytes
Is there a way of checking how much swap space your RT has without going
into minidisks?  Since you have to be root to run minidisks is there a
way for a regular user to check how much paging space he has?

I know this can be done on SUNs, HPs and other machines but I have not
been able to find an equivalent command on my RT.

Galia
-- 
Galia Tylman		Internet:  tylman@csli.stanford.edu
Re: Checking Paging Space
#461
Author: Johann Schweigl
Date: Thu, 12 Oct 1989 23:02
16 lines
1178 bytes
From article <10585@csli.Stanford.EDU>, by tylman@csli.Stanford.EDU (Galia Tylman):
> Is there a way of checking how much swap space your RT has without going
> into minidisks?  Since you have to be root to run minidisks is there a
> way for a regular user to check how much paging space he has?

You can get the current number of free paging disk slots from the VM low mem.
One slot is 2K. Just try:

	volatile int	*freeSlots = (int *)0xb8;

	printf("currently %d page slots free\n",*freeSlots);
-- 
This does not reflect the   | Johann  Schweigl | DOS?
opinions of my employer.    | johnny@edvvie.at | Kind of complicated
I am busy enough by talking |                  | bootstrap loader ...
about my own ...            |   EDVG  Vienna   | 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads