![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-20-2007 01:52 AM |
| "syntax error at line 21 :'done' unexpected." error message" | ibroxy | Shell Programming and Scripting | 3 | 08-08-2007 07:45 AM |
| SuSe Linux: graphics file "(hd0,8)/boot/message" missing | mahatma | SuSE | 3 | 10-19-2006 11:29 PM |
| How can I deny messaging which use "wall" to send message out? | wilsonchan1000 | UNIX for Dummies Questions & Answers | 7 | 07-17-2002 11:06 PM |
| Strange "Unable to load interpreter" message! | solvman | UNIX for Advanced & Expert Users | 6 | 05-15-2002 10:03 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to supress a "Killed" message when a process is terminated?
Does anyone know how I can supress the "Killed" message that's produced when I kill a process? I've got a script that performs a "tail -f" on a database error log and pipes the output into an awk script which looks for certain error messages and forwards any that qualify to my pager. The problem is, the error log gets renamed nightly, so I have to stop and restart my script, in order to pick up the new file. When I kill the "tail -f" process through a different script, a "Killed" message is generated and sent to the user under whom the "tail -f" cron was running. That "Killed" message is what I'm trying to supress. I've tried directing the STDERR to /dev/null, but don't seem to be having any luck. If it matters, this is a Bourne (/bin/sh) shell script.
TIA! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|