HDTenEightyP/NetNews huggingface dataset:
From: dgogates@fberry ()
Subject: Re: /usr performance for 220's
Date: Thu, 24 Dec 1992 13:39:11 GMT
Organization: IBM, Austin

In article <1h9jkmINNia7@unidui.uni-duisburg.de> michael@hal6000.thp.Uni-Duisburg.DE (Michael Staats) writes:
>davis@chem.canterbury.ac.nz (John Davis) writes:
>
>>I've found that the default size transmit and receive queues pretty
>>much throttles NFS performance (like 50K/s max read rate). Upping them
>>to their max (default is 30 for both, max is 150 ) helps a lot - doing
>>that we got more like 500K/s max read speed, but write speed is still
>>a very low 150K/s. What's odd is that this _wasn't_ happening
>>under 3.1.6, we had the default size queues and we were getting
>>MUCH higher throughput ( 800K/s on read, 600K/s on writes).
>
>Sounds very good. But how do I set the queue size?
>Options rsize and wsize to mount?
>
>Thanks for your help,
>Michael
>--

The queue size refered to here is the transmit queue size for the
ethernet device.  Using SMIT  select devices/communication devices/ent0/
change.  You will see that the queue sizes for receive and xmit are
both 30.  Changes to xmit to 45.  TCP and NFS must be down, otherwise
you cannot change parms for the device.  Omce again though , you must
get PTF U410209, otherwise you will still have performance problems.
-- 
Dale Gogates                 | ..taliesin!gowright!dgogates           
Views expressed are MINE     | ..dogface!hitex!gowright!dgogates       
                             | @ibmpa.awdpa.ibm.com:dgogates%byu.austin.ibm.com
Newsgroups: comp.unix.aix
From: rudy@chukran.austin.ibm.com ()
Subject: Re: process numbers
Date: Tue, 22 Dec 1992 23:55:38 GMT
Reply-To: chukran@austin.vnet.ibm.com(Rudy Chukran)
Organization: IBM Advanced Workstation Division

In article <BzMqs8.1Krz@austin.ibm.com>, curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806) writes:
|> My understanding is that it was done for security reasons.  Any casual
|> user can figure out if system activity is high by forking a process and
|> looking at the current pid of that process, even if they don't have
|> permissions to execute 'ps.'
|> 
|> On some super secret military machine this would allow Joe-user to
|> figure out when all the missiles were being launched, (since that
|> no doubt requires forking lots of processes.)
Have a look at /usr/include/sys/proc.h and PROCMASK.  The pid has the
proc table index in it to accomplish direct lookup rather than
a linear search to match a pid. The generation count is to fake a
longer cycle time before a duplicate PID turns up.

Now that the Russians are no longer bad guys, I feel it proper to
let this secret out. If you hear about any missles getting shot
down, please dont tell'em who told you.  :-)

And PLEASE dont tell 'em about the fork rate in sar :-)
-- 
*********************************************************************
Rudy Chukran                |       EMAIL:            
IBM AIX Technical Consulting| RSCS: CHUKRAN at AUSTIN 
11400 Burnet Rd.            | AWDnet:rudy@chukran.austin.ibm.com    
Internal ZIP 2830           | internet: chukran@austin.vnet.ibm.com
Austin, Texas 78758         |
*********************************************************************
From: kraemerf@franvm3.VNET.IBM.COM (Frank Kraemer)
Date: Tue, 22 Dec 92 13:47:56 CET
Newsgroups: comp.unix.aix
Subject: Re. Medical imageing software for AIX
Reply-To: kraemerf@franvm3.VNET.IBM.COM
Organization: IBM Germany, BO-89 ACIS South
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: Usenet 3.0

.

Fred Houlihan wites:

>Is anyone aware of any AIX software available in the area of 3D medical
>imaging for the RS/6000, either commercial or public domain?

Yes,
IBM and the Medical Department of the University of Mainz have a joined
study with very impressive results in this area. Please contact
Mr. Jendrysiak (01149-6131-17.2433) he is the project leader and a very
nice person too.

frank ;-)

P.S. Try E-mail root@risc.imsd.uni-mainz.de, but I'm not shure if it's
     the right one.








.----------------------------------------------------------------------.
| E-Mail: FRANVM3(KRAEMERF)                 - IBM VNET  "Yes, I'm one  |
| ======  IBMMAIL(DEIBM27S)                 - IBM-Mail   of those      |
|         DE.IBMX400.IBMMAIL.KRAEMER.KRAEME - X.400      stupid IBM    |
|         kraemerf@franvm3.vnet.ibm.com     - Internet   field SE's."  |
| Voice : +49-(0)611/776-364                                           |
| Mail  : Abraham-Lincoln Street 26, 6200 Wiesbaden, Germany           |
'----------------------------------------------------------------------'
Newsgroups: comp.unix.aix
From: r-beer@onu.edu (Robert Beer)
Subject: Re: Looking for a rarp daemon for a rs/6000
Date: Tue, 22 Dec 1992 22:00:28 GMT
Distribution: na
Organization: Ohio Northern University
Followup-To: comp.unix.aix

In article <1992Dec19.211122.21644@samba.oit.unc.edu>,
Steve.Bauer@launchpad.unc.edu (Steve Bauer) wrote:
> 
> Steve Bauer
> sbauer@silver.sdsmt.edu

Steve, RARP is built into the RS/6000.  The trick is to create a file with
the entries marked as perm:

        ether hostname1 x:x:x:x:x:x perm
        ether hostname2 x:x:x:x:x:x perm

Note, depending on the number of PTFs installed this may or may not work
well for you.  If the number of perm entries is small you should not have a
problem.  There is a PMR, 9x236, against this problem (71 MB of patches).

---
Bob Beer, Ohio Northern Univ., Academic Computer Services, Ada, OH  45810
r-beer@onu.edu
Newsgroups: comp.unix.aix
From: kg@myan.uc.edu (Ramaswamy Krishnan)
Subject:  Missing lvm lock in device config database - how to fix?
Originator: rkrishna@quest.ece.uc.edu
Reply-To: kg@myan.uc.edu (Ramaswamy Krishnan)
Organization: University of Cincinnati
Date: Wed, 23 Dec 1992 09:17:11 GMT

Using AIX 3.2.3,  "lslv rootvg"  command gives follwoing error.

   0516-310 lslv: Unable to find attribute lock in the Device
            Configuration Database. Execute varyoffvg followed by varyonvg
            with -m1 option to attempt to correct the LV database.

This happened after I had to delete and recreate the /home filesystem.

a) Is my LV database really corrupt?  If so, how can I correct it?
   How risky is it to use the system without immediately correcting it?

b) How can I varyoff rootvg ?  Do I use the mksysb tape / bosboot disk ?

Thanks for any help and best wishes for X'mas and New Year !

--
|/ /~_    Ramaswamy G. Krishnan   | (513) 556-0234 | ML 16, Univ. of Cincinnati
|\ \_|  kg@myan.uc.edu (Internet) |  fax :  x-3288 | Cincinnati, OH 45221-0016
From: schneck@Physik.TU-Muenchen.DE (Bernhard Schneck)
Newsgroups: comp.unix.aix
Subject: bidirectional modem usage under AIX 3.2?
Date: 21 Dec 92 14:35:44 GMT
Organization: Leibniz-Rechenzentrum, Muenchen (Germany)

Is it possible under AIX to use a modem for dial-out *and* dial-in? (Not
at the same time of course, but without messing around with config files
and/or SMIT every time)
I'm looking for something like the /dev/ttyxx and /dev/cuaxx thingies
under SunOS and others ... (ttyxx blocks on open() when no carrier is
present, cuaxx allows open()s without DCD.  If an open() of either one
succeeds, the other device can't be open()ed until the first one is
close()d.  So you can have getty waiting for dial-ins on ttyxx and uucp
dialing out on cuaxx while the line is not in use)

I've looked at the FAQ, but didn't find anything.  Also INFO seraches didn't
help.

\Bernhard.
--
Bernhard Schneck              | Email: Bernhard.Schneck@Physik.TU-Muenchen.DE
GeNUA Gesellschaft fuer Netz- | TU Muenchen Physik |
und UNIX-Administration mbH   | 8046 Garching      |        Auslaender bleiben,
8000 Muenchen 83, Germany     | Germany            |          Nazis vertreiben!
From: russotto@vnet.ibm.com (Matthew T. Russotto)
Date: Tue, 29 Dec 92 09:03:46 EST
Newsgroups: comp.unix.aix
Subject: Re: problem load()-ing shared object
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.1
            <C0084n.y2@unixhub.SLAC.Stanford.EDU>

In <C0084n.y2@unixhub.SLAC.Stanford.EDU> J. Scott Berg writes:
>Anyhow, I'm sure this isn't making much sense to you, because it
>certainly doesn't make any sense to me.  Enclosed is my current
>version of your test code which basically has more diagnostics and
>gets past the load part.
>
>Good luck!  If you figure out how to do this, I'd love to know.  God
>bless
>
>                       -Scott Berg
>
>When executed, my foo2 outputs:
>
>Err: 0
>10000000 5761 20041800 104
>foo2
>d07ea000 1749 20047400 24
>bar2.so
>Test: hello, world
>
>20041810
>Got here!
>68656c6c           <---- Wouldn't have printed this without the loadbind()
>Segmentation fault

Your problem has nothing to do with load/loadbind, which you are using
properly.  Instead, there's an obscure type incompatibility.
(excuse my EBCDIC in the following, you'll have to guess at the square
brackets)

>char global_string[] = "hello, world\n";  /* here's the global */
in foo2.c defines foo2 as a pointer constant pointing to "hello, world\n"

>extern char *global_string;
in bar2.c refers to a pointer VARIABLE.  They aren't the same!
Note that 0x68656c6c = 'hell' (the first 4 characters of "hello, world\n"
,not the machine cursing at you...).  Change that to
extern char *global_string^:;
(that's an open and close square bracket after global_string, followed
by a semicolon), and things work fine.
Newsgroups: comp.unix.aix
From: ahmedk@sys.toronto.edu (Khalid Ahmed)
Subject: How to change euid of a process?
Organization: CSRI, University of Toronto
Date: 28 Dec 92 19:46:41 GMT

Newsgroups: comp.unix.aix
Distribution: comp
Subject: How to change euid of process?

Hi,

I'm trying to figure out how setuid/seteuid/setreuid functions work.
I have a program which is started by root and needs to change
its effective user id without altering its real user id. On
other systems I can issue seteuid. This doesn't seem
to work on AIX. I get the impression from the man pages
that a program can only its effective uid to its real or saved
uids. But I can't see how a programs euid can ever be different
from its ruid. Anyway, I am a bit confused about this.
Could someone please clarify? Email replies welcome.


Khalid Ahmed
University of Toronto
ahmedk@sys.toronto.edu


Newsgroups: comp.unix.aix
From: marc@watson.ibm.com (Marc Auslander)
Subject: Re: problem load()-ing shared object
Date: Wed, 23 Dec 1992 20:53:23 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center, Hawthorne, New York
Followup-To: comp.unix.aix

You can't easily is the simple answer.

There are two choice.  You can build an exports list that asserts that
the symbols from the main program come from it, by putting the main
programs path name in the front of the list.  You use this to build
the shared library, then the shared library to build the main.  But
now the library works with only one program.

Alternately, you can build an exports list that asserts that the main
programs symbols will be resolved at run time.  You do this by
starting the exports list with:

#!

Then, you use the exports list to build the shared library.  But now,
your main program must issue the loadbind command using the main
program as the exporter and the library as the importer to get the
symbols bound.

The documentation contains details on both of these approaches.

In article <609@bertha.HyperDesk.com> adennie@ibm3.hyperdesk.com (Andy Dennie) writes:

>I've been playing around with shared objects on AIX 3.2, and although I
>can successfully load and execute a simple function in a shared object,
>I'm stumped on the following problem: how do you load a shared object
>that contains references to globals defined in the program doing the
>loading?  Below is a simple test case that illustrates the problem.

>Any help would be greatly appreciated!

>foo2.c contains:
>----------------------------------------------------------------------
>#include <errno.h>
>#include <stdio.h>
>#include <sys/ldr.h>

>char global_string[] = "hello, world\n";  /* here's the global */

>main() {
>    int (*pfunc)() = load("bar.so", 0, (char*)NULL);

>    if (pfunc == 0) {
>        printf("load failed, errno=%d\n", errno);
>    }
>}
>----------------------------------------------------------------------


>bar2.c contains:
>----------------------------------------------------------------------
>extern char *global_string;

>void bar () {
>    printf("%s", global_string);
>}
>----------------------------------------------------------------------

>bar2.exp contains:
>------------------
>bar
>------------------

>bar2.imp contains:
>------------------
>global_string
>------------------

>% make foo2 bar2.so
>        xlc -o foo2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE foo2.c
>        xlc -o bar2.so -bM:SRE -bE:bar2.exp -bI:bar2.imp -e _nostart bar2.c
>% foo2
>load failed, errno=8


>BTW, $LIBPATH contains the current directory, where bar2.so resides.  I
>think I'm probably doing something wrong with bar2.imp.  I've tried
>adding

>#!/pathname/of/foo

>to the beginning of it, but that didn't help.  I also tried creating a
>foo2.exp file and linking foo2 with the -bE:foo2.exp switch (same
>results).  Any ideas? 
--


Marc Auslander       (IBM)<marc@marc.watson.ibm.com>      914 784-6699
                     (Internet)<marc@watson.ibm.com>
Newsgroups: comp.unix.aix
From: meyer@geomatic.no (Harald Martens Meyer)
Subject: RS6000 graphic card, where to buy??
Organization: Geomatic a.s, Norway.
Date: Tue, 22 Dec 1992 11:09:52 GMT

Where, and to what prices can I get a new graphic card to our 
IBM RS6000/320??

Currently we have a 'High Performance 3D Color' card. This is not
adequate for our use. Our application runs better with some kind of
2D-card.

(If anyone from Scandinavia reads this, please respond....)

I'm not reading this group often, so please send me mail!!!

  2
HM
--
Harald Martens Meyer    | Geomatic a.s       |      #_O_#      Powder
Email:meyer@geomatic.no | PO.Box 165 Skoyen  |    (/ _|_ \)     Snow
Tel: +47 2 50 43 30     | N-0212 OSLO 2      |     \/   \/       Is
Tfx: +47 2 50 05 55     | NORWAY             |      \   /  Simply the Best!
From: jum@veeble.han.sub.org (Jens-Uwe Mager)
Subject: unloading a kernel extension
Newsgroups: comp.unix.aix
Date: Tue, 29 Dec 92 17:53:11 GMT
Organization: veeble Hannover, W-Germany

I am having problems unloading my kernel extension. After unloading through
loadext(x, FALSE, FALSE) the load count displayed by crash indeed goes down
to zero, but the use count stays at 1. A new mkdev loads a fresh copy and
all goes well, but crash reveals that I have two copies in memory now. Does
anybody know how to find out what is referencing my driver (I am not loading
anything that needs my exports). The crash le command displays  a few fields
that sound promising, but I have not found a structure description in
include/sys and the crash entry in info is not that informing.

-- 
Jens-Uwe Mager
HELIOS Software GmbH, Lavesstr. 80, 3000 Hannover 1, Germany
Email: jum@helios.de	||	heliosd!jum
Tel.:  +49-511-3681093, FAX:   +49-511-3681095
From: perlman@SMTC.engr.scarolina.edu
Subject: Wallpaper, more
Reply-To: perlman@smtc00.engr.scarolina.edu
Organization: NIST Southeast Manufacturing Technology Center
Date: Mon, 28 Dec 92 20:58:50 GMT

Thanks for the prompt responses, but let me clarify
my first question, then ask more:
Using Deskscan on the PC, I can write any of several
picture formats, such as Windows BMP, tif, and others.
Which DOS format will translate (and how) into an AIX
picture file format?  Can I transfer it to the RS6000
with dosread -a?

Among the suggestions for displaying were xsetroot, xv,
xview and xloadimage.  I think xsetroot is really the one 
I want, but when I used it to try to display an image
created in MS -Windows BMP it told me *bad bitmap file
format*.  

I could not find xv, xview or xloadimage on my system;
are these standard aix items that somehow did not get
installed or is this 3rd party stuff?  I have the
aix installation tape and would be happy to search it 
if someone can tell this novice how to do so.

Thanks in advance ... Rich.
Newsgroups: comp.unix.aix
From: mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF])
Subject: Re: xterm and utmp
Organization: Math Faculty Computing Facility, University of Waterloo, Canada
Date: Mon, 21 Dec 1992 15:35:41 GMT

mdm@apple.com writes:
>In the man page for aixterm, it states that I can avoid having an
>entry placed in /etc/utmp if I specify the flag -ut.  I WANT an entry
>(so that I can see how many times I'm logged in with 'who'), so I
>DON'T specify -ut, but that doesn't work.  +ut doesn't work, either,
>and if I check the process list, it does confirm that I'm on multiple
>ptys.
>
>Any ideas out there?

Check that you don't have an X resource called "aixterm*utmpInhibit"
set to "true" or "on", or explicitly set it to "off".  When enabled,
that resource causes aixterm and xterm to skip adding an entry for
you in /etc/utmp.

Puzzling that "+ut" doesn't work.

-- Murray S. Kucherawy ----------------------------------------+--------------
Software Systems Co-op, Math Faculty Computing Facility [MFCF] | All spelling
University of Waterloo, Ontario, Canada                        | errors caused
E-mail: mskucherawy@{math,watdragon}.UWaterloo.ca              | by Pnews.
---------------------------------------------------------------+--------------
From: mbeckman@mbeckman.mbeckman.com (Mel Beckman)
Newsgroups: comp.unix.aix
Subject: How to setup Ethernet print server on Mac
Date: Sat, 26 Dec 92 10:16:36 PST
Organization: Beckman Software Engineering
Reply-To: mbeckman@mbeckman.com
X-Mailer: uAccess LITE - Macintosh Release: 1.5v5

Can anybody point me to the right place to find the steps for setting up
an ethernet print server so my RS/6000 220 can print to a Mac? The Mac is 
networked with the 220 via Ethernet thin, and I've got Telnet and FTP working. 
My understanding is that a simple TCP/IP program can run on the Mac to receive
spooled printouts from the 220 and print them on a local Mac printer. I
only need to print text for now (C program listings, so I'd like to get
bold and italic). I don't know where to get the Mac printer server program
(I'll happily buy a commercial product), and I don't know where to read
up on the AIX config steps to get everything connected. Thanks!

_____________________________________________________________________
| Mel beckman                  |    Internet: mbeckman@mbeckman.com |
| Beckman Software Engineering |  Compuserve: 75226,2257            |
| 1201 Nilgai Place            |       Voice: 805/647-1641          |
| Ventura, CA 93003            |         Fax: 805/647-3125          |
|______________________________|____________________________________|
 "Internet is big.  Really Big.  It gives the idea of
  infinity much better than infinity itself." 
   (with apologies to Douglas Adams)
From: mustard@odin.sdrc.com (sandy mustard)
Newsgroups: comp.unix.aix
Subject: Kanji Input Method not found after upgrade to AIX 3.2
Keywords: IM AIX 3.2 Kanji
Date: 30 Dec 92 22:47:00 GMT
Distribution: usa


We have an application running on AIX 3.1 that uses the 'direct access'
method of conversing with the Kanji Input Method available in the JLS
version of AIX 3.1.  It does this by #including Xm/IMM.h and by calling
XtCreateManagedWidget with xmInputMethodWidgetClass as the class parm.

I am unable to successfully compile this program after migrating to AIX
3.2 as the Xm/IMM.h include file is not found and thus the class is not
defined.

How does one access the input method 'directly' using AIX 3.2?  Our code
is similar to that shown in immtest.c in Appendix A of SC23-2209 AIX User
Interface Programming Concepts.

Sandy Mustard
SDRC
513-576-2580
mustard@sdrc.com
From: rstevens@noao.edu (W. Richard Stevens)
Newsgroups: comp.unix.aix
Subject: AIX network programming questions
Keywords: nonblocking, TLI
Date: 29 Dec 92 17:46:05 GMT
Organization: National Optical Astronomy Observatories, Tucson, AZ, USA

I've been given a guest account on an AIX 3.2.2 system to get some
simple networking programs ported from another Unix host, and have a few
questions.  Unfortunately I don't have a full set of manuals, and it
doesn't appear that all the man pages are online either, so TFM isn't
of much use.

(1) What fcntl flag sets a socket nonblocking?  I've tried O_NDELAY
    and O_NONBLOCK, but a subsequent call to accept() with no pending
    connection requests still blocks.  Is something special needed
    under AIX?

(2) How do you access the TLI library?  If I don't include "-ltli"
    all the t_xxx functions come up undefined.  If I include this
    library, the programs links OK, but I get the following errors
    when I run the program.

	Could not load program ./tcpserv 
	Symbol putmsg in /usr/lib/libtli.a is undefined
	Symbol getmsg in /usr/lib/libtli.a is undefined
	Could not load library libtli.a[shr.o]
	Error was: Exec format error

    A related question is what are the transport provider names when
    using TLI?  I couldn't see /dev/tcp or /dev/udp in the filesystem.

Thanks,

	Rich Stevens  (rstevens@noao.edu)
From: Christophe.Wolfhugel@grasp.insa-lyon.fr (Christophe Wolfhugel)
Newsgroups: comp.unix.aix
Subject: Using ISO-8859-1 instead of CP-850
Date: 26 Dec 1992 10:16:17 +0100
Organization: INSA Informatique, Lyon, France
NNTP-Posting-Host: grasp1.univ-lyon1.fr

InfoExplorer databases indicate how to switch to ISO charset in the
X11 environment.   Can that also be done for text users (hft text
console, attached terminals, NVTs).  If yes, how ?

-- 
Christophe Wolfhugel    |    Email: Christophe.Wolfhugel@grasp.insa-lyon.fr
  "Pour le bien-etre de tous, il est interdit de pisser dans le metro."
Newsgroups: comp.unix.aix
From: perlman@SMTC.engr.scarolina.edu
Subject: Wallpaper
Reply-To: perlman@smtc00.engr.scarolina.edu
Organization: NIST Southeast Manufacturing Technology Center
Date: Mon, 28 Dec 92 13:07:30 GMT

MS Windows allows you to put a full screen bitmap image 
behind your windows.  They call this wallpaper.  I have
access to a PC connected scanner and I would like to 
create whatever the aixterm/motif equivalent is to this.
Any help?
Newsgroups: comp.unix.aix,bit.listserv.aix-l,bit.listserv.power-l
From: IMAGING.CLUB@OFFICE.WANG.COM ("Imaging Club")
Subject: Re: Connecting DOS box to RS6K (AIX)
Organization: Mail to News Gateway at Wang Labs
Date: Wed, 23 Dec 1992 16:00:28 GMT

Regarding the discussion that has been going on here about connecting
PCs to RS/6000s, this configuration is the standard client/server model
we at the new Wang Labs are now shipping to our customers.  The idea is
that there are millions of installed PCs on desktops and these users can
now be upgraded to having an RS/6000 POWER server, allowing them to
preserve and enhance their existing PC investments (and applications).
You can contact the Wang RS/6000 professionals in any of our offices
worldwide for further information, or to have them do the actual
installation.  The new Wang Labs is a RS/6000 global services provider,
offering complete RS/6000 life cycle services from needs analysis to
multi-vendor hardware and software service.  The Wang RS/6000-PC
professionals can perform the following RS/6000 implementation services:
pre-installation software planning, configure TTYs and printers in
SMIT, setup user profiles, establish security access, establish
logical volumes and file systems, setup CRON jobs for backups,
and perform full system BACKUPs and BOSboot diskettes, for example.
A typical Wang activity would be installing MS Windows on the PC
clients and customizing the menus, as another example.

Michael.Willett@OFFICE.Wang.com
Newsgroups: comp.unix.aix