ultimasflores-blog1
ultimasflores-blog1
WTF just happened
3 posts
Don't wanna be here? Send us removal request.
ultimasflores-blog1 · 6 years ago
Text
A couple of small tools for memory checks
psrecord - reads CPU and real memory, makes a plot! In addition to official requirements I also had to install python-tk and do this https://stackoverflow.com/questions/37604289/tkinter-tclerror-no-display-name-and-no-display-environment-variable Eats quite a lot of CPU itself so beware. https://github.com/astrofrog/psrecord
ps_mem - utility to accurately report the core memory usage for a program. NOT per process. Output includes number of processes though. As we all know, RSS includes shared memory (even more annoyingly, total shared memory, even though the process is using only a part of it) "The shared RAM is problematic to calculate, and this script automatically selects the most accurate method available for your kernel". Fine by me. Old af but does not look abandoned. https://github.com/pixelb/ps_mem
0 notes
ultimasflores-blog1 · 6 years ago
Photo
Tumblr media Tumblr media
0 notes
ultimasflores-blog1 · 6 years ago
Text
Apparently mysql time can be different from mysql log time
Stumbled onto it when a crash manifested itself in mysq log and in server log 3 hours apart but mysql -e "SELECT NOW()" and date showed the same time
relevant SO: https://stackoverflow.com/questions/35123049/how-to-change-time-zone-of-error-log-file-of-mysql
2 notes · View notes