China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-10-24 11:22
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How to obtain the actual memory capacity and physical memory capacity under DOS View 3,290 Replies 11
Original Poster Posted 2010-08-05 09:26 ·  中国 上海 电信
新手上路
★
Credits 4
Posts 3
Joined 2010-02-12 08:34
16-year member
UID 160572
Gender Male
Status Offline
Floor 2 Posted 2010-08-05 16:17 ·  中国 北京 中电华通通信有限公司
初级用户
★
Credits 49
Posts 43
Joined 2007-01-20 03:28
19-year member
UID 77088
Gender Male
Status Offline
View memory information using wmic:

wmic MEMLOGICAL list full
Floor 3 Posted 2010-08-05 23:48 ·  中国 广东 揭阳 电信
初级用户
★★
Credits 131
Posts 72
Joined 2008-02-24 14:31
18-year member
UID 111317
Gender Male
Status Offline
Under XP, you can use systeminfo to see... Pure DOS... Haven't played with it...
Floor 4 Posted 2010-08-12 11:30 ·  中国 上海 电信
新手上路
★
Credits 4
Posts 3
Joined 2010-02-12 08:34
16-year member
UID 160572
Gender Male
Status Offline
Thanks to the user on the 2nd floor, how to use this command in pure DOS?
Floor 5 Posted 2010-08-14 23:46 ·  中国 上海 杨浦区 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
I don't understand the difference between the actual memory capacity you mentioned and the physical memory capacity. Could it be that the physical one isn't enough for the actual use?
Floor 6 Posted 2010-08-15 13:16 ·  中国 重庆 电信
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
Does the actual memory capacity refer to the current available memory? Or the total amount of physical memory plus virtual memory?
Floor 7 Posted 2010-08-15 13:23 ·  中国 上海 浦东新区 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
The `mem` command can be viewed, provided that `himem.sys` is loaded
Floor 8 Posted 2010-09-04 18:14 ·  中国 广东 中山 移动
初级用户
★
Credits 102
Posts 47
Joined 2008-11-10 08:29
17-year member
UID 130514
Gender Male
Status Offline
Refer to the memtest source code
http://www.memtest.org/

Although this memtest obtains the available capacity and physical capacity of the bare metal, it is still quite meaningful for reference

[ Last edited by azziporah on 2010-9-5 at 03:05 ]
Floor 9 Posted 2010-09-04 21:45 ·  中国 上海 黄浦区 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Originally posted by fairsky007 at 2010-9-2 10:55 AM:
MEM|NSET /L9 /XK M=$3
echo %M%

I tried it on my virtual machine, and it shows 1,048,512 (k). My virtual machine is set to 1G memory. I don't know where the extra part comes from. Hehe

1GB of memory is 1024*1024=1048576K, there is no extra
Floor 10 Posted 2010-09-04 22:08 ·  中国 上海 杨浦区 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
Originally posted by fujianabc at 2010-9-4 21:45:

1GB memory is 1024*1024=1048576K, no more


Hehe, an accidental small mistake, correct it by myself.
Floor 11 Posted 2010-09-06 10:59 ·  中国 上海 中国科学院上海分院
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Originally posted by DOSforever at 2010-9-4 10:08 PM:

Hehe, just a small mistake by accident, correct it by myself.

What's wrong?
Floor 12 Posted 2010-09-12 14:09 ·  中国 上海 杨浦区 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
Hehe, actually it's nothing.

1GB of memory is 1048576K, which is correct, but it should be 1024*1024*1024. I'm just being overly critical.
Forum Jump: