lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV Lagging Processes


From: Roger Hill
Subject: Re: LYNX-DEV Lagging Processes
Date: Thu, 27 Mar 1997 06:13:12 +0400 (GMT-4)

On Thu, 27 Mar 1997, Nelson Henry Eric wrote:

> > > For some users (i haven't been able to yet find a pattern), whenever they
> > > quit lynx (and are afterwards logged off), it seems that their
> > > process/shell still sits there. Five or six of these, and my machine
> 
> My students do it all the time.  They push the power switch off on the
> PC (terminal) about 4 minutes before the class is over :-(.  One of the
> first commands I had to learn was `kill -9 PID'.  (Had to learn `ps -aux
>  | grep flunkystudent' first.)
> 
On Linux I use this small script, called 'zap'. Run it as root.
For other operating systems, e.g HP-UX, you will have to tweak the
offsets,
and the options to ps (e.g. ps -ef).
Hope this helps:
---------------------
#! /bin/sh
# kill processes using parameter
kill -9 `ps -ax|grep $1|cut -c1-5`
------------------------

So, 'zap fred' kills off all of fred's stuff.

Don't do a 'zap me' !! or it will log you off.
============================================================================
Roger Hill, P.O.Box 4T, Barbados, West Indies.
Tel:246-230-9596        Fax:246-433-8365         E-mail: address@hidden
============================================================================

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]