Article View: comp.os.msdos.misc
Article #4151Re: ps for dos?
From: Mike McCarty
Date: Fri, 20 Jan 1995 00:26
Date: Fri, 20 Jan 1995 00:26
32 lines
2197 bytes
2197 bytes
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 possibility to identify
)TSR's) and obviously there can't be a kill command, as the only one program
)that can be killed is the one currently running. Where would you issue this
)kill command, at the prompt? Then you can only kill TSR's (no other
)programs are running then), and this is not possible in a secure way (they
)are no processes anyway).
)
)If you'd like to get a real OS, there always are LINUX, FreeBSD, ...
)
)MGri
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.
The corresponding command to ps in DOS is MEM/D (or MEM/DEBUG depending
on version) which will show all loaded tasks and drivers.
Mike
----
char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Technical Details
Message-ID:
<3fmvvh$inp@sun001.spd.dsccc.com>Path:
arc1-ca.pugleaf.net!pad-thai.cam.ov.com!bloom-beacon.mit.edu!grapevine.lcs.mit.edu!olivea!nntp.msstate.edu!gatech!swrinde!cs.utexas.edu!convex!camelot.dsccc.com!sun001!spd!jmccartyReferences:
<8752021574.KAA54198@null.port.nl> <MATHIAS.95Jan19121219@sp2.eas.iis.fhg.de>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-20 08:28:52 PST Path: arc1-ca.pugleaf.net!pad-thai.cam.ov.com!bloom-beacon.mit.edu!grapevine.lcs.mit.edu!olivea!nntp.msstate.edu!gatech!swrinde!cs.utexas.edu!convex!camelot.dsccc.com!sun001!spd!jmccarty From: jmccarty@spd.dsccc.com (Mike McCarty) Newsgroups: comp.os.msdos.misc,gnu.misc.discuss Subject: Re: ps for dos? Date: 20 Jan 1995 00:26:25 GMT Organization: DSC Communications Corporation, Plano, Texas USA Lines: 32 Message-ID: <3fmvvh$inp@sun001.spd.dsccc.com> References: <8752021574.KAA54198@null.port.nl> <MATHIAS.95Jan19121219@sp2.eas.iis.fhg.de> NNTP-Posting-Host: @aplo139.spd.dsccc.com