We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19f90d6 commit 4b2d9fdCopy full SHA for 4b2d9fd
sh/mem.php
@@ -2,5 +2,5 @@
2
3
//exec('cat /proc/meminfo|awk \'{print $1","$2}\'',$result);
4
//exec('free -m|awk \'{print $1","$2","$3","$4}\'',$result);
5
- exec('free -tmo|awk \'{print $1","$2","$3","$4}\'',$result);
+ exec('free -tmo|awk \'{print $1","$2","$3-$6-$7","$4+$6+$7}\'',$result);
6
echo json_encode( explode(',',$result[1]) );
0 commit comments