-
$ sudo apt-get install build-essential checkinstall $ sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
-
$ cd /usr/src $ wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz $ tar xzf Python-2.7.13.tgz
-
$ cd Python-2.7.13 $ sudo ./configure $ sudo make altinstall
-
$ python2.7 -V
Note: This project is tested with python 2.7
$ sudo apt-get install python-pip
$ pip install requests
$ pip install schedule
$ pip install json
$ pip install logging
-
$ pip install MySQLdb $ pip install subprocess $ pip install ast
-
mySqlUser : username of mySqlDB mySqlHost : host on which mySqlDb is running mySqlPassword : password of mySqlUser base_url : url on which data needs to be posted header : request header request_timeout : timeout of request repeat_time : time (in minutes) after which scripts runs repetedly
-
$ ./mySqlDb.py
-
$ pip install subprocess
-
no_of_processes : no of top heavy processes you want in output base_url : url on which data needs to be posted header : request header request_timeout : timeout of request repeat_time : time (in minutes) after which scripts runs repetedly
-
$ ./application.py
-
$ pip install psutil
-
base_url : url on which data needs to be posted header : request header request_timeout : timeout of request repeat_time : time (in minutes) after which scripts runs repetedly
-
$ ./server.py