Article View: comp.os.msdos.misc
Article #4150Re: ps for dos?
From: Mathias Grimmberger
Date: Thu, 26 Jan 1995 11:22
Date: Thu, 26 Jan 1995 11:22
56 lines
3477 bytes
3477 bytes
>>>>> Mike McCarty <jmccarty@spd.dsccc.com> writes:
In article <3fmvvh$inp@sun001.spd.dsccc.com> jmccarty@spd.dsccc.com
(Mike McCarty) writes:
> In article <MATHIAS.95Jan19121219@sp2.eas.iis.fhg.de>, Mathias
> Grimmberger <mathias@eas.iis.fhg.de> wrote:
> [stuff requesting ps-like command for DOS]
> ) You should polish your knowledge about DOS (shudder). It is a
> ) single task OS (?), so there is no PID (there is however some
[ M-x scissors ]
> This is a common misconception. DOS is -not- a single-task operating
> system. It provides non-concurrent multi-tasking, and supports
> concurrent multi-tasking, including having a context switcher. What
> it lacks is a scheduler. The PRINT utility (and WINDOWS etc.) have
> to manage the scheduling themselves. This is also what Quarterdeck's
> product (can't remember the name right away) does - provide a
> scheduler.
You are right, there are some facilities necessary for a multi-task
OS. But DOS is very limited in this field, so I would not call it
anything other than single-task. The programs themselves have to do
things that should be done by the OS and they do them in ugly ways.
WINDOWS is another story, it has it's own hacks to do (cooperative)
multi-tasking (in fact it *preemptively* multitasks the DOS-boxes and
the virtual machine Windows apps are running in).
> The corresponding command to ps in DOS is MEM/D (or MEM/DEBUG
> depending on version) which will show all loaded tasks and drivers.
No problem with a ps lookalike, but the original poster also asked
about a `kill'. There are some possiblities to kill a program/device
driver with DOS, but as you mentioned in another posting here doing so
is very dangerous. I would recommend not even to think about "killing"
a DOS program, you may very well hang your machine and maybe kill all
your data on disk (imagine killing SMARTDRV). If somebody has problems
with to less memory, why not have some different configurations? There
is support for it since DOS 6.0.
BTW, may be my first posting sounded to harsh (somebody
complained). Sorry.
> Mike
MGri
--
-------------------------------------------------------------------------------
Mathias Grimmberger | If this was in bad english - sorry,
FhG IIS EAS Dresden, Germany | I'm too stupid to do a better job.
EMail: mathias@eas.iis.fhg.de - only valid until end of January '95 :-(
Mail will be forwarded to my new account after February, 1st :-)
Technical Details
Message-ID:
<MATHIAS.95Jan26122211@sp2.eas.iis.fhg.de>Path:
arc1-ca.pugleaf.net!pad-thai.cam.ov.com!bloom-beacon.mit.edu!grapevine.lcs.mit.edu!uhog.mit.edu!news.mathworks.com!news.alpha.net!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!xlink.net!news.fhg.de!usenetReferences:
<8752021574.KAA54198@null.port.nl> <MATHIAS.95Jan19121219@sp2.eas.iis.fhg.de> <3fmvvh$inp@sun001.spd.dsccc.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,b6ff7e454cda4faf X-Google-Attributes: gid1025b4,public X-Google-Thread: f71eb,cb62ff32efddbbcf X-Google-Attributes: gidf71eb,public X-Google-ArrivalTime: 1995-01-26 04:09:44 PST Path: arc1-ca.pugleaf.net!pad-thai.cam.ov.com!bloom-beacon.mit.edu!grapevine.lcs.mit.edu!uhog.mit.edu!news.mathworks.com!news.alpha.net!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!xlink.net!news.fhg.de!usenet From: mathias@eas.iis.fhg.de (Mathias Grimmberger) Newsgroups: comp.os.msdos.misc,gnu.misc.discuss Subject: Re: ps for dos? Date: 26 Jan 1995 11:22:10 GMT Organization: FhG IIS EAS Dresden Lines: 56 Message-ID: <MATHIAS.95Jan26122211@sp2.eas.iis.fhg.de> References: <8752021574.KAA54198@null.port.nl> <MATHIAS.95Jan19121219@sp2.eas.iis.fhg.de> <3fmvvh$inp@sun001.spd.dsccc.com> NNTP-Posting-Host: eas.eas.iis.fhg.de In-reply-to: jmccarty@spd.dsccc.com's message of 20 Jan 1995 00:26:25 GMT