pcm
pcm copied to clipboard
pcm-bw-histogram hardcodes directories
echo
echo ========= CHECKING FOR PMM SUPPORT =========
echo
./pcm-memory -pmm -- sleep 1 &> tmp
When packaged this script fails because ./ is not usually in the PATH.
$ sudo pcm-bw-histogram 5
rm: cannot remove 'bw-tmp': No such file or directory
========= CHECKING FOR PMM SUPPORT =========
/usr/sbin/pcm-bw-histogram: 21: ./pcm-memory: not found
PMM supoprt is present
========= MEASURING =========
nice: ‘./pcm-memory’: No such file or directory
cat: bw-tmp: No such file or directory
======== POST-PROCESSING ====
============ Socket 0 ============
Memory bandwidth(GB/s),count,time(%),chart
PMM read bandwidth(GB/s),count,time(%),chart
PMM write bandwidth(GB/s),count,time(%),chart