Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!wuarchive!zaphod.mps.ohio-state.edu!rpi!bu.edu!purdue!haven!adm!news From: RAY%TEMPLEVM@pucc.princeton.edu ( Ray Lauff) Newsgroups: comp.unix.questions Subject: Show who is accessing a disk drive in real time Message-ID: <25128@adm.brl.mil> Date: 28 Nov 90 14:12:22 GMT Sender: news@adm.brl.mil Lines: 10 I would like to be able to see who is accessing a device (read: a disk) on my sun systems. What I would like is a to write a little C hack to just display on a screen or to a file the date, time, and user name of the person using the device. My question is--this being my first attempt at "system" programming on the sun, where should I start? Is there a manual which tells me where to look in memory (i have root priv) to see who is accessing it? Thanks for any help.