mirror of
https://github.com/hengyoush/kyanos.git
synced 2025-12-20 01:03:46 +08:00
* The preliminary parsing of the MongoDB protocol has been completed, but there are still issues such as incorrect end times. * Mongodb Unit test done * The preliminary parsing of the MongoDB protocol has been completed, but there are still issues such as incorrect end times. * Mongodb Unit test done * feat: support mongo * fix: install mongsh failed * fix: install mongodb shell --------- Signed-off-by: 烈香 <hengyoush1@163.com> Co-authored-by: xiaoweihao <xiaoweihao@tp-link.com.hk> Co-authored-by: 烈香 <hengyoush1@163.com>
13 lines
247 B
Bash
Executable File
13 lines
247 B
Bash
Executable File
#!/usr/bin/env sh
|
|
set -x
|
|
|
|
CMD="$1"
|
|
FILE_PREFIX="/tmp/kyanos"
|
|
LNAME="${FILE_PREFIX}_test_not_add_cap_bpf_before.log"
|
|
|
|
timeout 30 ${CMD} watch http --debug-output 2>&1 | tee "${LNAME}" &
|
|
wait
|
|
|
|
cat "${LNAME}"
|
|
cat "${LNAME}" | grep "requires CAP_BPF"
|