HDTenEightyP/NetNews huggingface dataset:
From: op@holmes.acc.Virginia.EDU (Olaf  Pors)
Subject: Re: rootvg restores by inode
Organization: University of Virginia
Date: Fri, 4 Sep 1992 13:04:51 GMT

In article <6420@vtserf.cc.vt.edu> valdis@vttcf.cc.vt.edu (Valdis Kletnieks) writes:
>What I've always done is the following:
>
>(a) take a full backup once a week - in this case, a 'mksysb' flavor.
>(b) The backup script touches /fulldump
>(c) The incremental does a 'find / -newer /fulldump -print | backup -i'
>
>In case of failure, you just spin the mksysb - this gets you something
>back that will at least *BOOT*.  Then you just /etc/restore the incremental
>over the now-semi-functional system.

>I don't see that backup-by-inode is a big issue - the functionality
>is there via other means.  

  I think you must have missed my original posting on this
issue.  Your solution unfortunately brings back files that
were removed between the incremental restores.  This could
possibly overflow the filesystem.

  There's another problem: your restore of the mksysb tape
has created a bootable system.  Great, you boot the
thing.  Now, you attempt to restore files from the
incremental tapes, and in most cases you'd be ok.
However, there may be some files on a tape, such as a new
version of a shared library, which cannot just be copied
over top of one currently in use without crashing the
machine.  This is one reason why such things are done from
a RAM filesystem.  Knowing this, you then find out that the
"limited function maintenance shell" facility on a standard
boot tape is not equipped to handle incremental restores.
I don't know about you, but I don't need glitches, gotchas,
and surprises when a major machine is down and needs to
be restored.  And this is the worst time to have to
pick through the list of files on an incremental backup
tape and hand-restore some of them.

  These are reasons why backup-by-inode is a big issue -
the functionality is otherwise NOT there.  The problem is
that people come up with fairly good solutions, like
yours, that work most of the time, so generally people are
happy and don't complain.  But that 1% of the time that
the solution fails, you get a lot of wasted time, unhappy
users, upset administrators, and bad sentiments against
IBM.  Why wait for this?  Why not fix the whole thing
right to begin with?

Olaf Pors
From: hsg@duke.cs.duke.edu (Henry Greenside)
Newsgroups: comp.unix.aix
Subject: TeX previewers under AIX
Keywords: TeX, previewers
Date: 28 Aug 92 03:14:01 GMT
Organization: Duke University Computer Science Dept.; Durham, N.C.

Can anyone recommend good public TeX previewers that
work under AIX?  People here use xtex on Sun's but this
requires .PCF fonts that don't work on my RS/6000 340
with AIX 3.2.2, even after these fonts are stored in
the right spot.

What I am looking for is a previewer that can rapidly
display one full page of LaTeX output, including
embedded Postscript graphics. Local magnification would
be useful also.

	Thanks,

	Henry
From: pavel@pixel.SLAC.Stanford.EDU (Tom Pavel)
Newsgroups: comp.unix.aix
Subject: Re: Xload Equivalent
Date: 28 Aug 92 06:10:24 GMT
Organization: Stanford Linear Accelerator Center
In-reply-to: jack@freezer.cns.udel.edu's message of 27 Aug 92 15:30:23 GMT


How about a program called "xload," from the MIT X11R5 distribution?

[Sorry, couldn't resist on this one.]


Tom Pavel

Stanford Linear Accelerator Center
pavel@slac.stanford.edu
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.unix.aix
Subject: Re: traceroute for AIX V3.1.6/3.2.x
Date: 24 Aug 92 00:08:56 GMT
Organization: /etc/organization


In article <1992Aug22.233435.29533@news.clarkson.edu>
abstine@clarkson.edu writes:
>
> Does anyone have traceroute working on AIX? If so, what did you have
> to change to make it work? thanks

The free `traceroute' works unmodified under AIX 3.2.  It will not work
under AIX 3.1.

-- 
 \   Charles Hannum, mycroft@ai.mit.edu
 /\  White heterosexual atheist male (WHAM) pride!
Newsgroups: comp.unix.aix
From: rob@csi.on.ca (Rob McAteer)
Subject: Re: Core File Question- Who created it?
Organization: Carp Systems International
Distribution: usa
Date: Fri, 4 Sep 1992 14:54:03 GMT

bguest@ateam.ems.cdc.com (Brandon Guest) writes:

>    Given a core file, how can I figure out what object file created it?
>Any help would be greatly appreciated.  Email replies okay.
AIX provides a command 'crash' that can provice some cryptic clues about
a core dump (I don't know if it is "universal").
-- 
Rob McAteer                                   CAnet: rob@csi.on.ca
Carp Systems International                    Voice: (613) 592-5780
600 Terry Fox Drive, Suite 200                  Fax: (613) 592-0584
Kanata, Ontario, Canada     K2L 4B6
From: tilak%ohc@cmsa.Berkeley.EDU (Tilak Ratnanather)
Newsgroups: comp.unix.aix
Subject: LASER PRINTER and AIX?
Date: 29 Aug 92 16:03:49 GMT


I have a IBM laserprinter 4029 connected to a IBM RS6000/530H workstation.
The printer is 'permanentlt in PPDS mode. However when I want to print a
postscript or hpgl file I have to change the settings on the laser printer
before I run either

	lpr -Pps  test.ps

or

	lpr -Pgl  test.gl

What should I do to make it easy for other guys in my lab who are not
UNIX literate to be able to print a PS or GL or ASCII file whatever
setting the printer is initially set at.

Any ideas or questions for clarification would be appreciated.

Tilak Ratnanather DPhil		tratnana@eureka-gold.wbme.jhu.edu
Dept of Otolaryngology--Head & Neck Surgery
The Johns Hopkins University School of Medicine.
Newsgroups: comp.unix.aix
From: scl@sasha.acc.Virginia.EDU (Steve Losen)
Subject: Re: AIX malloc and fault tolerance
Reply-To: scl@sasha.acc.Virginia.EDU (Steve Losen)
Organization: University of Virginia
Date: Thu, 3 Sep 1992 21:45:27 GMT

In article <1992Sep3.135156.9166@medtron.medtronic.com>, sh0001@israel
(Scott Hansohn) writes:
|> I have questions:
|>     1) Has anyone seen a system where static memory may not really
be
|>        there, or where a nonzero malloc doesn't guarantee the
successful
|>        usage of the memory?

When you malloc a huge chunk of memory, you
do indeed have the memory mapped into your address space.  You just
haven't allocated any pages from swap. If you read this newly
malloc-ed memory (kinda boring since its all zeros) you still don't
allocate any new pages from swap.  You have to actually dirty a page
in order for the system to give you one.

About sparse arrays:  Some algorithms require a very large address
space, but actually write to a very small portion of it.  Such
algorithms
run efficiently under AIX because of this design feature.

|>     2) Has anyone heard of SIGDANGER before?

Only on AIX

|>     3) Read the POSIX standard for malloc from a "legal" standpoint.
|>        If IBM claims POSIX compliance, can I use this as a weapon?

I have no idea.  Personally, I don't think it's a bad feature.  Just
different.  I can see your point, but I can also see advantages in
AIX as well.  All in all, I think AIX does a nice job with
memory management.  For instance, AIX will make some use of all your
RAM, even when you aren't running enough processes to fill it up.
AIX just uses any spare RAM for cacheing disk data.  SunOS will leave
RAM lying about totally unused if you have more than you need.


|>     4) Even if I use this malloc wrapper everywhere in my own code,
|>        how do I deal with third-party code I purchase that calls the
|>        unwrapped malloc?

You can run lsps -a before running any third-party code to see how much
swap is available.  I admit this is crude.

I haven't seen the malloc wrapper, but it sounds like it might be
overly complex.  There is a function called psdanger() that reports
the amount of free swap space.  Instead of writing a signal handler
for SIGDANGER and all that, you could simply see if the system has
enough swap before you malloc.  Admittedly, some other process could
start gobbling pages before you could dirty all of yours, and your
process would get killed in that case.  However, what would you do
if you ever got a SIGDANGER?  Probably exit.

--
Steve Losen                     scl@virginia.edu

University of Virginia Academic Computing Center
From: greve@RS1.THCH.UNI-BONN.DE (Thomas Greve)
Newsgroups: comp.unix.aix
Subject: weird C++ inheritance problem
Date: 28 Aug 92 18:17:26 GMT
X-Unparsable-Date: Fri, 28 Aug 92 20:06:52 NFT

Hello all,

the following code is the essence of a problem, that took me half a
day to find out:

---------------------------------------------------------------------------
class A
{
  int B;
};

class B : A
{
  int b;
 public:
  B(int i = 0) { b = i; }
};

B *x = new B(1);
---------------------------------------------------------------------------

gcc said:
test.cc:13: member `B' is private

;-)
				- Thomas

PS: sorry for asking the n+1st time: where do i send wishes for
    clearer gcc error msg's?

   greve@rs1.thch.uni-bonn.de
   unt145@dbnrhrz1
From: ICH211@DJUKFA11.BITNET (Thomas Heil)
Newsgroups: comp.unix.aix
Subject: Bad SMIT behaviour (increasing JFS size)
Date: 27 Aug 92 08:47:59 GMT
Organization: KFA  Forschungszentrum Juelich

Hello!

I found out that in

      smit chjfs  (ASCII or MOTIF, this is AIX 3.2)

I can't enter a number preceded by a + sign in the size field to increase
the size of a JFS by a given amount, although the help page for this entry
says it (and it is possible with "chfs -a size='+nnnnn' /filesysname"). I
guess this is not working as it should be, right?

/T.H.
--------------------------------+-------------------------------------------
Thomas Heil                     | BITNET:   ICH211@DJUKFA11.BITNET
Forschungszentrum Juelich - ICG2| Internet: Th.Heil@kfa-juelich.de
D-5170 Juelich       Germany    | Phone: +49 2461 61-6915
From: bguest@ateam.ems.cdc.com (Brandon Guest)
Newsgroups: comp.unix.aix
Subject: Core File Question- Who created it?
Date: 3 Sep 92 19:08:30 GMT
Distribution: usa
Organization: Empros Systems International, a division of Control Data


The answer to this question is *probably* generic to all (or most) Unix
type systems but because we run AIX, I thought I would start here.

We are in the process of developing a set of applications that run a 
variety of 'process' type applications.  These applications are typically
structured as a set of AIX processes which run under a uid.  Occasionally
on of the processes will croak and generate a 'core' file.  The rest of
the processes may or may not go away and the process which died may auto
restart.  

Later when I try to look at this core file with dbx (xde) they protest
because I don't have the proper object file to go with them.  

The question of the day is.....

    Given a core file, how can I figure out what object file created it?

I have looked in 'Info' and found some stuff on core file formats;
however, how to find the object file name is not obvious.  I thought
it might be in the 'u-block' area- but I couldn't find anything that 
looked good in user.h.  It might be in the ld<-info structure- but
I don't know where it is defined or how to crack it out.

Then again, there is probably some nifty-keeno-80%-there Unix utility
that just tells me.  

Any help would be greatly appreciated.  Email replies okay.

Thanks!

Brandon
-- 
H. Brandon Guest                | bguest@ems.cdc.com
Empros Systems International    | (A division of Something)
2300 Berkshire Lane North       | Voice (612) 553-4529
Plymouth, MN 55441-3694         | Fax   (612) 553-4018
From: ianm@icsbelf.uucp (Ian Moran)
Newsgroups: comp.unix.aix
Subject: Re: sendmail and NIS managed aliases problem
Keywords: NIS AIX aliases SMIT
Date: 27 Aug 92 12:50:04 GMT
Organization: ICS Computing Group Ltd., Belfast

In article <1992Aug26.152346.20352@awdprime.austin.ibm.com> curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806) writes:
>mcr@csi.on.ca (Michael Richardson) writes:
>
>There was a bug in 3.1 where it would try to bind anyway, (and hang if
>the server was dead,) even for root with no NIS group serving.  That
>should be fixed in 3.2 and in 2007 or 2008, (i forget which.)
>
>Moral:  Don't be wary, just run the latest stuff.

Is there a deeply buried menu option in SMIT for handling the
addition of NIS users to the passwd file, or does all NIS management
have to be done via raw editing of the various /etc files?

>curt@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality 
>My views are unrelated to those of IBM     |        Austin, TX
>  Social Security isn't a retirement plan.  It's middle class welfare.


-- 

Ian Moran                     Internet:  ianm@icsbelf.co.uk
ICS Computing Group Ltd.      UUCP:      ...{uknet,uunet,mcsun}!icsbelf!ianm
Belfast, N. Ireland.          Fidonet:   2:440/59.5 & 2:257/10.1
From: jack@freezer.cns.udel.edu (Jack Seltzer)
Newsgroups: comp.unix.aix
Subject: Xload Equivalent
Date: 27 Aug 92 15:30:23 GMT
Reply-To: jack@freezer.cns.udel.edu
Organization: University of Delaware


On our Sun SPARCservers we have the program: xload which presents
a load average graphical display.  I have been trying to find 
an equivalent program on the 6000.  Anyone know of one?
Newsgroups: comp.unix.aix
From: shinn@agsm.ucla.edu (Shinn-Tzong Wu)
Subject: HELP: how to kill a stopped 'tar' job?
Keywords: 8mm Tape RS/6000
Organization: UCLA, Department of Psychology, Drug Abuse Research Center
Date: 28 Aug 92 11:47:05 PDT

Hi, we had problem in killing a stopped 'tar' job, no matter what kind 
of parameters we put, the process was still there and no one can access
the /dev/rmt0 because the previous process still existed.  I have done
twice the most stupidest way - reboot the whole 520 - just to regan access
the /dev/rmt0.  Would anyone tell me how to kill (-9 won't work) that 
runaway process?  Thanks...


Shinn
shinn@shin.sscnet.ucla.edu
Newsgroups: comp.unix.aix
From: carol@phoenix.oise.on.ca (Carol Broderick)
Subject: setgid permission on directories
Organization: Ontario Institute for Studies in Education
Date: 31 Aug 92 21:15:07 GMT

I just transferred a bunch of files from an RT using 

remsh remote_sys "tar cf - /home" | tar xf -

and all the directories were restored with permission rwxr-sr-x. Can anyone
tell me why this happened? More importantly now, does setgid permission
for a directory actually do anything?  Please email and I will summarize.

Carol Broderick.
From: cxt@ecl.psu.edu
Newsgroups: comp.unix.aix
Subject: Terminal input on RISC
Date: 25 Aug 92 17:43:26 GMT
Organization: Engineering Computer Lab, Pennsylvania State University


I used to run some fortran programs on vax.

I can combine the commands and terminal input together into a .com file.
for example, I want to run a fortran code which needs terminal input of
(x=)2.0 and (y=) 3.0, then I can do it by runnig the .com like

$ fortran aaa.for
$ link aaa.for
$ run aaa.for
 2.0
 3.0

to avoid intensive terminal typing.

My question is:

 does RISC have the same ability to do so?
From: curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806)
Newsgroups: comp.unix.aix
Subject: Re: setgid permission on directories
Date: 2 Sep 92 16:50:20 GMT
Organization: IBM AWD, Austin

In article <1992Aug31.171507.10029@jarvis.csri.toronto.edu> carol@phoenix.oise.on.ca (Carol Broderick) writes:
>and all the directories were restored with permission rwxr-sr-x. Can anyone
>tell me why this happened? More importantly now, does setgid permission
>for a directory actually do anything?  Please email and I will summarize.

some smart friend of mine said:
        it's probably because the directory she restored into
        had the setgid bit set already.  they propagate down
        the tree, I think.  mkdir propagates it.


-- 
curt@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality 
My views are unrelated to those of IBM     |        Austin, TX
  Social Security isn't a retirement plan.  It's middle class welfare.
From: Christophe.Wolfhugel@grasp.insa-lyon.fr (Christophe Wolfhugel)
Newsgroups: comp.unix.aix
Subject: comsat forking, forking and forking (3.2.0)
Date: 30 Aug 1992 16:51:31 +0200
Organization: INSA Informatique (Grasp), Lyon, France
NNTP-Posting-Host: grasp1.univ-lyon1.fr

10 [15:35] wolf@grasp1:~> ps -fe | grep comsat | wc -l
94

Has anyone an idea on what could have caused all those comsat
processes to appear in less than one night? (I got really heavy mail
traffic this nite, so I guess it's related).

Would replacing comsat with the BSD one help solving the problem?

-- 
Christophe Wolfhugel    |    Email: Christophe.Wolfhugel@univ-lyon1.fr
   "No keyboard, press F1 to continue"
Newsgroups: comp.unix.aix
From: konopik@konopik.austin.ibm.com (Brad Konopik)
Subject: Problem with cron and AIX 3.1.7
Organization: IBM AIX Porting Center, Austin
Date: Mon, 31 Aug 92 22:34:36 GMT

In article <ROLF.92Aug26150527@green.mathematik.uni-stuttgart.de> rolf@green.mathematik.uni-stuttgart.de (Rolf Schreiber) writes:
>I want to make a backup of some files every night, so I looked at
>cron and started 
>
>crontab mycronfile
>
>with mycronfile:
>
>30 2 * * 0 /home/rolf/bin/mybackup -basic
>30 2 * * 1-6 /home/rolf/bin/mybackup -update
>10 * * * * /home/rolf/bin/testcron
>
>Each command was executed one time (the correct time), but as I think
>it should run every time (the testcron should run every hour for
>example). It doesn't!
>
>Any suggestions welcome. Please answer by email, I'll summarise if
>there is interest.
>
>Thanks, Rolf
>--
>Rolf Schreiber           EMail : rolf@green.mathematik.uni-stuttgart.de

I had a similar problem.  I received an emergency fix for APAR IX23061 and
it fixed the problem.


-- 
  tcpnet: konopik@konopik.austin.ibm.com  |  Brad Konopik
 ibmvnet: KONOPIK at AUSTIN               |  IBM AIX Porting Center, Austin
internet: konopik.austin.ibm.com!konopik@ibmpa.awdpa.ibm.com
   uunet: ..!uunet!ibmsupt!ibmpa!konopik.austin.ibm.com!konopik
From: curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806)
Newsgroups: comp.unix.aix
Subject: Re: automount and direct mounts
Keywords: automount direct mount
Date: 28 Aug 92 15:32:14 GMT
Organization: IBM AWD, Austin

In article <tnr.714997550@csd> tnr@csd.cri.dk (Torben N. Rasmussen) writes:

>I am trying to mount /home as a direct mount:
>  # cd /home
>  ksh: /home: 0403-037 The specified path name is not a directory.

show us your automount map for this entry.
do this as root:
	iptrace -a  -d server -b /tmp/t  (where server is the /home machine)
	cd /home
	kill (iptrace's pid)
	ipreport -rns /tmp/t |egrep -p 'NFS:|MOUNT'

show us the output.
-- 
curt@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality 
My views are unrelated to those of IBM     |        Austin, TX
  Social Security isn't a retirement plan.  It's middle class welfare.
From: james@hpopd.pwd.hp.com (James Kay)
Date: Wed, 26 Aug 1992 12:43:52 GMT
Subject: OSI stack APIs on AIX?
Organization: Hewlett Packard PWD
Newsgroups: comp.unix.aix

Hi,

I need to know some basic infomation about what OSI stacks IBM provide on AIX
(particularly the RS/6000 version). 

Can anyone tell me:

  a)  what OSI stacks are available / most commonly used
  b)  what APIs exist into these stacks, and in particular what APIs exist into
      the top layer for applications to use?

Please e-mail me and I'll summarize.

Thanks,

James Kay,                             
Hewlett-Packard (UK) Limited,          UN*X mail : james@hpopd.pwd.hp.com
Nine Mile Ride,                               or : james@hpopd.pwd.hp.co.uk
Wokingham,                              
England.                                     

X.400 :    C=GB, ADMD=GOLD 400, PRMD=hp, ORG=hp, OU1=Pinewood, SN=Kay, GN=James
Newsgroups: comp.unix.aix
From: craig@cactus.org (Craig T. Anderson)
Subject: Re: Reading Sun 8mm tape on RS6000
Organization: Capital Area Central Texas UNIX Society, Austin, Tx
Date: Fri, 28 Aug 1992 02:28:54 GMT

In article <1992Aug27.121808.238@dct.ac.uk> mcramm@dct.ac.uk writes:
>I'm trying to read an 8mm (Exabyte) tape written using tar on a Sun4
>with (I think) the tape drive set to variable byte per block in hardware.
>It was written to /dev/nsrmt0 using SunOs4.1.x tar.
>
>The problem is that I'm trying to read it on our RS/6000 (Mdl 530) and can't
>get anything to read bytes from the tape. I've tried using smit, chdev [...]

No matter what the block size the tape was written with you can read it
with the following command (works only on 8mm drives):
	chdev -l rmt0 -a block_size=0
	dd if=/dev/rmt0 bs=256k | tar -tvf -

-Craig
-- 
Craig Anderson     craig@cactus.org
Newsgroups: comp.unix.aix
From: markman@ils.nwu.edu (Art Markman)
Subject: Need info abt stats packages for RS-6000
Organization: The Institute for the Learning Sciences
Date: Mon, 31 Aug 1992 19:55:35 GMT

I'm looking for a statistical analysis package that will run on the
RS-6000.  Something general along the lines of SAS or SPSS would be
great.  

In addition, if anyone knows of MDS packages like KYST or SINDSCAL for
the RS-6000, that information would be helpful as well.

Please reply via e-mail, as I do not normally read this
newsgroup.

Thanks.
-- 
Art Markman                      |   He said, "You must be joking son,
Department of Psychology         |     where did you get those shoes?"       
Northwestern University          |                     -Steely Dan
Newsgroups: comp.unix.aix
From: jhardin@stat.tamu.edu (James Hardin)
Subject: aXe 3.0.1
Keywords: X-based editor
Organization: Texas A&M University, College Station
Date: Wed, 2 Sep 1992 19:09:47 GMT


  Well, I apologize. Apparently I am too paranoid for my own good.
Usually, when I obtain a package, I make it in a temp directory
and run it there (not as root) to make sur eit works before I install
it. I thought that the only thing I needed to take care of was to 
copy the Axe.ad to the /.../app-defaults directory and I would be
able to run it. I asked a lot of questions when it did not work
for me. Apparently, there are others like me, so ... All I had
to do was to make install after the make and the program ran fine.
It depended not only on the Axe.ad file, but also on all of the .help 
files that are included with the package. So, if you were having
the same trouble I did with aXe segmentation faults upon invocation, 
this may be the answer.

  Thanks to everyone that took the time to respond both in this
group and via e-mail.

  Humbly,

  James

--
------------------------------------------------------------------------------
James Hardin           |  Department of Statistics  |  College Station, Texas
jhardin@stat.tamu.edu  |  Texas A&M University      |  USA              77843
Bell: (409) 845-9447   |  FAX: (409) 845-3144       |  Campus mail stop: 3143
Newsgroups: comp.unix.aix
From: rice@rab.enet.dec.com ()
Subject: finding function address in dynamically loaded object
Reply-To: rice@rab.enet.dec.com ()
Organization: Digital Equipment Corporation
Date: Tue, 1 Sep 1992 19:24:54 GMT


The load routine returns a function pointer to the routine specified by
ld -e function.  There must be a way of getting the address of other functions
in the loaded object!?!.  Every other OS I've used with run time dynamic
libraries provides a find symbol routine.

There was an example posted here a while back using nlist.  That only works
if you know what the function symbol is for the "ld -e function" specified
was, not my case.

I've been looking at the loadquery( L_GETINFO,...) call.  I was hoping to make
use of the ld_info structure information, except that, I haven't been able
to figure it out.  First off I expected "ldinfo_next" to be zero as it said
in <sys/ldr.h> but it doesn't seem to be (is buffer and array of ld_info's?).
From there I tried looking down "ldinfo_textorg" at the xcoff struct but
really got lost there.  Any guiding light out there?

Thanks,
-Tim