blank.gif (43 bytes)

Church Of The
Swimming Elephant




Suppose your MS-DOS subsystem is configured with expanded memory. To display the status of your system's total memory--conventional, expanded, extended--and to display a list of programs currently loaded into memory, type the following command:

mem /program

The results might look similar to the following:

Address Name Size Type
------- -------- ------ ------
000000 000400 Interrupt Vector
000400 000100 ROM Communication Area
000500 000200 DOS Communication Area

000700 IO 000310 System Data

000A10 MSDOS 0014D0 System Data

001EE0 IO 0018D0 System Data
KBD 000800 System Program
000340 FILES=
000090 FCBS=
000710 STACKS=
0037C0 COMMAND 000A40 Program
004210 MSDOS 000070 -- Free --
004290 COMMAND 0001F0 Environment
004490 MEM 0001D0 Environment
004670 MEM 017550 Program
01BBD0 MSDOS 084410 -- Free --
09FFF0 SYSTEM 028000 System Program

0C8000 IO 0083D0 System Data
MOUSE 0083C0 System Program
0D03E0 MSDOS 000050 -- Free --
0D0440 REDIR 0009F0 Program
0D0E40 DOSX 007CA0 Program
0D8AF0 DOSX 001030 Data
0D9B30 MSDOS 0164C0 -- Free --

655360 bytes total conventional memory
655360 bytes available to MS-DOS
637296 largest executable program size

1048576 bytes total contiguous extended memory
0 bytes available contiguous extended memory
405504 bytes available XMS memory
MS-DOS resident in High Memory Area

"Total conventional memory" is the amount of virtual memory allocated to the MS-DOS subsystem up to the first 640K. "Available to MS-DOS subsystem" is the amount of conventional memory allocated, including the memory neededs for CMD.EXE. "Largest executable program size" is the largest contiguous block of conventional memory available for a program.

"Total EMS memory" (not shown in the preceding example) is the amount of expanded memory configured for the MS-DOS subsystem. "Free EMS memory" is the amount of expanded memory available for programs.

"Total contiguous extended memory" is the amount of memory beyond 1-megabyte (MB). "Available contiguous extended memory" is the extended memory available for the Interrupt 15h interface. This memory is not being managed by an extended-memory manager, such as HIMEM.SYS. Some older programs use this different extended-memory scheme. "Available XMS memory" is memory that is being managed by an extended-memory manager, such as HIMEM.SYS, and that is available to programs that can use it.

More Information about Mem

ntcmds00000001.gif Mem--Notes

ntcmds00000001.gif Mem


Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

Have you gone to church today?
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609