File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ Kill processes by process ID.
10
10
kill OPTIONS PID
11
11
```
12
12
13
- | Option | Description |
14
- | --- | --- |
15
- | ` -s ` ` --signal ` | The signal to send. It may be given as a name or a number. |
16
- | ` -l ` ` --list ` | Print a list of signal names, or convert the given signal number to a name. |
17
- | ` -L ` ` --table ` | Pretty print a table of signal names and numbers. |
13
+ | Option | Description |
14
+ | --------------- | ------------------------------------------------------------------------------------------ --- |
15
+ | ` -s ` ` --signal ` | The signal to send. It may be given as a name or a number. Use 0 to just run the validations. |
16
+ | ` -l ` ` --list ` | Print a list of signal names, or convert the given signal number to a name. |
17
+ | ` -L ` ` --table ` | Pretty print a table of signal names and numbers. |
18
18
19
19
Examples:
20
20
@@ -24,6 +24,12 @@ kill -9 PID # Same as `-s 9` (SIGKILL)
24
24
kill -9 %JOBID
25
25
```
26
26
27
+ Check if a process is still running.
28
+
29
+ ``` shell
30
+ kill -0 PID
31
+ ```
32
+
27
33
## Pkill
28
34
29
35
Kill processes by process name (pattern).
You can’t perform that action at this time.
0 commit comments