🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #4153

Re: ps for dos?

#4153
From: Mike McCarty
Date: Fri, 20 Jan 1995 00:34
37 lines
2633 bytes
In article <MATHIAS.95Jan19121219@sp2.eas.iis.fhg.de>,
Mathias Grimmberger <mathias@eas.iis.fhg.de> wrote:
)>>>>> "Device Null" == Device Null <dev> writes:
)In article <8752021574.KAA54198@null.port.nl> /dev/null@null.port.nl (Device Null) writes:
)
)
[deleted]
)
)    Device Null> yeah, i tried mem /c & /d, but i'd still be more
)    Device Null> comfortable with ps instead. i could also use a dos port
)    Device Null> of the unix kill command if there is one so i can stops
)    Device Null> jobs. since i got my computer, i have spent a lot of time
)    Device Null> stocking it with gnu utilities, and i practically have
)    Device Null> unix running on my dos box. i just need a few more things
)    Device Null> like ps and kill to complete the circle. i'm posting this
)    Device Null> to gnu.misc.discuss in case anyone there can help me out.
)    Device Null> thanks.

(In reply to original poster)

What you have seen so far is all that DOS supplies directly. You cannot
kill a process in DOS externally (at least not easily). Doing so could be
dangerous. Many applications hook various interrupt vectors. Killing a
process and removing it from memory (yes, it could be done) might very
well leave those interrupt vectors hooked. This would be fine until you
loaded another process, and it re-used the memory freed up by removing
the one previously occupying that memory. Then you would have a real
problem. 

Two utilities which do something like what you want are MARK and
RELEASE. They allow loading of TSRs and removing them without hassle.
They snapshot critical areas of memory to disc, then restore them. But
they are primitive by comparison to DOS.

Mike
----
char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Technical Details
Message-ID: <3fn0ff$io7@sun001.spd.dsccc.com>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.mathworks.com!news.alpha.net!uwm.edu!cs.utexas.edu!convex!camelot.dsccc.com!sun001!spd!jmccarty
References: <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: f71eb,cb62ff32efddbbcf
X-Google-Attributes: gidf71eb,public
X-Google-Thread: 1025b4,b6ff7e454cda4faf
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1995-01-19 16:34:55 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.mathworks.com!news.alpha.net!uwm.edu!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:34:55 GMT
Organization: DSC Communications Corporation, Plano, Texas USA
Lines: 37
Message-ID: <3fn0ff$io7@sun001.spd.dsccc.com>
References: <8752021574.KAA54198@null.port.nl> <MATHIAS.95Jan19121219@sp2.eas.iis.fhg.de>
NNTP-Posting-Host: @aplo139.spd.dsccc.com