pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS


Microsoft AntiVirus (MsMpEng.exe) memory usage issue with this find . - loop with cygpath -w
Posted by Anonymous on Tue 5th Dec 2023 17:29
raw | new post
modification of post by Anonymous (view diff)

  1. # Microsoft AntiVirus (MsMpEng.exe) memory usage issue with this find . - loop with cygpath -w
  2. $ time ksh93 -c 'integer pnl pnl_max ; find . | while read pn ; do pn="$(cygpath -w "$pn")" ; pnl=${#pn} ; (( pnl_max=fmax(pnl, pnl_max) )) ; done ; printf "max_path_length=%d\n" pnl_max'

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at