Posts Tagged ‘free memory’

How to get only free memory in linux and assign half of it to an application?

Hi, I want to get only free memory available in linux/solaris and assign 50% of it to my application through script, Any help appreciated.

what are the open source tools available to check C code?

I have bulk of C code and I am currently told to audit the code.
For example:
1. check the un initialized variables
2. called ‘malloc’ but not called ‘free’ to free that memory space
3. security vulnerabilities
4. common programming mistakes etc….

I might not listed all possible things here,
but helper please keep similar points that will help to audit the C code
and suggest me good open source tool.

Also they can suggest me some links describing what are to be checked while auditing the code.