iostat2pcp command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
iostat2pcp: command not found
or when using sudo you get the following error message
sudo: iostat2pcp: command not found
Solutions to iostat2pcp: command not found
How To Fix iostat2pcp: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu iostat2pcp is provided by pcp-import-iostat2pcp package.
pcp-import-iostat2pcp is:
Performance Co-Pilot (PCP) front-end tool for importing data from iostat into standard PCP archive logs for replay with any PCP monitoring tool. (such as pmie, pmlogsummary, pmchart or pmdumptext).
To fix this problem, we can install more using the command below.
sudo apt-get -y install pcp-import-iostat2pcp
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pcp-import-iostat2pcp.
sudo apt -y install pcp-import-iostat2pcp
Or if you have aptitude installed you can use the following command.
sudo aptitude install pcp-import-iostat2pcp
Summary
In this tutorial we learn how to fix iostat2pcp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.