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

o process.getuid()
o process.setuid(id)
o process.version
o process.installPrefix
o process.kill(pid, signal='SIGTERM')
o process.pid
☐ process.title
o process.platform
o process.memoryUsage() child_process.spawn(command, args=[], [options])
- child_process.exec(command, [options], callback)
- child.kill(signal='SIGTERM')
## • Assert 断言模块
assert.fail(actual, expected, message, operator)
assert 一个编译内置的属性,用于显示 NODE_PREFIX(Node 安装路径前缀)。
console.log('Prefix: ' + process.installPrefix);
### process.kill(pid, signal='SIGTERM')
Send a signal to a process. pid is the process id and signal is the 0 码力 |
153 页 |
1.21 MB
| 2 年前 3
|