/Linux-Bus-Checker

An College Project by individual

Primary LanguageCMIT LicenseMIT

Linux-Bus-Checker

An College Project worked by individual for System Programming

What is Linux Bus Checker?

Linux Bus checker is Demo Software that can show the available bus list, reserve bus tickets by maximum People Number and also can automatically sleep if none of the inputs are given.

What functions this program can do?

functional operations

  1. show the current available bus list.
  2. reserve tickets, if reserved tickets are sold out, print text that you cannot buy the ticket anymore.

non-functional operations

  1. if none of the inputs are given, turn the program's sleep mode on (Timer Signal)
  • If Sleep Mode, clear all console, Show Command. If input comes, then Execute the command.
  • If NOT Sleepmode, Wait For 10 sec
  • ex)
  • =======Please Input command========
  • = 1. Show Current Time : Press s =
  • = 2. Show Bus List : Press l =
  • = 3. Turn Reserve Mode : Press r =
  • = 4. Quit : Press q =
  • =================================== ( n sec left) :
  1. Uses Multiple Processes that are consisted of System.exe and Execute.exe (Fork)
  2. Show the current time by socket programming (Socket)
  3. The input System is consisted by Asynchronous input (SIGIO)