dzdh
V2EX  ›  macOS

有什么类似 strace 的工具吗

  •  
  •   dzdh · Aug 23, 2023 · 2185 views
    This topic created in 1182 days ago, the information mentioned may be changed or developed.

    brew 突然奇慢无比。想看看到底哪一步卡住了想看看命令的文件读+网络操作

    7 replies  •  2023-08-23 19:09:28 +08:00
    seanzxx
    seanzxx
    Aug 23, 2023
    1
    --debug 没有帮助?

    比如:
    brew install --debug csvq

    会输出每一条运行的命令
    mdyh
    mdyh
    Aug 23, 2023
    2
    Obsidian
    dzdh
    dzdh
    OP
    Aug 23, 2023
    3
    @seanzxx search 慢
    dzdh
    dzdh
    OP
    Aug 23, 2023
    4
    @seanzxx

    /opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/manticoresoftware/homebrew-tap/Formula/manticoresearch-rc.rb

    这一步直接 hang 死
    aptx4689
    aptx4689
    Aug 23, 2023
    5
    dynamorio
    aptx4689
    aptx4689
    Aug 23, 2023
    6
    不好意思,没看到是 mac
    daveh
    daveh
    Aug 23, 2023 via iPhone
    7
    dtruss 及 dtrace 相关工具,部分功能可能要关 SIP 。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2195 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 61ms · UTC 14:28 · PVG 22:28 · LAX 06:28 · JFK 09:28
    ♥ Do have faith in what you're doing.