* SUMMARY(Scripts for a DEC ALpha running UNIX 4.0B)
@ 1997-10-21 12:54 DP_MGR
0 siblings, 0 replies; 3+ messages in thread
From: DP_MGR @ 1997-10-21 12:54 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* SUMMARY(Scripts for a DEC ALpha running UNIX 4.0B)
@ 1997-10-21 13:04 DP_MGR
0 siblings, 0 replies; 3+ messages in thread
From: DP_MGR @ 1997-10-21 13:04 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* SUMMARY(Scripts for a DEC ALpha running UNIX 4.0B)
@ 1997-10-21 13:07 DP_MGR
0 siblings, 0 replies; 3+ messages in thread
From: DP_MGR @ 1997-10-21 13:07 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-10-21 13:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-21 12:54 SUMMARY(Scripts for a DEC ALpha running UNIX 4.0B) DP_MGR
-- strict thread matches above, loose matches on Subject: below --
1997-10-21 13:04 DP_MGR
1997-10-21 13:07 DP_MGR
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox