Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!munnari.oz.au!uniwa!cc.curtin.edu.au!cutmcvax!flint From: flint@cutmcvax.cs.curtin.edu.au (Daniel Baldoni) Newsgroups: comp.unix.aix Subject: Kernel nlist entries Keywords: proc, nproc, kernel, nlist, symbols Message-ID: Date: 13 May 91 02:07:30 GMT Sender: news@cutmcvax.cs.curtin.edu.au (Usenet News System) Organization: Curtin University of Technology, Computing Science Lines: 29 Nntp-Posting-Host: cutmcvax.cs.curtin.edu.au I'm trying to develop a process killer that works similar to /etc/killall on the SGI machines. But, I'm having trouble trying to access some of the kernel symbols on our RS/6000. Basically, I'd like to know the name of the entity which specifies the number of processes which are currently running. Under BSD machines, it's typically called nproc. The closest I could find (just using an 'nm /unix') was max_proc but the value of this beast (after reading /dev/kmem) didn't seem quite right (about -4,500,000). If anybody out there has played on an RS/6000 at this level, please let me know. Oh, by the way, we're running AIX 3.1. -- Daniel Baldoni --------------------------------------------+---------------------------------- Phone: +61-9-351-7667 | School of Computing Science, InterNet: flint@cutmcvax.cs.curtin.edu.au | Curtin University of Technology, UUCP: I have absolutely NO idea! | GPO Box U1987, ARPA: flint%cutmcvax.cs.curtin.edu.au | Perth, ... @uunet.UU.NET | Western Australia, 6001 --------------------------------------------+---------------------------------- "Any time there's something so ridiculously dangerous that no rational human being would even consider trying it, they send for me" - Belgarion, "King of the Murgos" by David Eddings