HDTenEightyP/NetNews huggingface dataset:
From: esrma@warwick.ac.uk (Mr P M Jones)
Subject: Tape partitions on a DAT and un-manned backups
Organization: Computing Services, Warwick University, UK
Date: Thu, 13 Aug 1992 12:40:51 GMT

I have a SGI supported DAT and all works well on it.  I read recently
in this newsgroup about partitioning the tape and was hoping to get
some more information on this.  I would like to split a 60m tape
(1.3 Gbyte) into 7 tape partitions so that a daily backup can be made
of all changed files without having to do a tape change or overwrite
the previous day's backup ( and thus allowing the system manager a
week to go on holiday and still let the users delete old files at random )


Three questions:

1) is this possible and if so how do I do it as it does not seem to be
   covered in the manuals.

2) if (1) is true, is there a nifty script to queue the backups each day
   or an ftp site etc with an example of this

3) if the backup is greater than the partition, will there be any
   disasterous consequnces or will the backup exit cleanly and leave
   appropriate warning messages.


Thanks,

P.M. Jones
Newsgroups: comp.sys.sgi,comp.sys.mips,comp.unix.misc,comp.unix.questions
From: stoodt@cis.umassd.edu (Michael Stoodt)
Subject: Re: Grep-ing for Constants (Re: Assembler Syntax...)
Keywords: recap of "EXPORT", grep, UTLB exception handler
Organization: University of Massachusetts Dartmouth
Distribution: na
Date: Wed, 19 Aug 1992 01:41:21 GMT

Take a look at the Perl script "rgrep"; it does your recursive
directory grepping, ignores binaries but uncompresses .Z files as
necessary, and does everything else including walking your dog...
-- 
Michael A Stoodt  [MaS]                       stoodt@cis.umassd.edu
"Will the last person to leave the planet please turn off the sun?"
                                                     - Mike Resnick
Newsgroups: comp.sys.sgi
From: jrroma@beaker (John Roman)
Subject: How do I get the load average?
Organization: Monsanto Company
X-Newsreader: Tin 1.1 PL5
Date: Fri, 21 Aug 1992 13:19:28 GMT

I would like to get the load average on my machine in the same
way that top or osview does it.  Is there a way I can read those
values out of the kernel?  Alternatively, is there a way I can
calculate those values from available information?

I have gotten a copy of monitor for the RS6000, but the values
calculated using its load average algorithm are not close to
the those displayed by osview.  It uses the runque and runocc
values out of the sysinfo structure and the formula:

load average = ( ( curr_runque - runque_1min) / 
			( curr_runocc - runque_1min) ) - 1

where 1min is the runque & runocc 1 minute previously.  This
does not seem to give reasonable values for some reason.

Thanks very much for your help.

--
John Roman                                          Monsanto Company
jrroma@beaker.monsanto.com                          Chesterfield, MO  63198
(314) 537-7044
Xref: sparky comp.sys.sgi:12730 comp.unix.wizards:3668
From: cliff@research.nj.nec.com (yep just another Xer)
Newsgroups: comp.sys.sgi,comp.unix.wizards
Subject: can you set timeout on portmapper clnt_create() ?
Summary: want to query random hosts with RPC without waiting
Keywords: rpc clnt_create portmap timeout
Date: 21 Aug 92 18:04:43 GMT
Organization: NEC Research Institute
Originator: cliff@magic

hi,
i'm writing some packet analyzer/statistics-gathering code.  i am trying
to identify packet types down to the rpc level (i.e. nfs, ypserv, etc.).
to do this i make a query to the portmapper of each new host that appears
as a source of new packets, and essentially what i want is to call
pmap_getmaps().  however, we have a heterogenous network with some PC's
and Macs on it, and although these machines talk telnet and ftp, they
don't talk rpc (and hence have no portmapper to talk to).  so the program
hangs whenever a PC or Mac sends a packet, because the program tries
to establish a connection with the portmapper on the remote host, which
of course doesn't exist on PC's/Macs.

i know, one way to avoid this is to not make the portmap call to the PC/Mac.
but what i'd really like to do is to be able to just have a timeout (say
just 2 seconds instead of the default 25 [who set *that* value anyway??])
to the call so that if the client doesn't answer, the program can just
ignore that host and continue functioning.  also, i'll need this in case
i get into a situation of trying to contact the portmapper of a UNIX host
that just crashed.

i tried to do this, unsuccessfully, by using the "middle level" of rpc,
with a statement such as cl=clnt_create(argv[1],PMAP_PROG,PMAP_VERS,"udp").
however, i don't see any way to establish a timeout on the initial
client creation.

do i have to go all the way down to XDR (ugh!) or am i already making
the code to complicated?  this is my first time programming RPC, so it's
not too clear if i'm going in the right direction.  i succeeded in writing
a program that duplicates /usr/etc/rpcinfo -p host, but that just uses
the default interface pmap_getmaps().  clnt_create() works fine if the
host has a portmapper, but hangs otherwise.

please route any suggestions to cliff@research.nj.nec.com.  thanks.
-- 
--
cliff@research.nj.nec.com	609-951-2688	fax 609-951-2482
[Cliff Miller, 80% RA, 20% ESA (research associate & ergodic systems-analyst)]
NEC Research Institute, 4 Independence Way, Princeton NJ 08540
Newsgroups: comp.sys.sgi
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: problem with tape device
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Date: Sat, 22 Aug 92 03:27:10 GMT

In <9822@fs3.cam.nist.gov> gpfrn@cam.nist.gov (Glenn_P._Forney_x6884) writes:
|  i have a 'sgi' 8mm exabyte tape drive, pi 4d35 running
| 4.0.2 .  After trying to switch tapes (by physically
| pushing the eject button on the tape drive) i got
| the following response from the 'mt status' command:
| 
| no such device

Sounds to me like the drive isn't fully seated.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
Newsgroups: comp.sys.sgi
From: philip@ziggy.stanford.edu (Philip Machanick)
Subject: finding page size?
Reply-To: philip@ziggy.stanford.edu (Philip Machanick)
Organization: CS Department, Stanford University, California, USA
Date: Tue, 18 Aug 1992 07:20:25 GMT

I need to dynamically look up the page size (I know it is 4K now, but prefer  
not to build such assumptions in).

Grepping through header files, I found

#define NBPP            4096            /* Number of bytes per page */

in sys/immu.h.

Is this a good constant to use (i.e. supported)?

Is there a more standard UNIX way of getting this sort of number?
--
Philip Machanick
philip@pescadero.stanford.edu
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: finding page size?
Date: 19 Aug 92 04:38:26 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1992Aug18.192849.3498@CSD-NewsHost.Stanford.EDU> philip@ziggy.stanford.edu (Philip Machanick) writes:

| In article <onughl0@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson)  
| writes:
| > Yes, and no.  r4k systems can have multiple page sizes, and one
| > of these days we will use that feature.  Besides, it may not
| > be terribly portable.  See 'man getpagesize'.
| 
| Thank you. Is this in a header file? I couldn't find it and just hacked in the  
| declaration from the man page.

Nope.  like many system calls, there is no prototype for it
in a header file.  Perhaps someday.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
From: johnb@physun.physics.mcmaster.ca (John Benjamins)
Newsgroups: comp.sys.sgi
Subject: Maximum number of concurrent users under IRIX 4.0.x
Date: 12 Aug 92 20:04:26 GMT
Organization: Dept. of Physics & Astronomy, McMaster University


We have a 4D/340 (with 128 Mb RAM, 512 Mb swap) that is being used as
our central mail machine here on campus.  We are expecting to get 300
concurrent users on the machine (we are around 60 right now).  Does
anyone have this many simultaneous user on a machine like this?  If so
what resource limits did you bump into along the way?  For example, We
had trouble getting over 45 concurrent users initially, because we
were running out of stream event resources (see output of netstat -m).
We bumped up NSTREVENT in the kernel and that got us going again.
Other info about the system that might help: only one serial port in
use (for the console), all users will be logging in over the network
using telnet, rlogin, etc.

Thanks!

-- 
 // E. John Benjamins,           Computing & Information Services,          \\
// johnb@edge.cis.mcmaster.ca    McMaster University, Hamilton, Ont., CANADA \\
\\                                                                           //
 \\ "Everybody loves to see justice done, on somebody else" - Bruce Cockburn//
From: frank@marvin.contex.com (Frank Perdicaro)
Newsgroups: comp.sys.sgi
Subject: Re: Not enough swap space
Date: 20 Aug 92 13:55:28 GMT
Organization: Xyvision Design Systems

In article <7085@charon.cwi.nl> robertl@cwi.nl (Robert van Liere) writes:
>
>A long, long time ago (i.e. in the 3.3.? days) Lance M Option @ NIH
>wrote :
>
>>     SGI System Gurus:
>>       We are experiencing problems with "malloc()".  It seems
>>       that if an amount of memory greater than the sum of
>>       free memory and free swap space is requested, the malloc()
>>       succeeds, but the program is killed by the OS when the
>>       memory is used.  How can this condition be caught?  Can't
>>       the OS give some indication to the user of why his proc died?
>
>We are currently experiencing this behavior as well. Can this condition
>be caught in 4.0.5 ? If not, is there something else we can do to avoid
>these (SysV related) "problems".
>
If you have an archive of this newsgroup, see the discussing between
Dave Olsen and I about this.  In general, kernel kills of this type
are not predictable, and not recoverable.

The behavior can be turned off with a kernel variable that I do not 
remember the name of.

There are techniques to deal with this problem.  Have a child process
do work, but send the parent a timestamped message every now and then 
in a piece of shm.  If the parent finds the message old, and 
/usr/adm/SYSLOG says the child was killed by the kernel for being a 
pig, parent can make a new child, and restart.   Ugly but
bulletproof.  Keeping the parent just a skeleton insures that only
the child would get killed, not the parent.  An operating system
inside and operating system......

-- 
	 Frank E Perdicaro, Systems Admin, etc.		Xyvision Color Systems
      Legalize guns, drugs and cash...today.		101 Edgewater Drive
   inhouse: frank@marvin, x5572				Wakefield MA
outhouse: frank@contex.com, 617-245-4100x5572		018801285
From: joel@jellotrees.esd.sgi.com (Joel Tesler)
Newsgroups: comp.sys.sgi
Subject: Re: compiling motif programs on the Indigo.
Date: 12 Aug 92 15:54:58 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA


> But when I try to link with Xm_s, the linker complains
> that it can't find regcmp and regex. If I include Xm_s, do I need to
> include another library also? 

You need -lPW.  Some programs without the shared library need it as
well, but since the shared library includes everything, it always
needs it.  See the Motif release notes for more info.

Joel Tesler
joel@sgi.com
415-390-3048
Newsgroups: comp.sys.sgi
From: misch@rbhp90.rbg.informatik.th-darmstadt.de (Clemens Misch)
Subject: Re: Help for my binary read !!!
Date: Thu, 13 Aug 1992 08:34:42 GMT
Distribution: usa
Reply-To: misch@rbhp90.rbg.informatik.th-darmstadt.de
Organization: Rechnerbetriebsgruppe FB20; TH Darmstadt (Germany)
Keywords: binary file read


In article <Aug.12.15.40.21.1992.3094@paul.rutgers.edu>, slu@paul.rutgers.edu (shen lu) writes:
> B
> Dear netters:
>    I have the following c-code which reads in a binary file
>    generated by Fortran program write: write(10) n1,n2,n3,n4
>    (Here, n1=40,n2=60, n3=17, n4=1)

[ code deleted ]

> 
>  Interestingly, the c-code will give me the following results:
>      16 40 60 17  
>      ^^
>      (What's is 16 doing here ? )

It happens that 16 is 4 * sizeof(long). Can it be, that fortran
maintains a 'filesize' in the first longword of a file?
Just a guess.
--
===============================================================================
Clemens Misch                                        Rechnerbetriebsgruppe FB20
                                                     Merckstrasse 25 
EMail: misch@rbhp90.rbg.informatik.th-darmstadt.de   W6100 Darmstadt (Germany)
Tel.: +49 6151 163514
===============================================================================
From: jim@accelr8.com (Jim Reiss)
Newsgroups: comp.sys.sgi
Subject: IRIX sendmail MXing?
Date: 21 Aug 92 17:32:19 GMT
Organization: Accelr8 Technology Corporation

I am trying to set up a 4D/20 running IRIX 4.0.1 as an MX mail handler
for our site.  We communicate with an Internet provider by UUCP, and
when mail comes in it is always delivered to the current host and not
whatever host it is addressed to (mail to jim@venus.accelr8.com or
jim@earth.accelr8.com goes to jim@saturn.accelr8.com).  The sendmail.cf
file talks about looking up "MX records", but doesn't say how to set
such records up.  So, how do I set up MX records?  Thanks for any
information.
-- 
 Jim Reiss (jim@accelr8.com)    Accelr8 Technology, Denver, Colorado, USA
 Opinions expressed above are mine.  Who else would have them?
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: IRIX 4.0: how much memory?
Date: 21 Aug 92 20:16:26 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1992Aug21.094913.42477@kuhub.cc.ukans.edu> arritt@kuhub.cc.ukans.edu writes:

| We're considering an upgrade from IRIX 3.3 to 4.0, now that
| the rest of you have served as the guinea pigs :-)  :-)   
| ... Anyway, the problem is we've been told 4.0 needs 'more memory' 
| but not how much 'more'.  So a couple of questions arise:
| 
| (1) With 16 MB will our 4D/25 only have problems at the margin,
| for heavy loads or the largest applications; or will the thing 
| turn into an electronic doorstop?

16 Mbytes is the minimum useful system with 4.0.1, unless you use
the thing as just a terminal.  My opinion, which somewhat conflicts
with official statements ;)  For any 'real' use, 16 isn't enough
(I've had this opinion reinforced by using an r4k indigo with only
16 Mb for development the last few weeks; you do way to much paging,
which sort of wastes the faster cpu).  I'd go with 24 minimum for
systems with significant workloads, and if you have heavy workloads
(of any size, as opposed to small number crunchers (if there are such
things ;)) I'd go for at least 32.  Memory is too cheap (even from SGI
these days), to skimp.  You can blame it on bloat or whatever, but
those are the facts as I see them.

| (2) All of the simm slots are filled with 1 MB simms.  If more memory 
| is essential our ideal strategy would be to replace one bank of simms
| with 4 MB, for a total of (4*4 + 12*1) = 28 MB of memory.  But we've
| gotten a gazillion different answers about whether 4 MB and 1 MB
| simms can co-exist in the same machine.  We'd very much like to hear
| from  anyone out there who actually **HAS** 4 MB and 1 MB simms in
| their machine, or who tried it and found it didn't work.  We've gotten
| lots of answers along the lines of 'I don't think it will work' or
| 'It ought to work ok', but no real case histories. 

The 'official' answer is to go to double high (2 Mbyte) SIMMs.  I hear
conflicting stories on 1 and 4 mixtures also.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
From: atchity@tc2.fi.ameslab.gov (Gregory J. Atchity)
Newsgroups: comp.sys.sgi
Subject: /usr/bin/X11/appdefpath problem
Date: 19 Aug 92 16:30:03 GMT


  I've found that the appdefpath program returns a string containing the
directory /usr/lib/X11/app-defaults/color1280 but that this directory does
not exist on our system (4D/25, 4.0.4).  This appears to cause a problem
when XRN tries to read its resource file.

  Is this really a problem?  Did we somehow forget to install something, or
should this directory be a link to /usr/lib/X11/app-defaults/sgi-color1280?

Greg Atchity                     Iowa State University     515-294-2582 (voice)
atchity@IaState.edU              Ames Laboratory - USDOE   515-294-5204 (FAX)
atchity@tc2.fi.ameslab.gov       310 Wilhelm Hall
                                 Ames, IA 50011
From: xm9@sdcc12.ucsd.edu (richard g. adair)
Newsgroups: comp.sys.sgi
Subject: Re: Help for my binary read !!!
Summary: VMS strikes again!
Keywords: binary file read
Date: 13 Aug 92 14:39:48 GMT
Distribution: usa
Organization: Arete Associates, San Diego

In article <Aug.12.15.40.21.1992.3094@paul.rutgers.edu> slu@paul.rutgers.edu (shen lu) writes:
>   I have the following c-code which reads in a binary file
>   generated by Fortran program write: write(10) n1,n2,n3,n4
>   (Here, n1=40,n2=60, n3=17, n4=1)
>  I tested both code on SGI IRIS and HP 835 machines, they give the 
>  same unmatching results.
> Could somebody out there give me some hint ?

Ahh, VMS compatibility!  FORTRAN under VMS is a record oriented
beastie.  VMS has the idea that storage is kept in finite chunks
with a known length (like a punch card :-).  The length of your
"record" is 4x 4 bytes, or 16...

Tony Burzio
Arete Associates
San Diego, CA
From: lyndon@angelo.amd.com (Lyndon C. Lim)
Newsgroups: comp.sys.apollo
Subject: advice on backup systems
Date: 17 Aug 92 16:46:01 GMT
Organization: Advanced Micro Devices, Inc.

hi.  we have a ring of 3000's, 4500's, and 425t's here
at work.  i think we will need to purchase an archival
backup system in the near future.  i would appreciate
any suggestions and comments on your experiences with
such systems, for example, 4mm-DAT and 8mm-VIDEO.

also, any suggestions about a scsi-based system which
could be moved between sun and apollo computers would
be particularly helpful.

thanks,
lyndon c.
Newsgroups: comp.sys.apollo
From: pschenk@a-op-wc7.cern.ch (Paul Schenk)
Subject: Re: Apollo 2500 dead?
Keywords: diagnostics, death,2500
Organization: CERN European Lab for Particle Physics
Date: Wed, 19 Aug 1992 18:50:52 GMT

I find it a bit suprising that the machine will not boot diskless
from another node. Does it get partway (ie: does it show some byte count
and then die, or at least find its partner)? If so, and your running
10.3, I would bet that you are seeing the netman bug that made the 
diskless boot hang if there was a broadcast packet on the segment.
Try to apply the patch to the partner node and try again.

Ciao,
Casper

Paul Schenk       |   University of Victoria
                  |   CERN PPE / OPAL
pschenk%cernapo@cernvax.cern.ch <- Pref.
pschenk@cernvm.cern.ch
schenk@uvvm.bitnet
" I have never seen anything fill up a vacuum so fast and still suck "
                          -Rob Pike on X
From: xx123yyy@caravan.ksu.ksu.edu (Brian Gregory Howard)
Newsgroups: comp.sys.apollo
Subject: Re: Post OS installations: what do YOU do?
Date: 20 Aug 1992 14:33:59 -0500
Organization: Kansas State University
NNTP-Posting-Host: caravan.ksu.ksu.edu

system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson)) writes:

>In article <1992Aug15.222958.27644@edsi.plexus.COM> chuck@edsi.plexus.COM (Chuck Tomasi) writes:
>>Over the last couple of years I have evolved a script to take care of a
>>machine once the OS and patches have been installed.  It started out
>>with a few site specific links and has grown to include patches to rc

>This one also started the same way, and is augmented by ~20 pages
>of nroff'ed notes on stuff I must do manually after an install.

Here I thought I was the only one who spent the time scripting/debugging sys-
admin "utilities".  As a student here at KSU, I've spent the last 3 years making
mid semester life easier by investing time during the summer writing sys-admin
utilities.  I finally got so many of them that I created a menu based system
(kind of like HP's SAM or IBM's SMIT) called SSU.  Now that everyone is buying
SUNs, I am sssllloowwly converting SSU to SUNOS.

One nifty thing about SSU is its ability to configure for a given system.  Each
system has a configuration file which notes whether it is discless, has user
files and so on.  This information is used to set a number of pre defined
environmental variables before calling a configuration/installation script. The
config/insall script (I currently use the C-shell) then may use the environment
variables to check for os type (10.2 or 10.3), version of X windows ..... it
makes the scripting more portable - and sometimes, more of a pain!

I can also use the configuration files to dump important information such as
CPU serial number, IP address, node ID and other items.

			Happy coding///scripting


				Brian G. Howard
				brian@grace.ecc.ksu.edu
				xx123yyy@matt.ksu.edu
Newsgroups: comp.sys.apollo
From: lnz@lucid.com (Leonard N. Zubkoff)
Subject: Re: dumping executable images?
Organization: Lucid, Inc.
Date: Wed, 12 Aug 92 19:49:10 GMT

In article <5a81a5c9.cb12@dabo.citi.umich.edu> rees@dabo.citi.umich.edu (Jim Rees) writes:
   In article <HALL.92Aug10162423@leopard.cs.uidaho.edu>, hall@cs.uidaho.edu (Kelly Hall) writes:

     Leonard Zubkoff of Lucid wrote some patches for Emacs to dump an
     executable image, but he mentioned that his code now fails to work with
     10.4.

   John Vasta of HP/Apollo was kind enough to supply a new version of
   unexapollo.c that works with sr10.4.  You can get it by ftp from
   archive.umich.edu, in the file apollo/epoch-4.0-patches.tar.Z .

Are you sure this works correctly for all cases?  I had a friend testing a
version with these same changes to unexapollo.c and they did not work for him
(I've never installed SR10.4, nor do I expect to anytime soon).  Other than
getting unexapollo.c working for SR10.4, I have a version of modifications for
Emacs 18.58 just waiting to be released.

In private email I just received another patch from Rob Stanzel at Apollo, so
maybe I can finally wrap this up for SR10.4.  Anyone out there running SR10.4
who can allow me inbound ftp and is either willing to run the build and send me
the log, or let me temporarily login to try the build?

		Leonard
Newsgroups: comp.sys.apollo
From: unruh@physics.ubc.ca (William Unruh)
Subject: Update: monitors on 2500
Summary: Update: Monitors on 2500
Keywords: monitors,2500
Organization: University of British Columbia, Vancouver, B.C., Canada
Date: Fri, 14 Aug 1992 23:49:54 GMT

As I stated earlier the monitors on my 2500 ( 15") blew. After ttrying
to repare them I went to the Surplus equip store on campus here and
found they had some 19" monitors from some old 3500 on sale- no cables.
They work! And the cable that worked was a cheap $6.00 IBM Monochrome
monitor extention cable. They were a bit dim, but after some
trepedation, I tweaked the sub threshold(?)  pot inside a tiny amount
and now they are fine. How does the 2500 Know tht there is a high res
monitor attached to the system rather than a 1024X800? ( What weas
interesting was that if I drove it via a Sun Mono cable, It would come
up in low res mode- Teh sun cable has 2-7-8 shorted together. Do they as
someone suggested use one of the lines (2or 7) to tell which monitor it
is?
And why did the monitor sync at low res since both the hor and vert are
rather different between the two. Are they really multisyncs in
disguise, or would they burn out driven at the low res mode?
Bill Unruh
unruh@physics.ubc.ca

Newsgroups: comp.sys.apollo