Previous page

Next page

Locate page in Contents

Print this page

kill

Linux Summary:

Sends a signal to the specified process in the specified Virtuozzo Container.

Request specification:

Name

Min/Max

Type

Description

kill

 

 

 

{

 

 

 

eid

1..1

eid_type

Server ID.

pid

1..[]

int

Process ID.

signal

1..1

int

Signal number.

}

 

 

 

Returns:

OK/Error

Description:

The signal number can be one from following:

1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL

5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE

9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2

13) SIGPIPE 14) SIGALRM 15) SIGTERM 17) SIGCHLD

18) SIGCONT 19) SIGSTOP 20) SIGTSTP 21) SIGTTIN

22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ

26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO

30) SIGPWR 31) SIGSYS 32) SIGRTMIN 33) SIGRTMIN+1

34) SIGRTMIN+2 35) SIGRTMIN+3 36) SIGRTMIN+4 37) SIGRTMIN+5

38) SIGRTMIN+6 39) SIGRTMIN+7 40) SIGRTMIN+8 41) SIGRTMIN+9

42) SIGRTMIN+10 43) SIGRTMIN+11 44) SIGRTMIN+12 45) SIGRTMIN+13

46) SIGRTMIN+14 47) SIGRTMIN+15 48) SIGRTMAX-15 49) SIGRTMAX-14

50) SIGRTMAX-13 51) SIGRTMAX-12 52) SIGRTMAX-11 53) SIGRTMAX-10

54) SIGRTMAX-9 55) SIGRTMAX-8 56) SIGRTMAX-7 57) SIGRTMAX-6

58) SIGRTMAX-5 59) SIGRTMAX-4 60) SIGRTMAX-3 61) SIGRTMAX-2

62) SIGRTMAX-1 63) SIGRTMAX

Example:

Sending the SIGINT signal to process 7368 running in the Container specified by its Server ID.

<packet version="4.0.0">

<target>proc</target>

<data>

<proc>

<kill>

<eid>37ea79c2-3565-0e43-887f-91d4678c843e</eid>

<pid>7368</pid>

<signal>2</signal>

</kill>

</proc>

</data>

</packet>

Please send us your feedback on this help page