Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我想在我的进程等待超过 30 秒的情况下创建转储文件,有没有办法通过 procdump 来完成?目前它默认为 5 秒。但我没有看到任何地方可以增加那个时间。可能吗?
没有这样的选项,但应该可以用-h -s 20. -h将等待 5 秒并写入转储,-s 20将再等待 20 秒,然后再次检查条件,这将需要另外 5 秒。然后你会得到 2 个崩溃转储,而你只是忽略第一个。
-h -s 20
-h
-s 20
但是,如果您的应用程序经常滞后 5 到 30 秒,这可能会给您带来很多误报。