Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!shlump.nac.dec.com!michaud From: michaud@decvax.dec.com (Jeff Michaud) Newsgroups: comp.unix.ultrix Subject: Re: Size of the X server process growing uncontrollably! Message-ID: <8594@shlump.nac.dec.com> Date: 23 Feb 90 02:35:23 GMT References: <5409@buengc.BU.EDU> <5404@buengc.BU.EDU> <77334@tut.cis.ohio-state.edu> <8518@shlump.nac.dec.com> Sender: news@shlump.nac.dec.com Organization: DEC Lines: 26 > >> kill -KILL `ps -aux | grep Xq | grep -v grep | colrm 15 | colrm 1 9` > > > > If you're on a DECstation, you don't want to use Xq, but probably just > > X (Xmfb and Xcfb are the names of the servers for mono and color respectively > > on the DECstation). > > > > (I also prefer using awk '{print $1}' instead of the colrm's, but > > that's just me :-) > Ac-shully, you might want to use: awk '{print $2}'. Ac-shully I missed the "u" option you gave to ps. Why bother having ps waste time doing getpwuid's, just use "ps ax" :-))). /--------------------------------------------------------------\ |Jeff Michaud michaud@decwrl.dec.com michaud@decvax.dec.com| |DECnet-ULTRIX #include | \--------------------------------------------------------------/ 1