lancachenet / monolithic

A monolithic lancache service capable of caching all CDNs in a single instance
https://hub.docker.com/r/lancachenet/monolithic
Other
737 stars 73 forks source link

Data Information Script Thing #33

Closed DarrenRainey closed 4 years ago

DarrenRainey commented 5 years ago

Hello for those interested I wrote a quick script here: https://github.com/DarrenRainey/Script-Bin/blob/master/Sys%20Admin/Steamcache-Monolithic-Data-Stats.sh to display lancache stats as seen below: Screenshot from 2019-05-21 17-18-32

VibroAxe commented 5 years ago

@DarrenRainey interesting idea here, how does it perform on large log files?

DarrenRainey commented 5 years ago

currently the largest file I've test was around 500MB and it took a few minutes to parse it although I will note that I am using a low power APU and running the OS of a old SD Card reader so results may vary.

I may look into improving the speed later but at the moment this works and uses tools that are usually installed by default on many distro's however if you want to go even faster you could look at the sift tool which is a faster alternative to grep.

unspec commented 4 years ago

I've tagged this for-reference and will close as no specific outstanding questions.

Feel free to reopen if there are any futher developments or additional useful info.

HeedfulCrayon commented 2 years ago

It would actually be nice to have stats like this displayed either in a webpage on the lancache, or via an API request