Code Monkey home page Code Monkey logo

asis's Introduction

Administração de Sistemas

Repositório com scripts da desenvolvidos para a disciplina Administração de Sistemas.

asis's People

Contributors

alessandrofook avatar matheusps avatar

Watchers

James Cloos avatar Alessandro Lia Fook Santos avatar  avatar

asis's Issues

Implement update_limits.sh

This script is responsible for:

  • Create a new limit file named {month} inside /files/limits/{year}/, where each line represents one user followed by his limit (separated with space).
  • Check users in debit
  • Execute every month

Implement lp.sh

This script is a wrapper around the others, with the given responsibilities:

  • Not allow printing for an user that passed the global quota

  • Print a file requested by user and delegate the update of limit to save_print.sh

  • Not allow printing for unregistered users (not contains in authorized_users file)

  • Delegates the report generation to report.sh

  • Obs: The possible printing files contains only text. One page is equivalent to the max() of 60 lines or 3600 (60x60) chars.

Implement report.sh

This script is responsible for generating a report about the amount consumed by each user per month containing:

  • Number of flies printed
  • Number of pages printed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.