Lab 03/4: Processes
Lab 03/4: Processes
Lab 03/4: Processes
OS Lab b. The renice command is used to reschedule of the process. $renice -20 -p 4059 >>This will reschedule the priority of process having the process id as 4059 to -20 (highest).
OS Lab
pid=fork(); if(pid==0){ printf(I am the child, my process ID is %d\n, getpid()); printf(The childs parent process id is %d,getppid()); }else{ printf(I am the parent, my process ID is%d\n,getpid()); printf(the parents parent process ID is %d\n,getppid()); }} Can you guess what the output of this program will be? Comment youre your output.
... ... .. .. ..
OS Lab
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: