{"id":15136223,"url":"https://github.com/emansarahafi/os-managementscripts","last_synced_at":"2026-02-11T03:06:37.546Z","repository":{"id":230985349,"uuid":"780658287","full_name":"emansarahafi/OS-ManagementScripts","owner":"emansarahafi","description":"Developing scripts that aid an operating system to manage processes, threads and Inter-process communications.","archived":false,"fork":false,"pushed_at":"2024-06-02T14:18:08.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T16:03:41.150Z","etag":null,"topics":["c-language","operating-system"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emansarahafi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-01T23:15:58.000Z","updated_at":"2024-06-02T14:18:11.000Z","dependencies_parsed_at":"2024-04-02T00:29:01.630Z","dependency_job_id":"464ce4dc-691f-4ebf-85d1-32d5027a14e0","html_url":"https://github.com/emansarahafi/OS-ManagementScripts","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.1428571428571429,"last_synced_commit":"14d25f46260f814fd999cc668c19ccc0432db33f"},"previous_names":["emansarahafi/os-managementscripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emansarahafi%2FOS-ManagementScripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emansarahafi%2FOS-ManagementScripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emansarahafi%2FOS-ManagementScripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emansarahafi%2FOS-ManagementScripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emansarahafi","download_url":"https://codeload.github.com/emansarahafi/OS-ManagementScripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246223325,"owners_count":20743168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-language","operating-system"],"created_at":"2024-09-26T06:04:37.024Z","updated_at":"2026-02-11T03:06:37.542Z","avatar_url":"https://github.com/emansarahafi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OS Management Scripts\n\nThis project required developing scripts using C that aid an operating system in managing processes, threads, and Inter-process communications.\n\n## 1. First Script\n\n- Reads any data from a standard input device.\n- Writes it on the screen.\n- Data should be of any length.\n\n## 2. Second Script\n\n- Prints the day of the week\n- Forks to print the date.\n\n## 3. Third Script\n\n- Script A should be the server which:\n    - Prints the msg received from scripts B \u0026 C.\n    - Replies with the msg received from script B or C.\n\n- Script B should be a client which:\n    - Sends the following msg to the server: “This is Client B”.\n    - Prints the reply received from Script A.\n\n- Script C should be a client which:\n    - Sends the following msg to the server: “I am Client C”.\n    - Prints the reply received from Script A.\n\n## 4. Fourth Script\n\n- Creates two threads (Thread A, Thread B).\n\n- Threads should alternate using Mutex to print the following:\n    - Thread A should print numbers from 1 to 7.\n    - Thread B should print numbers even numbers from 2 to 14.\n\n- The output should be in the following sequence:\n\n1 ➔ 2 ➔ 2 ➔ 4 ➔ 3 ➔ 6 ➔ 4➔ 8➔ 5➔ 10➔ 6➔ 12➔ 7➔ 14\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femansarahafi%2Fos-managementscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femansarahafi%2Fos-managementscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femansarahafi%2Fos-managementscripts/lists"}