get memory and other things using c libraries