Commit 500fb193 authored by Carla Guillen Carias's avatar Carla Guillen Carias
Browse files

Update GpfsmonSensorGroup.h, added sudo to mmpmon command.

parent 6b5193f0
......@@ -56,7 +56,7 @@ class GpfsmonSensorGroup : public SensorGroupTemplate<GpfsmonSensorBase> {
void createTempFile();
bool parseLine(std::string &&toparse);
const std::string _cmd_io = "/usr/lpp/mmfs/bin/mmpmon -p -i /tmp/gpfsmon"; //todo change to real command
const std::string _cmd_io = "sudo /usr/lpp/mmfs/bin/mmpmon -p -i /tmp/gpfsmon"; //todo change to real command
std::vector<uint64_t> _data; //!< temp variable in parseLine defined here for efficiency.
constexpr static int BUFFER_SIZE = 255; //!< constant buffer that is used to parse line by line (from popen)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment