E
E
Eugene2019-04-24 22:07:06
Python
Eugene, 2019-04-24 22:07:06

How to read files on windows server?

Good day! I need help, I wrote an application in python, gui pyqt5, the essence of which is to search for the necessary information in log files, it takes a folder with files as input and performs a line-by-line search on them. The files are stored on several servers, hence the task, in order to reduce time, to search all servers at once, the path to the files is the same everywhere (//servername/path), by weight all files in the folder, by the way, can reach about 2GB. I want to register the paths in the config, so that if necessary, change them. So, how to read these files from the server and then parse them? I have not encountered such a task, so I would like tips on how to organize this, what to read, in which direction to look? Thanks in advance to all who responded!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
moropsk, 2019-04-24
@moropsk

So there seems to be a ready-made tool
https://serveradmin.ru/ustanovka-i-nastroyka-elast...

N
Nick V, 2019-04-25
@half-life

https://habr.com/ru/post/165059/
https://habr.com/ru/post/135541/
https://habr.com/ru/post/150047/
https://habr.com/ ru/company/infopulse/blog/131835/
https://habr.com/ru/company/jetinfosystems/blog/336608/
https://itc-life.ru/skript-sbora-informacii-s-servera/
https: //tproger.ru/digest/sysadmin-compilation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question