14.6.6. Sending Process Signal Names to Virtual Processes


Using the virsh send-process-signal domain-ID PID signame command sends the specified signal (identified by its signame) to a process running in a virtual domain (specified by the domain ID) and identified by its process ID (PID).
Either an integer signal constant number or a symbolic signal name can be sent this way. Thus, for example, both of the following commands send the kill signal to process ID 187 on the rhel6 domain:
# virsh send-process-signal rhel6 187 kill
# virsh send-process-signal rhel6 187 9
For the full list of available signals and their uses, see the virsh(1) and signal(7) manual pages.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.