SUMMARY(Scripts for a DEC ALpha running UNIX 4.0B)

From: DP_MGR <jdbrown_at_wavenet.com>
Date: Tue, 21 Oct 1997 06:07:18 -0700

Thanks to :
Hugh Pritchard
Gene C Van Nostern
Pirie Hart
Paul Kitwin
Eric Z. Ayers
Jeffrey G. Micono
Susan Rodriguez
Kurt Carlson
Richard L. Eisenman
All others if I lost your email. Thanks
-----Original Message-----
From: John D. Brown
Sent: Wednesday, October 08, 1997 12:30 PM
To: 'alpha-osf-managers_at_ornl.gov'
Cc: 'jdbrown_at_wavenet.com'
Subject: Scripts for a DEC ALpha running UNIX 4.0B

It would be great help to someone who is justing starting out to get
a couple of your favorite scripts for managing thing on a DEC Alpha
box running DUX 4.0G.

Specifically I need a script that would create an empty file that has
a name in the followinf format:

vdump.mmddyy.log.

I've tried using touch > date +%m%d%y and vaious other scenarios
without luck.
The consensus answer : touch vdump.`date +%m%d%y`.log

Another script I need would log users of my boxes. Currently, I:

ps -ef | grep tty for users and kill -9 their PID.

Gene:
kill -9 `ps -ef | grep {whatever you're grep'ing for]| awk '{print $2}'`
ps -ef | grep {whatever you're grep'ing for]| awk '{print $2}' | xargs kill -9

Jeff: Yikes! That's drastic, kill -TERM then kill -9, & getsid to find top level.

Hugh: killall - # send SIGTERM (15) to everybody, then SIGKILL (9)

I tried above, but it killed more than the users.

Lastly, if anyone has a method for sending spool files from the DEC
box to an HP3000 and printed I could also use it.

I should clarify. The HP3000 is running MPE/ix and has control of the printers. The ones I'm having a problem with do not use JetDirect cards. They are connected serially using rs232. Any suggestions are welcomed.


It just goes to show you that I don't know my "`" from a "'" in the ground.

Thank again jdbrown_at_wavenet.com
Received on Tue Oct 21 1997 - 15:58:26 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT