pcm icon indicating copy to clipboard operation
pcm copied to clipboard

pcm-bw-histogram hardcodes directories

Open KenSharp opened this issue 8 months ago • 0 comments

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

KenSharp avatar May 24 '25 13:05 KenSharp