Can anybody please tell me how to calculate/find total remaining(unused/free) memory in the system(using any functions)?
Thanks
Iqbal
Recommended Answers
Jump to PostAssuming you mean MS-Windows operating system, call GlobalMemoryStatus.
Jump to Postcat /proc/meminfo
shows the current state of memory. The format varies somewhat with Linux distributions. My version of Linux has what you want in the 4 th column on the second line. So, you will need to get the awk statement working for you. Then put it …
All 6 Replies
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Grunt commented: :) [Grunt] +1
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Iqbal_h_a 0 Light Poster
jim mcnamara 19 Junior Poster
Iqbal_h_a 0 Light Poster
wsgeek -5 Newbie Poster
Ancient Dragon commented: respond to 4-year-old dead thread. I doubt the op will give a shit about your answer. -5
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.