How to stop a systemtap script?
Issue
- How to stop a
systemtap
script? - I tried to stop
systemtap
process but didn’t work neither withrmmod
andrmmod -f
[root@localhost ~]# lsmod |grep -i stap
stap_59e721c77107e946d5321bc8edb4e438_30664 95488 2
[root@localhost ~]# ps -ef|grep -i stap
root 21525 1 0 May13 ? 00:00:00 /usr/libexec/systemtap/stapio -R stap_59e721c77107e946d5321bc8edb4e438_30664
root 28554 28329 0 06:29 pts/2 00:00:00 grep -i stap
[root@localhost ~]# rmmod stap_59e721c77107e946d5321bc8edb4e438_30664
ERROR: Module stap_59e721c77107e946d5321bc8edb4e438_30664 is in use
[root@localhost ~]# rmmod -f stap_59e721c77107e946d5321bc8edb4e438_30664
ERROR: Removing 'stap_59e721c77107e946d5321bc8edb4e438_30664': Resource temporarily unavailable
Environment
- Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.