Xref: utzoo comp.unix.sysv386:9080 comp.sys.att:12415 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!smsc.sony.com!tin From: tin@smsc.sony.com (Le Tin) Newsgroups: comp.unix.sysv386,comp.sys.att Subject: Re: System Profiler, where is it? Message-ID: <1991Jun18.205637.22965@smsc.sony.com> Date: 18 Jun 91 20:56:37 GMT References: <1991Jun18.163921.29837@bradley.bradley.edu> Organization: Sony Microsystems Corp, San Jose, CA Lines: 26 In article <1991Jun18.163921.29837@bradley.bradley.edu> guru@buhub.bradley.edu (Jerry Whelan) writes: > > I am attempting to enable kernel profiling on an AT&T 6386e/33 WGS-S >running SVR4 2.1. It isn't working. The Sys Admin's Guide refers to >/usr/sbin/prfld which exists on my system. However, when I run it, it >comes back with "error: cannout open /dev/prf" I don't have a /dev/prf. >I checked on a 486 machine here and it does have a /dev/prf but it exhibits >the same problem. Just to see if it could be done, I mknod'ed a /dev/prf >with the major and minor numebrs of the 486's /dev/prf. Still no go, I >get the same error message. > I don't see any mention of kernel profiling being a separate package >for SVR4. I have sar (& associates) running fine on the system. Has anyone >be able to turn get kernel profiling running on their machine? You need to add supports for the prf device to the kernel. Go to /etc/conf/sdevice.d and edit prf, change the 'N' to 'Y' and rebuild the kernel. -- Tin -- .---------------------------------------------------------------------- . Tin Le Work Internet: tin@smsc.Sony.COM . Sony Microsystems UUCP: {uunet,mips}!sonyusa!tin . Work: (408) 944-4157 Home Internet: tin@szebra.saigon.com