Browsed by
Category: computer

A short script for testing writing many files to a folder

A short script for testing writing many files to a folder

The challenge: We want to see when the number of files in a folder decrease the performance on adding new files into the same folder. Two examples where we may need to do to this are: to get an overview of the performance of the file system node structure, or to test Windows function for 8dot3 format compatibility. The solution: We want to create a script that writes a large amount of files to the folder in question and is logging…

Read More Read More

Two Good Tools for Peeking Inside Windows

Two Good Tools for Peeking Inside Windows

Over the last couple of weeks I have explored the inner mechanics of Microsoft Windows, and the processes that run in this context. In this process two tools have proved especially useful: Xperf logs with WPA and Sysinternal’s Process monitor. Xperf/WPA During execution Windows is continuously surveying it’s internal processes through the Event Tracing for Windows (ETW). We may harness this internal surveying by extracting the data through the program Xperf. From specific points in the execution (which we decide when…

Read More Read More

Three Useful Terminal Commands

Three Useful Terminal Commands

See my terminal-tools tag for more articles on nifty terminal tools. The *nix terminal is a great tool. In everyday life this is where a lot of things can be done easy and fast with this power tool. There are an abundance of tools and ways of solving problems with the terminal, but here you have three practical applications. Find a text string within current folder grep your_magic_string -H -R * The command ‘grep’ is used as a search tool for plain…

Read More Read More