Re: Unix help

guy albertelli (albertel@cis.ohio-state.edu)
Tue, 20 May 1997 02:04:36 -0400 (EDT)


> Anyway, is there a way I can make it run for a given
> amount of time and then exit?

The new front-end (whenever it comes out) will have something like that.

As it is here is a little shel script to do that,
(As always modify /usr/bin/csh to point to where csh really is)

--cut here--
#!/usr/bin/csh
./deschall-linux-P5 keymaster.verser.frii.com &
set pid=$!
sleep <num seconds to wait before killing>
kill $pid
--cut here--

> Also, I'm trying to figure out just what kind of sparc they have so
> I can get the best client. How can I tell?

uname -m

sun4c (old v7 sparc, either supersparc or sparc client)
sun4m (v8 sparc, use supersparc)
sun4u (Ultra sparc, use ultra sparc)

I don't know what the Hal machines return . .

"fpversion" can give you more data if it is installed.

HyperSparcs are just like v8 supersparcs (this info only appears in
fpversion as far as I know)

Enjoy

-- 
Guy Albertelli II   albertel@pilot.msu.edu | "And God rested, chuckling at
O- http://www.cis.ohio-state.edu/~albertel | His own little play on words"
------------------------------------------966-----------------------------
    To understand all is to fear all.