If I run ps::ps_system_memory() on Linux, I get a number between 0 and 100 returned for the $percent element, eg 82.02327.
Running the same command on Windows, I get a number between 0 and 1 for $percent, eg 0.8202327.
I think the output should be consistent - either way.
Or should it be up to the user to amend their script to account for which OS it is being run on?
If I run
ps::ps_system_memory()
on Linux, I get a number between 0 and 100 returned for the$percent
element, eg82.02327
. Running the same command on Windows, I get a number between 0 and 1 for$percent
, eg0.8202327
.I think the output should be consistent - either way. Or should it be up to the user to amend their script to account for which OS it is being run on?