[toc]
- Name: Runjie Yu
- Github: https://github.com/zjregee
- Email: zjregee@gmail.com
- Location: Wuhan, China (GMT+8:00)
SKB CPU PROCESS FUNC | |
0xffff9f7898af0200 10 [/usr/bin/python3.12:155497] udp4_hwcsum netns=4026534868 mark=0x0 iface=0 proto=0x0000 mtu=0 len=39 172.17.0.2:40870->192.168.0.239:4000(udp) | |
0xffff9f7898af0200 10 [/usr/bin/python3.12:155497] ip_send_skb netns=4026534868 mark=0x0 iface=0 proto=0x0000 mtu=0 len=39 172.17.0.2:40870->192.168.0.239:4000(udp) | |
0xffff9f7898af0200 10 [/usr/bin/python3.12:155497] __ip_local_out netns=4026534868 mark=0x0 iface=0 proto=0x0000 mtu=0 len=39 172.17.0.2:40870->192.168.0.239:4000(udp) | |
0xffff9f7898af0200 10 [/usr/bin/python3.12:155497] ip_output netns=4026534868 mark=0x0 iface=0 proto=0x0800 mtu=0 len=39 172.17.0.2:40870->192.168.0.239:4000(udp) | |
0xffff9f7898af0200 10 [/usr/bin/python3.12:155497] ip_finish_output netns=4026534868 mark=0x0 iface=3(eth0) proto=0x0800 mtu=1500 len=39 172.17.0.2:40870->192.168.0.239:4000(udp) | |
0xffff9f7898af0200 10 [/usr/bin/p |
RT |
[toc]
{ | |
"ociVersion":"1.1.0-rc.1", | |
"process":{ | |
"user":{ | |
"uid":0, | |
"gid":0, | |
"additionalGids":[ | |
0, | |
1, | |
2, |
from bcc import BPF | |
import time | |
import argparse | |
bpf_text = """ | |
#include <uapi/linux/ptrace.h> | |
#include <linux/fs.h> | |
#include <linux/sched.h> | |
BPF_HASH(fd_info, pid_t, int); |
from flask import Flask, request, render_template_string, jsonify | |
from flask_caching import Cache | |
app = Flask(__name__) | |
cache = Cache(app, config={"CACHE_TYPE": "SimpleCache"}) | |
# The HTML template as a string | |
html_template = """ | |
<!doctype html> | |
<html> |
version: '3.8' | |
services: | |
emby: | |
container_name: emby | |
image: emby/embyserver:latest | |
# Obviously you'll need to update these | |
environment: | |
- UID=1002 | |
- GID=1002 |
.global _start | |
.section .text | |
_start: | |
# Setup stack frame | |
movq %rsp, %rbp | |
# Load argc | |
movq (%rbp), %r8 # %r8 now holds argc |
use reqwest::Client; | |
use serde::{Deserialize, Serialize}; | |
use serde_json; | |
use bytes::Bytes; | |
#[derive(Clone, Debug, Deserialize, Serialize)] | |
struct DropboxDeleteArgs { | |
path: String, | |
} |
首先走 debug 模式进入 console
编辑以下文件
nano /usr/share/X11/xorg.conf.d/10-quirks.conf
然后输入以下内容