LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1095|回复: 1

需要帮助!!

[复制链接]
发表于 2003-10-14 11:14:16 | 显示全部楼层 |阅读模式
I want 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?

Due to the remove of sys_call__table[], so i need other way to do it...... pls help
发表于 2003-10-15 02:46:23 | 显示全部楼层
討論一下, 這有什麼用的? 想弄個taskmanager嗎?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表