To get the parent(s) of a pid, run the following command, where “123” equals the child pid: ps -o ppid=123
Category: Ubuntu
Ubuntu – Monitor current memory usage from command line
To watch your current memory usage in real time, run the following command: watch -n 5 free -m
Find command associated with PID (process id)
To find the command / more information associated with a specific process id (PID), do the following: cat /proc/[pid]/cmdline
Ubuntu kill thunderbird process
To kill an invisible thunderbird process, you can do the following: killall thunderbird
Sublime Text 3 – Ubuntu – Package Control installation
If you’re running into the following error when attempting to install “Package Control’ for Sublime Text: urllib.error.URLError: Then you’ll need to install manually. The instructions suggest that you “Browse Packages”, then navigate to the “installed packages” directory. However, if you’re like me, the “Installed Packages” directory is not up the directory tree, it is down. […]
Broadcom Wireless and Ubuntu
If you’ve recently built a system with a broadcom wireless configuration with Ubuntu and noticed your wireless networks are nowhere to be found, then you’ll need to update your drivers (specifically adding wl). This page will probably help: http://www.broadcom.com/docs/linux_sta/README.txt It is a pain, but once it is configured it generally works.
Install FFMPEG on Ubuntu
If you run into the following error when installing FFmpeg on Ubuntu Package ffmpeg is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package ‘ffmpeg’ has no installation candidate You can do the following to […]
Ubuntu and Amazon on Demand – Make it Work
Running into this error when trying to watch Amazon on Demand on Ubuntu? An error occurred and your player could not be updated. This is likely because your Flash Player or Browser needs to be updated. This update is required to play back this video. You’re not alone. To get Amazon on Demand to work […]
Rails slow on Ubuntu Virtualbox instance
I ran into an issue where a Rails 3.1 application running on Ubuntu 12.04 in a VirtualBox instance (development) was running ridiculously slow. Sometimes, before the server would register a request, it would take >5 seconds, then another 5 seconds just to load a simple view. Obviously, this is an unacceptable amount of time when […]