[Coco] Another NitrOS-9 Level 1 question

William Carlin whcarlinjr at gmail.com
Sun Jan 1 07:43:23 EST 2017


I am trying to start the inetd in the startup script but am running into
something strange:

After startup completes, there is an extra shell "stuck" in memory because
I called inetd as a background process.  This does not happen under Level 2.

Here are the details.

Bill Pierce's XRoar pre-built binary package.  Using the 32 column
version.  All XRoar settings are default from the package ask is the
OS9Boot.

My startup file and the process list after boot and I have logged into
NOS-9 in a telnet session:

OS9:list startup
link shell
del /dd/LOGS/inetd.log
(inetd>>>/dd/LOGS/inetd.log)&
list sys/motd

OS9:procs

Usr #  id pty  state   mem primary module
----- --- --- -------- --- --------------
    0   3 128  active    3 Shell <N2
    0   6 128  waiting   4 inetd <DD
    0   1 128  waiting   1 SysGo <Term
    0   4 128  waiting   3 Shell <DD
    0   2 128 sleeping   3 Shell <Term


The stuck shell process is ID 4.  Killing the process manually works and
frees up the memory that was being used.  Additionally, if you kill the
inetd (ID 6) then both it and the shell will terminate.

Any thoughts would be welcome.  Thanks.


William


More information about the Coco mailing list