Changeset 26
- Timestamp:
- 12/02/14 12:33:00 (9 years ago)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/0.94/sara-get-mem-size
r7 r26 1 1 #!/bin/bash 2 2 cat /proc/meminfo | awk ' 3 /MemTotal:/ { print int($2/10 00000) ; exit }'3 /MemTotal:/ { print int($2/1048576) ; exit }' -
tags/0.94/sara-get-mem-size.1
r7 r26 6 6 .SH DESCRIPTION 7 7 .I Sara-get-mem-size 8 Writes the amount of memory in Mbytes to standard output.8 Writes the amount of memory in Gbytes to standard output. 9 9 10 10 .TP 8 -
trunk/sara-get-mem-size
r7 r26 1 1 #!/bin/bash 2 2 cat /proc/meminfo | awk ' 3 /MemTotal:/ { print int($2/10 00000) ; exit }'3 /MemTotal:/ { print int($2/1048576) ; exit }' -
trunk/sara-get-mem-size.1
r7 r26 6 6 .SH DESCRIPTION 7 7 .I Sara-get-mem-size 8 Writes the amount of memory in Mbytes to standard output.8 Writes the amount of memory in Gbytes to standard output. 9 9 10 10 .TP 8
Note: See TracChangeset
for help on using the changeset viewer.