Linux cmdline script for directory monitoring, e.g. data io (MB/s)
./dirIO.sh --help
Usage: ./dirIO__du.sh /directory/to/monitor
keys: on 'statx' errors == 'n'
pause == 'p'
resume == ' ' or 'r'
quit == 'q' or 'Q'
version 0.1
June 15, 2024
chmod +x ./dirIO.sh
./dirIO.sh /path/to/directory/for/monitoring/data_io
1) 'graphical' visualization only partially implemented within scripts for testing functionality options in <tmp> directory
2) from <noscript> tag: gitREADME.md does not support JavaScript
Create a code example for data input output monitoring and data rate output within a bash shell command line. Create this script as bash shell script. Create this script for filesystem data input and data output and data rates from or to this directory, that is declared with script variables on startup. Add request for keyboard input for stopping that script on pressing q or Q. Add keyboard input scan for pausing output with pressing p and resuming with space key.