Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!mordor!lll-tis!ptsfa!hoptoad!academ!killer!jfh From: jfh@killer.UUCP (John Haugh) Newsgroups: comp.unix.questions Subject: Re: Max # of processes. Message-ID: <1070@killer.UUCP> Date: Tue, 30-Jun-87 13:02:16 EDT Article-I.D.: killer.1070 Posted: Tue Jun 30 13:02:16 1987 Date-Received: Sat, 4-Jul-87 13:32:04 EDT References: <845@zyx.UUCP> Organization: The Unix(tm) Connection, Dallas, Texas Lines: 14 Summary: Use crash(1M) or 'grep NPROC /usr/src/uts/*/cf/conf.c' The crash program has an option for looking at the struct var in the kernel that gives most of the size stuff. The structure is defined in /usr/include/sys/var.h. The name of the variable in /unix that contains the dude is _v (or whatever your compiler does to a thing declared struct var v;) If you want to know the maximum number of processes per user, that would be MAXUPC rather than NPROC. I suggest you print out the include file if you don't have crash and then use adb or sdb on /dev/kmem and look at the structure that way. Should take less time than writing a program. - John.