Re: determining who has locks on tables
Posted in 2000
Topics: Server Administration
<snip> > Here's a script I found and modified from the Informix users group: </snip> Hi Gary, the script has a problem with calls to system functions, in particular, the external listusers is not supplied. Where can I get it from? brett -- ----------------------------------------------------------------- Brett's 10th law of UNIX administration... rm is forever ----------------------------------------------------------------- Brett Geer - UNIX Admin/Analyst/Programmer - Intratex Holdings. Tel. +27 31 717 4000 Direct. +27 31 717 4146 Fax. +27 31 717 4001 ----------------------------------------------------------------- The little voices are talking to me again, telling me to reach for a keyboard and type rm -rf /* last week they had me rm -rf `echo $MANPATH | sed 's/:/ /g'` now I fear I have no answers -----------------------------------------------------------------
On Wed, 13 Dec 2000 08:09:35 +0200, Brett Geer <brett@brabys.co.za> wrote: > ><snip> > >> Here's a script I found and modified from the Informix users group: > ></snip> > >Hi Gary, the script has a problem with calls to system functions, >in particular, the external listusers is not supplied. Where >can I get it from? > >brett Hi Brett Yeah, I wondered where that command was also when I downloaded the script. I never was able to find a Unix that had that command, so I wrote a one liner to make the script happy. who -x|awk '{printf "%-11s%-5s%-10s\\n",$1,substr($2,4,8),$6}' Gary Quiring