Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!ginosko!cs.utexas.edu!uunet!mcsun!tuvie!edvvie!eliza!johnny From: johnny@edvvie.at (Johann Schweigl) Newsgroups: comp.sys.ibm.pc.rt Subject: Re: Checking Paging Space Message-ID: <182@eliza.edvvie.at> Date: 12 Oct 89 23:02:35 GMT References: <10585@csli.Stanford.EDU> Organization: Edv GesmbH, Austria/Europa Lines: 16 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 |