Is it possible to launch Symdiag for a specific time period without user interaction to start/stop process?
Is it possible to save Symdiag logs to a location without any user prompting?
Is it possible to launch Symdiag from the CLI?
WSS Agent.
macOS and Windows OS.
Here is an example of a script that launches Symdiag from the CLI for 3 minutes, then drops the resulting file on the desktop.
1. Windows OS: needs SymDiagv3 (and run as Administrator)
SymDiagWin.exe sd-collect WssAgent,WssService sd-logging --for 3 sd-dest--file "%USERPROFILE%\Desktop\capture" sd-s
2. MacOS: Launch wssa-diag.sh (run as root or with sudo to prevent password prompt) with following parameters:
wssa-diag.sh --trace-time 3 "${HOME}/Desktop/capture.wdbz”