On 03/07/2016 09:20 PM, Damjan Georgievski wrote: > there's also `sysinfo(2)` > I didn't know there's a syscall for that. That seems like the easiest way to get memory data. I'm not sure if you can get the other information the original poster wanted without parsing /proc though. On 02/19/2016 04:01 AM, Jonathan Horacio Villatoro Córdoba wrote: > Don't worry. Actually, I understood your point perfectly. I suggested > free only because I originally supposed the OP wanted his program to > contain as little code as possible in his program, and didn't want to > parse the file himself. > OK :) .