tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: DP_MGR <jdbrown () wavenet ! com>
To: tru64-unix-managers
Subject: SUMMARY(Scripts for a DEC ALpha running UNIX 4.0B)
Date: Tue, 21 Oct 1997 12:54:31 +0000	[thread overview]
Message-ID: <96078618110568.tru64-unix-managers.marc@archive.invalid> (raw)

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@ornl.gov'
Cc:	'jdbrown@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@wavenet.com

             reply	other threads:[~1997-10-21 12:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-21 12:54 DP_MGR [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-10-21 13:04 SUMMARY(Scripts for a DEC ALpha running UNIX 4.0B) DP_MGR
1997-10-21 13:07 DP_MGR
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox