Platinum Partner

Bash Process Status For Ruby

This is nothing ground-breaking, I'm just tired of delving into MAN every time I want to get exact information about my ruby (or any other) processes... so here's a simple ps that gets the process' (in this case ruby, but easily subsitutable by changing the grep) owner,pid,real memory size (in 1024 byte chunks), cpu, memory and full command name (in that order).


ps -er -o "user,pid,rss,%cpu,%mem,command" | grep ruby
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}