Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
500fb193
Commit
500fb193
authored
Oct 06, 2020
by
Carla Guillen Carias
Browse files
Update GpfsmonSensorGroup.h, added sudo to mmpmon command.
parent
6b5193f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
dcdbpusher/sensors/gpfsmon/GpfsmonSensorGroup.h
View file @
500fb193
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment