├── Ossp_individual_Yihalem_Girma_Ayalew_bdu_1602775_A_os_installation.pdf ├── README.md ├── ossp_individual_Yihalem_Girma_Ayalew_bdu_1602775_systemcall.pdf └── sysinfo_test.c /Ossp_individual_Yihalem_Girma_Ayalew_bdu_1602775_A_os_installation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yihalemle/PARROT_OS/f7927981b6fcca0225a581c73112ac5a1670522b/Ossp_individual_Yihalem_Girma_Ayalew_bdu_1602775_A_os_installation.pdf -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PARROT OS 2 | ## Yihalem Girma | BDU1602775 3 | 4 | ### INSTALLATION 5 | This guide provides clear instructions on how to install and set up Parrot OS in a VirtualBox virtual machine. Parrot OS is a Linux distribution focused on security, privacy, and development tools. It comes with a variety of pre-installed utilities for penetration testing, reverse engineering, and digital forensics. The guide includes system requirements, step-by-step installation, and common troubleshooting solutions. You'll also find tips for resolving issues like network setup and screen resolution problems. 6 | 7 | ### SYSTEM CALL IMPLEMENTATION 8 | In this section, we explore the sysinfo() system call on Parrot OS. The C program fetches essential system details like uptime, available RAM, and load averages. By directly interacting with the Linux kernel, it offers a glimpse into how the operating system manages its resources. This process helps you better understand the inner workings of the OS. The program provides real-time insights into system performance, making it easier to monitor and troubleshoot. 9 | 10 | -------------------------------------------------------------------------------- /ossp_individual_Yihalem_Girma_Ayalew_bdu_1602775_systemcall.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yihalemle/PARROT_OS/f7927981b6fcca0225a581c73112ac5a1670522b/ossp_individual_Yihalem_Girma_Ayalew_bdu_1602775_systemcall.pdf -------------------------------------------------------------------------------- /sysinfo_test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | struct sysinfo info; 6 | 7 | if (sysinfo(&info) == 0) { 8 | printf("System Uptime: %ld seconds\n", info.uptime); 9 | printf("Total RAM: %lu MB\n", info.totalram / (1024 * 1024)); 10 | printf("Free RAM: %lu MB\n", info.freeram / (1024 * 1024)); 11 | printf("Load Averages (1, 5, 15 min): %lu, %lu, %lu\n", 12 | info.loads[0], info.loads[1], info.loads[2]); 13 | } else { 14 | perror("sysinfo"); 15 | } 16 | 17 | return 0; 18 | } 19 | --------------------------------------------------------------------------------