{"id":19244426,"url":"https://github.com/ghazaleze/os-lab","last_synced_at":"2026-05-19T04:11:48.207Z","repository":{"id":109419642,"uuid":"238903164","full_name":"GhazaleZe/OS-Lab","owner":"GhazaleZe","description":"some codes of my operating system laboratory","archived":false,"fork":false,"pushed_at":"2020-02-08T20:46:54.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T15:14:27.807Z","etag":null,"topics":["c","client-server","fork","laboratory-exercises","linux","opreating-systems"],"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/GhazaleZe.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":"2020-02-07T11:07:02.000Z","updated_at":"2023-01-15T07:18:37.000Z","dependencies_parsed_at":"2023-04-25T06:03:21.087Z","dependency_job_id":null,"html_url":"https://github.com/GhazaleZe/OS-Lab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GhazaleZe/OS-Lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhazaleZe%2FOS-Lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhazaleZe%2FOS-Lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhazaleZe%2FOS-Lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhazaleZe%2FOS-Lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GhazaleZe","download_url":"https://codeload.github.com/GhazaleZe/OS-Lab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhazaleZe%2FOS-Lab/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266720285,"owners_count":23973935,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","client-server","fork","laboratory-exercises","linux","opreating-systems"],"created_at":"2024-11-09T17:23:32.298Z","updated_at":"2026-05-19T04:11:43.157Z","avatar_url":"https://github.com/GhazaleZe.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# a short discription for each file\n## lab4_question2:\nThe goal is to maximize CPU utilization under a special circumstance.\nIt works like this: make **MAXCHILD** children and **MAXCHILD** is a number between 2 and 10.\nEach child makes a random number between 1 and 1000 and waits for this random number second, then  prints the message(PID is ID of the created process):\n\u003e Message from child PID: waited for RANDOM seconds.\n\nThe parent process checks all children if one of them is ended, it creates a new child(has its own function).\nParent process continues until it receives a signal like **CTRL+C** .\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghazaleze%2Fos-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghazaleze%2Fos-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghazaleze%2Fos-lab/lists"}