Re: script to check before 2nd process executes

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

 



On 22:31 11 Mar 2003, Jim Christiansen <christiansen_j@xxxxxxxxxxx> wrote:
| Several (probably many others too) on the K12OSN list (this is for Linux 
| Thin Servers/Clients in Education) have been having a problem with students 
| clicking away on icons impatiently and starting too many processes with the 
| result that things tend to become totally screwed up (sorry for the s word).

I use this script:

	http://www.cskk.ezoshosting.com/cs/scripts/lock

Blurb here:

	http://www.cskk.ezoshosting.com/cs/css/index.html#s-lock

Manual here:

	http://www.cskk.ezoshosting.com/cs/man/lock.1.html
Thus:

	lock -1 command that should run only once

It makes NFS-safe locks in the user's $HOME/.lock directory. Has a few
different invocation options.

I use it very heavily for any number of things.
It's amazing how useful a shell-level lock command is once you have it.

Cheers,
-- 
Cameron Simpson, DoD#743        cs@xxxxxxxxxx    http://www.zip.com.au/~cs/

Please remove ski mask and unload guns before entering.
	- A sign outside Don's Guns in Indianapolis.



-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux