Hi all
I have a script that listens on a named pipe.
I'm trying to create some error reporting using a Trap to call a function on all errors:
Trap "_func" ERR
Is it possible to get what line the ERR signal was sent from?
TweetThe trap command allows you to trap a signal in the script. The format for the trap command is: trap ['commands'] [signal] The command allows you to specify the commands that the shell will...
I'm trying to understand whether the high trap count reported by top on Solaris 10
Kernel: 1659 ctxsw, 1069 trap, 4433 intr, 3837 syscall, 5 fork
Memory: 8192M phys mem, 299M free mem, 4103M total swap, 3236M free swap
is a problem or not.
Googling for kernel traps mainly returns large documents on kernel architecture; cliff notes would be much appreciated.
Thanks
PS. Never mind the swapping
I am having a agent that monitors windows event log and look for service up/down messages and send these messages as trap to zenoss. the agent is set to be run in windows scheduler. The agent is deployed in client device. how can i monitor the agent from zenoss and see whether trap is recived at zenoss at regular intervals. Any ideas??
my problem is about Ip Address which I am receiving on the windows system snmp-trap messages,is some thing like that UDP: [192.168.1.150]:1029->[0.0.0.0]:0
while same trap message on linux system has been displayed as
UDP: [192.168.1.150]:1030->[192.168.1.23]
Now,if you observed carefully these two ,its clearly shown that server ip is not coming in windows traps-Ip([0.0.0.0]:0).what woul
What does the Linux kernel error message "trap stack segment" mean? What might cause this behaviour, and how can I fix it? It appears in a piece of software that runs fine on 20 other machines here, but shows up on one. Kernel version is 3.1.0.
I know that you can use this to start a process in the background, without getting the notification when the process is put in the background and when it is done like so:
(command &) &> /dev/null
However this removes the option to trap when the process finishes (trap child_done CHLD).
How can I have both?
Today we're launching the first in a series of features on how to use common websites without using proprietary JavaScript. You may not be aware of the dangers of JavaScript -- a problem we've deemed The JavaScript Trap -- proprietary software running on your computer, inside your web browser. The focus of our first feature is Google's GMail service.