Friday, July 28, 2017

▷ Memory size (메모리 크기)

[ To find memory size ]


AIX lsattr -El mem0 | grep Total | awk '{ printf("%.0f\n", $2) }'
HP-UX (pa-risc) /opt/ignite/bin/print_manifest | grep "Memory:"
(ia64) machinfo | tr -d '=' | awk '/Memory/ { printf("%.0f\n", $2/1024) }'
SunOS prtconf -pv | grep '^Memory' | awk '{ printf("%.0f\n", $3/1024) }'
Linux cat /proc/meminfo | awk '/MemTotal:/ { printf("%.0f\n", $2/1024/1024) }'
Windows ([Math]::round((wmic MemoryChip get Capacity | findstr /v Capacity | findstr /v "^$" | Measure-Object -Sum | select Sum | findstr /v "^$" | select -Last 1)/1024/1024/1024))

No comments:

Post a Comment

◈ Recent Post

▷ UITest demo with TestOne (Mobile, Keypad and Drag until found tip)

[ UITest Demo Environment ] 1. UITest Solution: TestOne 2. Description 데모 설명    How to use keypad, and to drag until found.     키패드를...

◈ Popular Posts