Archive for March, 2009
How to find memory usage by process?
A simple task one thinks, right?
Well, just recently I needed to find the memory usage for a process and full of confidence, opening a console and start typing ps -……. Damn, what was it again. Let’s google it. Hmm, first page and … nada.
Keep in mind, I did not want some fancy utility, just a simple command at the terminal, that’s it. To spare you the time digging thru the man pages, here it is. You basically have to construct your own list of parameters with the “-o” switch.
32-bit versus 64-bit, which one should I choose?
A common question that pops up from time to time is whether someone who has a 64-bit CPU (such as an AMD64 or an Intel EM64T) should install a 64-bit or 32-bit version of the preferred OS. Since these processors are capable of running either one at full native speeds, what are the advantages and disadvantages to both? 64-bit just sounds cool and faster, but we all heard about headaches installing the OS, drivers and software. Are they still valid or a thing of the past?
Install Ubuntu 9.04 / 8.10 without CD or USB
I rarely do upgrades and try to avoid them whenever possible, instead do always fresh installs as I like to do house-cleaning when upgrading to a new version of OS. As I have a separate /home partition, this doesn’t affect any of my settings and only takes 1-2 hours (less than one hour on a high speed Internet connection), which is comparable to the upgrade option from within 7.xx.
What is UNetbootin?
UNetbootin creates a boot option in GRUB or the Windows bootloader that will download the installation files directly over the Internet and starts the installation. I find this very attractive since I don’t have to download or burn any CD’s. It works from within Windows and Linux and a variety of distro’s can be installed this way besides Ubuntu. The process is more than ideal with the new generation of netbooks, like the Dell mini, Asus EEE just to name a few, which don’t have optical drives.
Mount Remote Folder Via SSH Using SSHFS
If you do any kind of web or application development, then you’re used to working with remote servers and systems. You work locally, create test cases and do some kind of qa before deploying to the live system. But what if your qa / test system is also remotely? Wouldn’t it be nice if you could just work as if your files were local and have changes sync automatically? Mounting a remote folder using sshfs makes it possible. (more…)
Install Subversion on 1and1 Hosting Provider
There is just no better solution than having your source code available to you over the internet, when working on several projects at different location. I am using and1 as my hosting provider, and it I could have my repository for all source code there as well, I could work anywhere and have access to the latest code, check history, compare different versions and so on.Here is the outline that I have gone thru in the quest of setting up Subversion hosted on 1and1:
(more…)