CBKADAL
OSP Weekly Assignments
C. BinKadal --- Sendirian, Berhad.


OS Week 07 Assignment #3: Synchronization

Check TARBALL SYNC

  • TARBALL “Z07-SYNC.tar.xz” should be inside the directory.
ls -al Z07-SYNC.tar.xz


Extract TARBALL and RUN Script

bash 07_WEEK07.sh


READ Z07-File-WEEK07-REPORT2.txt

  • copy file WEEK07-MYSHARE.bin to os1.cs.ui.ac.id
  • run “insertShareMemory” (the program is in /usr/local/bin/). The result should be file “WEEK07-REPORT2.txt”. In case of error(s) repeat this point.
  • Copy back (scp) file “WEEK07-REPORT2.txt” to your Virtual Guest folder “RESULT/W07/”
cd $HOME/RESULT/W07/
ls -al


  • WEEK07-07-RUN.txt
ZCZC 0CF859A PWD /home/cbkadal/mywork/WEEK07/SYNC
ZCZC 0C02010 MAKE2 AUTORECONF
ZCZC 0C92C46 MAKE3 CONFIGURE
ZCZC 0CAE40B MAKE4 MAKEFILE
ZCZC 1C731D5 XPROCS PID 12022 PPID 10852 ARCH x86_64 NPROC 4
ZCZC 1C684E9 XCHECK HOST cbkadal USER cbkadal GROUP cbkadal HOME /home/cbkadal
ZCZC 1C31E53 SHARE0 1C91FF6 cbkadal
ZCZC 1C1E333 SHARE1 FILE WEEK07-MYSHARE.bin SIZE 17
ZCZC 1CFD46C SHARE2 DONE
ZCZC 0C1C290 MAKE5 SUPERCLEAN
ZCZC 0CFC0DE WEEKSQ 07 07
ZCZC 0C14713 VERSUM 3B:51693EEB 3B:51693EEB
ZCZC 0C32E6A VERINC 77:A8E02757 77:A8E02757
ZCZC 0C0D0F9 SCRIPT # REV20: Wed 17 Apr 2024 10:00
ZCZC 0C0B815 SHMEMD 88_mylib.c 88_mylib.h config.h configure.ac insertShareMemory.c Makefile.am myShareMemory.c rstShareMemory.c .shsh 8 17 21 28 8
ZCZC 0C261AD RESULT ===== RESULT IN /home/cbkadal/RESULT/W07/WEEK07-07-RUN.txt =====
ZCZC 0C228A5 RESULT ===== Copy file /home/cbkadal/RESULT/W07/WEEK07-MYSHARE.bin to os1.cs.ui.ac.id === =====
ZCZC 0C3072B RESULT ===== ===== See also file Z07-File-WEEK07-REPORT2.txt ==== ===== ===== ===== ===== ===== =====


  • WEEK07-REPORT2.txt
    • Copy this file from os1.
ZCZC 1C737D8 REPORT FILE WEEK07-REPORT2.txt is OPEN
ZCZC 1C6ECC3 XPROCS PID 72344 PPID 72291 ARCH x86_64 NPROC 1
ZCZC 1C9079D XCHECK HOST os1 USER cbkadal GROUP cbkadal HOME /home/cbkadal
ZCZC 1C31BEA SHARE1 OK fd1 WEEK07-MYSHARE.bin FILESIZE 17
ZCZC 1C10C9C SHARE2 OK fd2 /home/zzzSHARE/.zzzW07/ directory
ZCZC 1CFAD74 IamUSR cbkadal
ZCZC 1CAB1F9 USRCH1 COMPARE cbkadal =? cbkadal
ZCZC 1CCC3CF USRCH2 OK
ZCZC 1C9A33C HSHCH1 COMPARE 1FF6 =? 1FF6
ZCZC 1CD8939 HSHCH2 OK
ZCZC 1CA5A6E LOCKED
ZCZC 1CBA20C START ==== ALL ====
1C91FF6 cbkadal
ZCZC 1C2BE85 END   ==== ALL ====
ZCZC 1CBF0D2 UNLOCKED




© 2024-2024 --- C. BinKadal --- Revision: Wed 20 Nov 2024 07:00.