Sponsored Content
Full Discussion: Kill Signal
Top Forums UNIX for Advanced & Expert Users Kill Signal Post 65668 by ameya on Tuesday 8th of March 2005 12:38:23 AM
Old 03-08-2005
Error Kill Signal

Hello,
I'm doing a project of OS simulation (Process Scheduling, to be very specific). Can anyone, please, explain what exactly happens in the background when we see "Sending all processes the KILL signal...........". How is it sent to each process? Is it that something like a boolean is stored somewhere and each process checks that before its normal execution?? Is it stored somewhere with the process image?? Does every process get a chance to execute something after this signal is passed?? Does PCB come into the picture?? I'm totally lost from all the fragmented info i found thru google (teoma, askjeeves, etc). Smilie

Please, if anybody can help me out with this quickly, it would be highly appreciated!!

Ameya
=====
There are 10 kinds of programmers.
Those who know Operating Systems, and,
those who don't!!!!!!!!
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

kill signal

Hello e'bdy, We have WebSphere MQ running on AIX 5.1 Every weekend MQ receives a kill -30 signal from some process or user and offloads a big error file. There is no way in MQ through which that process can be tracked. Is there something which i can do on UNIX level to trap the process? Best... (3 Replies)
Discussion started by: jhaavinash
3 Replies

2. UNIX for Advanced & Expert Users

When kill doesnt work, how to kill a process ?

Hi All, I am unable to kill a process using kill command. I am using HP-UX system. I have tried with kill -9 and i have root privilages. How can i terminate this daemon ? ? ? Regards, Vijay Hegde (3 Replies)
Discussion started by: VijayHegde
3 Replies

3. Programming

kill(0,-9) don't kill the process

Hi all i have simple c program , when i wish to kill the app im using kill(0,-9) , but it seams this command don't do any thing and the program. just ignore it . what im doing wrong here ? im using HP-UX ia64 Thanks (9 Replies)
Discussion started by: umen
9 Replies

4. UNIX for Advanced & Expert Users

Diff b/n kill and kill -9

Hi, I have a process with say pid x. What is the difference b/n kill x and kill -9 x in unix Thanks Ammu (2 Replies)
Discussion started by: ammu
2 Replies

5. Shell Programming and Scripting

Kill a process without using kill command

Sorry, posted the question in other forum. (0 Replies)
Discussion started by: sudhamacs
0 Replies

6. Linux

Kill a process without using kill command

I want to Kill a process without using kill command as i don't have privileges to kill the process. I know the pid and i am using Linux 2.6.9 OS. (6 Replies)
Discussion started by: sudhamacs
6 Replies

7. Shell Programming and Scripting

How to Trap kill -9 signal

I just want to trap kill -9 signal issued by any of user from any terminal and just capture that user terminal who had raised this kill -9 command (1 Reply)
Discussion started by: puneet.goel
1 Replies

8. UNIX for Dummies Questions & Answers

Meaning and typical use of -3 signal in kill

Hi, What is the use of the signal -3 in kill command in unix? I read the meaning and typical use of this signal in one of the Oreilly books as below. Quit -- stop running (and dump core). Sent when you type CTRL-\. what does the CTRL-\ command do? Is it the combination of CTRL and... (6 Replies)
Discussion started by: venkatesht
6 Replies

9. Solaris

Cannot kill a process with kill -9

Hello everyone, I have a process that I want to kill. I have tried kill-9 PID but it doesn't work. I have tried preap PID but it doesn't work too. The parent of my process is the process whose PID is 1, so I can't kill it. My OS is a Solaris 9. Can anyone help me understand what's going... (3 Replies)
Discussion started by: adilyos
3 Replies

10. Shell Programming and Scripting

Kill an specific process ID using the KILL and GREP commands

Good afternoon I need to KILL a process in a single command sentence, for example: kill -9 `ps -aef | grep 'CAL255.4ge' | grep -v grep | awk '{print $2}'` That sentence Kills the process ID corresponding to the program CAL255.4ge. However it is possible that the same program... (6 Replies)
Discussion started by: enriquegm82
6 Replies
tapset::scheduler(3stap)												  tapset::scheduler(3stap)

NAME
tapset::scheduler - systemtap scheduler tapset DESCRIPTION
scheduler.cpu_off Process is about to stop running on a cpu See probe::scheduler.cpu_off(3stap) for details. scheduler.cpu_on Process is beginning execution on a cpu See probe::scheduler.cpu_on(3stap) for details. scheduler.tick Schedulers internal tick, a processes timeslice accounting is updated See probe::scheduler.tick(3stap) for details. scheduler.balance A cpu attempting to find more work. See probe::scheduler.balance(3stap) for details. scheduler.ctxswitch A context switch is occuring. See probe::scheduler.ctxswitch(3stap) for details. scheduler.kthread_stop A thread created by kthread_create is being stopped See probe::scheduler.kthread_stop(3stap) for details. scheduler.kthread_stop.return A kthread is stopped and gets the return value See probe::scheduler.kthread_stop.return(3stap) for details. scheduler.wait_task Waiting on a task to unschedule (become inactive) See probe::scheduler.wait_task(3stap) for details. scheduler.wakeup Task is woken up See probe::scheduler.wakeup(3stap) for details. scheduler.wakeup_new Newly created task is woken up for the first time See probe::scheduler.wakeup_new(3stap) for details. scheduler.migrate Task migrating across cpus See probe::scheduler.migrate(3stap) for details. scheduler.process_free Scheduler freeing a data structure for a process See probe::scheduler.process_free(3stap) for details. scheduler.process_exit Process exiting See probe::scheduler.process_exit(3stap) for details. scheduler.process_wait Scheduler starting to wait on a process See probe::scheduler.process_wait(3stap) for details. scheduler.process_fork Process forked See probe::scheduler.process_fork(3stap) for details. scheduler.signal_send Sending a signal See probe::scheduler.signal_send(3stap) for details. SEE ALSO
probe::scheduler.cpu_off(3stap), probe::scheduler.cpu_on(3stap), probe::scheduler.tick(3stap), probe::scheduler.balance(3stap), probe::scheduler.ctxswitch(3stap), probe::scheduler.kthread_stop(3stap), probe::scheduler.kthread_stop.return(3stap), probe::scheduler.wait_task(3stap), probe::scheduler.wakeup(3stap), probe::scheduler.wakeup_new(3stap), probe::scheduler.migrate(3stap), probe::scheduler.process_free(3stap), probe::scheduler.process_exit(3stap), probe::scheduler.process_wait(3stap), probe::scheduler.process_fork(3stap), probe::scheduler.signal_send(3stap), stap(1), stapprobes(3stap) IBM
--- tapset::scheduler(3stap)
All times are GMT -4. The time now is 12:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy