HP3000-L Archives

September 1996, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 27 Sep 1996 10:00:38 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (74 lines)
Rob asks:
> In a message yesterday Rich described this program as being necessary at
> system startup to avoid shell fork errors.  What is it and what does it
> do?  I did not run it since VERSION shows it to have PM capability, and
> I would like to have an answer first.

:STRCNTL.NET.SYS

@(#) Streams/iX version A0050000

Streams/iX control program:

:STRCNTL.NET.SYS -HELP
STRCNTL.NET.SYS: Unknown option -H
Usage: STRCNTL.NET.SYS [-S] [-M] [-I]

-S - Start Streams/iX.

-M - Streams memory usage monitor.

-I - Streams memory usage monitor(counters set to 0).

:STRCNTL.NET.SYS -M
  Buf  Free Total          Malloc      Free
 Size  Bufs  Bufs delta     Calls     Calls delta   bc depth pend   cb
    1     0     0     0         0         0     0    0     0    0    0
    2     0     0     0         0         0     0    0     0    0    0
    4     0     0     0         0         0     0    0     0    0    0
    8     0     0     0         0         0     0    0     0    0    0
   16     0     0     0         0         0     0    0     0    0    0
   32     0     0     0         0         0     0    0     0    0    0
   64   119   128     9     16872     16863     9    0     0    0    0
  128    28    64    36     30738     30702    36    0     0    0    0
  256   344   352     8     32066     32058     8    0     0    0    0
  512    35    64    29     17847     17818    29    0     0    0    0
 1024     8     8     0      2827      2827     0    0     0    0    0
 2048     7     8     1        67        66     1    0     0    0    0
 4096     0     0     0         0         0     0    0     0    0    0
 8192     1     1     0      1108      1108     0    0     0    0    0

Statistics:
  Memory freeze daemon waken up:              0
  Memory thaw daemon waken up:                0
  Freeze segment on user stack:               6
  Couldn't freeze segment on user stack:      0
  Frozen free segments: 29
 Unfrozen free segments:462
  steal_segment succeeded/called:             0 /      0
  steal_bigger_buffer succeeded/called:       0 /      0

Total memory frozen in buckets (bytes):        172032
Total memory available in buckets (bytes):     147904

:ABORT
Program aborted per user request. (CIERR 989)
:

As far as I know there should not normally be a need to run this program
because Streams/iX starts up automagically when the first process opens a
streams device.  I suspect that the RC suggested the use of this program
with the "-S" option to attempt to start/restart the streams system after
the out of disk space condition.  I would *guess* that in Rich's case this
really didn't work, and that the reboot was what actually cleared it up,
and that whether or not he had done the -S before the reboot probably
didn't make any difference (if I remember his original posting correctly).

What is Streams/iX?  It's frightening.  You don't really want to know :-)

I believe Dennis Ritchie invented it.  Any good book on UNIX network
programming will talk about the wonders of STREAMS multiplexing protocol
drivers and related beasties.

G.

ATOM RSS1 RSS2