passenger-memory-stats - root privileges

view full story

http://serverfault.com – When I run 'passenger-memory-stats' on my ubuntu server as root I get the following error : -bash: passenger-memory-stats: command not found If I run this command as a user ('deploy' in my case) I get the passenger results but I get the following warning: *** WARNING: Please run this tool as root. Otherwise the private dirty RSS of processes cannot be determined. So what I need to know is how can I get 'passenger-memory-stats' to run as root. Any pointers would be greatly appreciated. * ERROR MESSAGE * /home/deploy/.rvm/rubies/ruby-1.9.2 p290/lib/ruby/site_ruby/1.9.1/rubygems/depend (HowTos)