06-17-2008
output console problem
kill -s KILL 0
-----------------------
-----------------------
i have used this command in a script...it is showing "killed" in output console.
i don't want that.plz help what to do.i have tried --kill -s KILL 0 >/dev/null
it is still showing "killed" in the output console...what to do?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
could someone please tell me how to stop error messages being displayed to the console port.
Currently, error messages are streaming to the console and I ant do anything.
many thanks..... (2 Replies)
Discussion started by: boristhespider
2 Replies
2. Programming
I am writing a program that uses system() to pass commands to the command interpreter. Is there a way to read the output that the commands produce? (1 Reply)
Discussion started by: Blaster999
1 Replies
3. UNIX for Dummies Questions & Answers
I am running Shorewall firewall config program to utilize iptables on a Debian 3.3.5 system. This system is setup for a getway/router. I am getting a message:
Shorewall:bogons:Drop:IN=eth0 OUT= MAC+ mac address of eth0 SRC:someinternetIP DST=MYIPADD LEN=61 TOS+0x00 PREC=0x00 TTL=114 ID=6673... (3 Replies)
Discussion started by: pflink
3 Replies
4. UNIX for Advanced & Expert Users
I want to change the appearance of a message I got in UNIX console.
Eg: In console: "no server running"
I need it as "****no server running*****".
Thanks in advance. (3 Replies)
Discussion started by: thomaa80
3 Replies
5. UNIX for Dummies Questions & Answers
Hi folks,
Please advise which command/command line shall I run;
1) to display the command and its output on console
2) simultaneous to save the command and its output on a file
I tried tee command as follows;
$ ps aux | grep mysql | tee /path/to/output.txt
It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies
6. Solaris
Hey everyone
I have a sparc enterprise T2000 I'm trying to install solaris 10 on. The only way I can connect to it is the SER MGT console, but I'm not getting anything to display (in Hyper terminal, or PUTTY) when I boot it. Upon googleing, all I get back is "No output may have been generated.... (4 Replies)
Discussion started by: goodvikings
4 Replies
7. Shell Programming and Scripting
Hellos!
I want to have a unix script that will run grep on the console output. Here is what my script does:
1. Telnet into a remote server (I have done this part successfully)
2. On successful login, the remote server displays outputs information on the console. I need to run grep on that... (6 Replies)
Discussion started by: puneet1984
6 Replies
8. Shell Programming and Scripting
Hi All,
I have written one script in which am writting the result to the log file.
I want to display the results on the console also
if ;
then
echo "$result doesnot match with the host file">>InputHostsFileErrors.txt
else
echo "$result input matches with the host... (7 Replies)
Discussion started by: sharsour
7 Replies
9. Shell Programming and Scripting
I have a menu based script where user will select different action via displayed menu.
I want to log all the action or say whatever displayed on screen to a log file and want to achieve with in the same script.
i tried named pipe as below..
logfile=mylogfile
mkfifo ${logfile}.pipe... (3 Replies)
Discussion started by: vidyadhar85
3 Replies
10. UNIX for Dummies Questions & Answers
Friends,
Below is the script which writes output to LOGFILE, however I want the entire log written to LOGFILE and also console.
Please suggest me the changes I need to do here.
#!/bin/ksh
x=${0##*/}
LOGFILE="x.log"
echo "CAUTION : Files once deleted cannot be restored"
printf 'Would... (8 Replies)
Discussion started by: fop4658
8 Replies
LEARN ABOUT REDHAT
pvm_kill
KILL(3PVM) PVM Version 3.4 KILL(3PVM)
NAME
pvm_kill - Terminates a specified PVM process.
SYNOPSIS
C int info = pvm_kill( int tid )
Fortran call pvmfkill( tid, info )
PARAMETERS
tid Integer task identifier of the PVM process to be killed (not yourself).
info Integer status code returned by the routine. Values less than zero indicate an error.
DESCRIPTION
The routine pvm_kill sends a terminate (SIGTERM) signal to the PVM process identified by tid. In the case of multiprocessors the terminate
signal is replaced with a host dependent method for killing a process. If pvm_kill is successful, info will be 0. If some error occurs
then info will be < 0.
pvm_kill is not designed to kill the calling process. To kill yourself in C call pvm_exit() followed by exit(). To kill yourself in For-
tran call pvmfexit followed by stop.
EXAMPLES
C:
info = pvm_kill( tid );
Fortran:
CALL PVMFKILL( TID, INFO )
ERRORS
These error conditions can be returned by pvm_kill
PvmBadParam
giving an invalid tid value.
PvmSysErr
pvmd not responding.
SEE ALSO
pvm_exit(3PVM), pvm_halt(3PVM)
30 August, 1993 KILL(3PVM)