An open API service indexing awesome lists of open source software.

https://github.com/hootbu/free-memory-c

Creating C code that displays RAM in the system, along with writing a Makefile.
https://github.com/hootbu/free-memory-c

bash-script c makefile memory

Last synced: 3 months ago
JSON representation

Creating C code that displays RAM in the system, along with writing a Makefile.

Awesome Lists containing this project

README

        

# Displaying RAM in the System with C Code
###### Created by Emir Yorgun

This project provides a simple utility to check the available RAM on your system using a C program. It includes a Makefile for easy compilation and a shell script for convenient execution.

### Details
- Memory Check (freeMem.c): The C program executes a system command to retrieve and display the available memory in gigabytes.
- Makefile: Simplifies the compilation process with targets for building and cleaning the project.
- Shell Script (FreeMem.sh): Provides command-line options to compile, run, and clean the project.

-------------

#### C file named freeMem.c
![image](https://github.com/user-attachments/assets/95f27823-2b02-453d-986b-6f7ac61c5043)

#### Created Makefile
![image](https://github.com/user-attachments/assets/5c6f94bd-96bc-4f98-a540-a6d7d1aa184b)

#### Created Bash Script and Its Usage
![image](https://github.com/user-attachments/assets/864a3241-c295-4038-abc3-01837897dac4)