Is it possible to sent a ^C interrupt via the command line? For example if I want to tail a log for 10 minutes at a time, kill the tail and then start it again is there a way to go about that? I would imagine there would be some way to do it by finding and killing the PID, but I'm curious if there's another way.
All I want is to be able to do a one liner like:
Code:
while true;do tail -f n2bb.log|grep 0x12|nl;sleep 600;<whatever kills the tail>;done
I want to know the interrupt passed to a process through 'ulimit'
I am running a process which gets killed when the 'ulimit -t' reaches.
But after killing the process I want to start another process which would
send a message or do some clean up or anything at all.
To do the same I am... (5 Replies)
This is on our Ultra 5/10 Sparc with Solaris 9.
I need to store the following (stty) keys in the .profile and /etc/profile files as
shown here.
erase "Back Space Key"
Interrupt "Ctrl + C"
I need the exact syntax/procudure as I have to set these two keys whenever I login to the terminal... (1 Reply)
Hi there,
My first post here. Currently, i have been experiencing this error quite frequently on a ultra5 com. Things i have done is changing a new hdd and mem modules but i still encounter this error. Some messages from the var/adm
WARNING: uncorrectable error from pci0 (upa mid 0) during... (0 Replies)
hello all
since a process running in kernel mode cannnot be preempted by any other process what would be the status of Timer interrupt that occurs when the time quantum of a process is elapsed?
thanks (2 Replies)
Can anybody help me out in sending parameters from sql*plus script to unix shell script without using flat files..
Initially in a shell script i will call sql*plus and after getting some value from some tables, i want that variable value in unix shell script. How can i do this?
Please tell me... (2 Replies)
Hi,
i have an rhel box with around 20 %soft every 2 seconds. The box is idle.
How do i start hunting down what's causing this? i believe /proc/interrupts is hardware related, procinfo is basically the same. where else can i look?
thanks,
Marc (5 Replies)
I receive the following warning messages on a very new machine which has FreeBSD 8.1 x64 installed on it:
Interrupt storm detected on "irq 20" throttling interrupt source
It is unclear what this means and what its origins are (motherboard? CPU? RAM?).
I can start the desktop and the message is... (4 Replies)
Hi Friends
any know how became a friend in this Android Programming Language (0 Replies)
Discussion started by: ljarun
0 Replies
LEARN ABOUT DEBIAN
bus_config_intr
BUS_CONFIG_INTR(9) BSD Kernel Developer's Manual BUS_CONFIG_INTR(9)NAME
BUS_CONFIG_INTR -- configure interrupt polarity and trigger mode
SYNOPSIS
#include <sys/param.h>
#include <sys/bus.h>
int
BUS_CONFIG_INTR(device_t dev, int irq, enum intr_trigger trig, enum intr_polarity pol);
DESCRIPTION
The BUS_CONFIG_INTR() method allows bus or device drivers to provide interrupt polarity and trigger mode to parent busses. This typically
bubbles all the way up to the root bus (e.g. nexus) where the necessary actions are taken to actually program the hardware. Since the
BUS_CONFIG_INTR() method takes an interrupt number, it is assumed but not necessarily required that it is called prior to BUS_SETUP_INTR(9).
The trig argument can be one of:
INTR_TRIGGER_CONFORM The interrupt trigger mode is standard for the bus to which the device is attached.
INTR_TRIGGER_EDGE The interrupt is edge triggered. This means that the interrupt is raised by the rising edge of the signal on the
interrupt line. The signal typically reverts to the original state so as to cause a spike.
INTR_TRIGGER_LEVEL The interrupt is level triggered. This means that the interrupt is raised when the signal on the interrupt line tran-
sitions and remains unchanged after that until the interrupt has been serviced, after which the signal transitions
back.
The pol argument can be any one of:
INTR_POLARITY_CONFORM The interrupt polarity is standard for the bus to which the device is attached.
INTR_POLARITY_HIGH The interrupt is activated by a high voltage on the interrupt line.
INTR_POLARITY_LOW The interrupt is activated by a low voltage on the interrupt line.
RETURN VALUES
Zero is returned on success, otherwise an appropriate error is returned.
SEE ALSO BUS_SETUP_INTR(9), BUS_TEARDOWN_INTR(9), device(9), driver(9)HISTORY
The BUS_CONFIG_INTR() method first appeared in FreeBSD 5.2.
AUTHORS
This manual page was written by Marcel Moolenaar <marcel@xcllnt.net>.
BSD January 6, 2005 BSD