Skip to contentSkip to conversation

how to detect the state change for all the processes?

DISCUSSION wessly x 1 participant 1 message Oct 14, 2003

lore
Share & tools
lore

wessly x

author
#0 lore raw

How to write a module to detect the state change (from sleeping to running state) for all the processes in my Linux system. Anyone know how to do that? A process state will change from sleeping to running state after a system call (wake_up_process()), is there a way so that my module can catch this system call , so that i can get the pid of the process which experienced a state changed?

Due to the remove of sys_call__table[], so i need other way to doit...... pls comment

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com