mirror of https://gitee.com/bigwinds/arangodb
fixed percent
This commit is contained in:
parent
bd2df3b6e3
commit
1048559dcf
|
@ -1780,7 +1780,7 @@ static v8::Handle<v8::Value> JS_ProcessStatistics (v8::Arguments const& argv) {
|
|||
double rssp = 0;
|
||||
|
||||
if (TRI_PhysicalMemory != 0) {
|
||||
rssp = 100.0 * rss / TRI_PhysicalMemory;
|
||||
rssp = rss / TRI_PhysicalMemory;
|
||||
}
|
||||
|
||||
result->Set(v8::String::New("minorPageFaults"), v8::Number::New((double) info._minorPageFaults));
|
||||
|
|
Loading…
Reference in New Issue