Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 1.82 KB

README.md

File metadata and controls

31 lines (27 loc) · 1.82 KB

Runner

Links to the resources I have used while working on the task:

  1. https://stackoverflow.com/questions/26561822/pytest-capsys-checking-output-and-getting-it-reported
  2. https://docs.pytest.org/en/stable/capture.html
  3. https://semaphoreci.com/community/tutorials/testing-python-applications-with-pytest
  4. https://python-ptrace.readthedocs.io/en/latest/syscall.html
  5. https://linux.die.net/man/1/strace
  6. https://medium.com/pinterest-engineering/open-sourcing-ptracer-a-syscall-tracing-library-for-python-b0fe0d91105d
  7. https://www.solrac.nl/io-stats-linux-os-python/
  8. https://stackabuse.com/handling-unix-signals-in-python/
  9. https://pypi.org/project/psutil/
  10. https://docs.docker.com/language/python/build-images/#create-a-dockerfile-for-python:~:text=Dockerfile.-,FROM%20python%3A3.8%2Dslim%2Dbuster,CMD%20%5B%20%22python3%22%2C%20%22%2Dm%22%20%2C%20%22flask%22%2C%20%22run%22%2C%20%22%2D%2Dhost%3D0.0.0.0%22%5D
  11. https://realpython.com/python-command-line-arguments/#the-command-line-interface
  12. https://unix.stackexchange.com/questions/469116/how-to-send-sigint-to-multiple-processes
  13. https://stackabuse.com/handling-unix-signals-in-python/
  14. https://stackabuse.com/the-singleton-design-pattern-in-python/
  15. https://www.geeksforgeeks.org/how-to-get-current-cpu-and-ram-usage-in-python/
  16. https://psutil.readthedocs.io/en/latest/
  17. https://www.tutorialspoint.com/python_design_patterns/python_design_patterns_singleton.htm

Challenges that I have encountered while working on the tasks:

In order to complete this project I had to learn a lot by myself:

  1. Python packages such as psutil, os, sys, pytest etc.
  2. What is docker file and how to build and use it.
  3. How to write requirements automatically
  4. How to monitor bash commands
  5. How to write a singletone class in python
  6. How to handle signals in python