We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I determine how much memory a unicorn worker is currently using?
The text was updated successfully, but these errors were encountered:
Currently using ps aux --sort -rss
ps aux --sort -rss
Is The rss column shows a value in kb. Is that the determining factor?
rss
Sorry, something went wrong.
ps -eo size,rss,pid,user,command --sort -size | awk '{ mv=$1/1024 ; mr=$2/1024 ; printf("%13.2f Mb (Virtual memory) | %.2f Mb (RSS) | %i pid |", mv, mr, $2) } { for ( x=4 ; x<=NF ; x++ ) { printf("%s ",$x) } print "" }' |cut -d "" -f2 | cut -d "-" -f1 | grep unicorn
@krzkrzkrz - It looks like you got your answer, can we close this issue?
No branches or pull requests
How do I determine how much memory a unicorn worker is currently using?
The text was updated successfully, but these errors were encountered: