272 reputation
bio website goingautonomous.com
location Campinas, Brazil
age 31
visits member for 5 years, 8 months
seen Oct 22 '14 at 23:11

Web developer going the way of autonomous vehicles.

comment Running a binary executable as an auto-starting service on Gentoo
My problem was that I didn't have the init script to run rc-update against.
comment easy_install'ing under different Python version
Weirdly enough, there are scripts for easy_install-2.6 and easy_install-3.1, but none for 2.5, although it's installed (Gentoo). Only changing the shebang didn't work, because there's a from pkg_resources import load_entry_point and it gives me an ImportError: No module named pkg_resources. The script uses distribute-0.6.4 (pypi.python.org/pypi/distribute), but I don't know how to go from here.
comment Monitor ssh on non-default port with Nagios
It worked! In my case it was the local check_ssh in /etc/nagios/objects/commands.cfg. Thanks for your help :)
comment How do I log CPU usage per process?
Yeah I know, but I'd like to have that logged so I can see the history later. When the CPU spikes, the machine becomes unresponsive, so I can't log in and run top to see who's the culprit. I want to check back later and see which process did it.