Collections:
Other Resources:
Use NUL to Sink Program Output
How to use the NUL file name to sink program output?
✍: FYIcenter.com
If a program is writing too much out on your screen, you sink all output to the NUL file name.
For example, if you run JMeter program, it will write some output on your screen:
C:\>\fyicenter\jmeter\bin\jmeter > nul ================================================================================ Don't use GUI mode for load testing, only for Test creation and Test debugging ! For load testing, use NON GUI Mode: jmeter -n -t [jmx file] -l [results file] -e -o [Path to output folder] & adapt Java Heap to your test requirements: Modify HEAP="-Xms512m -Xmx512m" in the JMeter batch file ================================================================================ 12:38:58 AM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0 x80000002. Windows RegCreateKeyEx(...) returned error code 5.
You can redirect STDOUT to NUL by adding "> nul" to the command:
C:\>\fyicenter\jmeter\bin\jmeter > nul 12:40:58 AM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0 x80000002. Windows RegCreateKeyEx(...) returned error code 5.
To remove the error message, you can redirect STDERR to NUL by adding "2> nul" to the command. Now nothing displayed on the screen:
C:\>\fyicenter\jmeter\bin\jmeter > nul 2> nul
⇒ Use CON to Enter Data to File
2021-04-15, 1864🔥, 0💬
Popular Posts:
What is Java Console Extra Tools Menu Item for Internet Explorer (IE) browsers? Java Console Extra T...
What is the "Workstation (LanmanWorkstation)" system service on Windows Server 2012? Can I disable "...
Have a windows 8 computer and need to download the Visual C++ Redistributable for visual studio 2012...
What is HPQTOA~1.EXE or HPQToaster.exe - Process - HpqToaster Module? Process HPQTOA~1.EXE or HPQToa...
Can I disable Windows service "NICCONFIGSVC" to speedup my computer? Windows service "NICCONFIGSVC" ...