ks process ID. This is key when you want to reference this process in another command, for example to kill it.
Then we have TT that tells us the terminal id used.
Then STAT tells us the state of the process: 0 码力 |
112 页 |
13.74 MB
| 2 年前 3 transports)
json_loads()_(socketio.virtsocket.Socket_static_method)
## K
kill().(socketio.virtsocket.Socket method) kill local jobs().(socketio.namespace.BaseNamespace method)
## L
lift acl restrictions() # error, so let's just let it go, and not kill
# socket completely. Other processes will
# we kill everything if the user expires the
actually). This will trigger an
onDisconnect()
call on the client side.
Over here, we will kill all `spawn`'ed processes and remove
the namespace from the Socket object.
for a spawned 0 码力 |
91 页 |
118.05 KB
| 2 年前 3 |unique\_id|
|---|
|diff|
|echo|
|chown|
|chmod|
|mask|
|du|
|df|
|basename|
|dirname|
|ps|
|top|
|kill|
|killall|
|jobs|
|bg|
|fg|
|type|
|which|
|nohup|
|xargs|
|vim|
|emacs|
|nano|
|whoami|
|who|
|su| process ID. This is key when you want to reference this process in another command, for example to kill it.
Then we have TT that tells us the terminal id used.
Then STAT tells us the state of the process: by memory utilized:
top -o mem
## kill
Linux processes can receive signals and react to them.
That's one way we can interact with running programs.
The kill program can send a variety of signals 0 码力 |
135 页 |
14.14 MB
| 2 年前 3 ontainer/K8s|K8s|K8s|
|CPU burn|✓|✓|✓|✓|✓|
|Mem burn|✓|✓|✓|✓|✓|
|container kill|✓|✓|✓|✓|✓|
|pod failure|✓|✓|✓|✓|✓|
|pod kill|✓|✓|✓|✓|✓|
|network partition|✓|✓|✓|✓|✓|
|network duplication|✓|✓|✓|✓|✓|
|network fill|✓|✓|✓|✓|✓|
|Disk loss|✓|✓|✓|✓|✓|
|Time skew|✓|✓|✓|✓|✓|
|Kernel chaos|✓|✓|✓|✓|✓|
● PodChaos: kill / fail / container/...
● NetworkChaos: delay / lose / dup / partition / ...
IOChaos: latency / fault KernelChaos: kernel fault injection
● StressChaos: burn cpu and memory
☑ DNSChaos ....
pod-fail
container-kill
network-loss
Io-delay
lo-erno
YAML
![Image](/uploads/documents/a/6/4/f/a64f2a1b9a259d779bfeba7888af7c5c/p15_2 0 码力 |
25 页 |
3.33 MB
| 1 年前 3 • Hypothesis
TiDB uses Raft consensus algorithm to replicate data and provide fault-tolerance
o Kill one TiDB instance, if the instance has a leader replica, the QPS may drop because the client can’t leader soon to service the client’s write again
☐ The QPS will be recovered
## • Run experiment
☐ Kill one TiDB instance randomly
## • Verify
☐ The QPS dropped but not recovered anymore
☐ A bug is found loss
duplication
corrupt
partition
STRESS
io-latency io-fault attr-override
pod-kill
pod-failure
container-kill
DNS
KERNEL
clock-skew
cpu-burn memory-burn
kernel-inject
dns-random
dns-fail 0 码力 |
28 页 |
986.42 KB
| 1 年前 3 view all running processes? ..... 37
7.2 How to find a particular process? ..... 37
7.3 How to kill/stop a particular process? ..... 38
7.4 Finding out list of open files ..... 38
7.5 Signals ... We will learn more about grep in the future.
### 7.3 How to kill/stop a particular process?
We can kill/stop any process using the kill command. We found out, in the last example, that the id of the the Firefox process in my computer is 26752, we can use that id to kill it.
$ kill 26752
If there is no error message, you’ll find that Firefox has disappeared.
### 7.4 Finding out list of open files 0 码力 |
128 页 |
716.99 KB
| 2 年前 3
|