10-02-2007
The terminology changes between processors and operating systems, this is one interpretation:
1. an interrupt is a signal from a hardware device to a processor that some even has occured, this allows the processor to service the device, an example may be a serial port that generates an interrupt every time a character is received or it's transmit buffer is empty.
2. a trap is a mechanism to get from user space to system space, typically used in a protected operating system to transfer control from a user program to the kernel.
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I'm a freshman here and I have a simple question.
Does unix use interrupts which is like Dos? Are they the same?
Thx.:cool: (6 Replies)
Discussion started by: Frank_M
6 Replies
2. UNIX for Dummies Questions & Answers
hey i have been facing a problem,can you tell me if we can catch ctrl d in unix i have tried and sucessfully catched and disabled ctrl-c and ctrl -z but am not sure if we can do the same for CTRL-D, so got any clue mail on he forum or ...i mean c programming in Unix thats what i am working on (1 Reply)
Discussion started by: toughguy2handle
1 Replies
3. Solaris
Hello
I am trying to check that SNMP traps could be sent from one server to other .
I am running this command from receiving server to see it can receive it
/usr/sbin/snoop udp port 162
and on the sending end I am running this commad
cst051 UDP D=162 S=1480 LEN=120
but i am... (1 Reply)
Discussion started by: Ajwat
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
My machine is a Unixware 7.1.3 is a files server, and I had never problem with that machine, but since two days, the machine presents slows problems, i think that the problem is te device interrupts, I had checked all and I dont found it any problem.
Any idea?
Thanks, (sorry my... (2 Replies)
Discussion started by: By_Jam
2 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I am new here ,i want to know about interrupts in detail.What r
Interrupts .how they r handeled.
Thanx in adavnce. (1 Reply)
Discussion started by: vishwasrao
1 Replies
6. Infrastructure Monitoring
Hi all,
lately i managed to install SNMP agent on Solaris 9 & 10. The second objective is now to configure traps. However (since i'm totally new to the SUN world) i don't know a way of how to start. Can somebody help me with details? What is the first thing that you need to do to start trapping?... (3 Replies)
Discussion started by: Wizard_1979
3 Replies
7. Programming
Hi. I have a program whose job it is to manage 15 child processes. Sometimes these children die (sometimes deliberately other times with a SEGV). This causes a SIGCHLD to be sent to my program which uses waitpid() in the signal handler to gather information and, in most cases, restart the child.... (3 Replies)
Discussion started by: jrichemont
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
We are using Zyrion Traverse to monitor all the servers. I like to set the traps on all of the Linux servers to send the traps to that servers.
So for on the /etc/snmp/snmp.conf file, this is what I have...
### SNMP Traps ###
trap2sink x.x.x.x # Traverse server
My... (4 Replies)
Discussion started by: samnyc
4 Replies
9. Infrastructure Monitoring
Hi Gurus,
I have a situation runing my ETL tools on the below server. The throughput while processing data is coming very low. When i tried to analyse the CPU stats i got colleceted the mpstat.
Server Physical Host Name *********com
IP**.***.**
OS Type Linux
OS Classlinux red hat... (3 Replies)
Discussion started by: r_t_1601
3 Replies
LEARN ABOUT OSF1
processor_sets
processor_sets(4) Kernel Interfaces Manual processor_sets(4)
NAME
processor_sets - Collections of processors
DESCRIPTION
A processor set is a collection of processors. When a processor set is first created, it does not contain any processors. You can add
processors to a processor set, remove processors from a processor set, and also destroy the processor set. In addition, you can assign
specific processes to a processor set.
When the system is booted, all its processors are assigned to the default processor set. Each processor in a system can be a member of
only one processor set at one time.
In addition, when you create a process, it is assigned to a processor set. Unless you indicate a specific processor set, a process is
assigned to the default processor set. A process can execute only on an processor that is included in the processor set to which the
process is assigned. If you assign a process to an empty processor set, it will not execute until a processor is assigned to the processor
set or until the process is assigned to another processor set.
Use the pset_create command or the create_pset function to create a processor set. When you first create a processor set, it does not con-
tain any processors.
Use the pset_assign_cpu command or the assign_cpu_to_pset function to assign processors to a specific processor set. When you assign a
processor to a specific processor set, the processor is removed from its current processor set.
Use the pset_destroy command or the destroy_pset function to destroy a processor set. Processors that belong to a destroyed processor set
are assigned to the default processor set.
Use the pset_assign_pid command or the assign_pid_to_pset function to assign a process to a specific processor set. In addition, you can
request that a process has exclusive access to a processor set. If a process has exclusive access to a processor set, no other process is
able to use that processor set. If a process has exclusive access to a processor set, that access will be cleared automatically when the
process exits. Note that if a process is already assigned to a processor set, a request for exclusive access to that processor set will be
denied.
Use the pset_info command to display the status of each processor set on the system as well as the status of each processor.
You must be root to create and destroy processor sets and to assign a processor to a processor set. Processor set creation and destruction
and processor assignments to processor sets are logged in the /var/adm/wtmp file.
FILES
/var/adm/wtmp
RELATED INFORMATION
Commands: pset_create(1), pset_destroy(1), pset_info(1), pset_assign_pid(1), pset_assign_cpu(1), runon(1), psrinfo(1), psradm(8)
Functions: assign_pid_to_pset(3), assign_cpu_to_pset(3), create_pset(3), destroy_pset(3) delim off
processor_sets(4)