When optimizing Turnkey ZurmoCRM within VirtualBox, I want to know how it handle session by thread and physical multi-core processor. I am also interested how hyper-threading works, too. Therefore, I need a replacement for top and the buil-in monitor in QTS.
I choose htop.
Installation
In QTS, you need to install Optware IPKG first. Then launch and search for htop for package installation. Or login to QTS and use following command to install directly:
[~] # /opt/bin/ipkg install htop
In TurnKey Linux, you need to login and use apt-get to install as below:
root@zurmo ~# apt-get install htop
Running Examples

This is htop running on QNAP TS-269L which has an Intel Atom D2701. Atom D2701 has hardware dual-core with hyper-threading. In other words, it is 4 logical threats to htop. That’s why you see 4 cores on upper left corner.
The process list is similar to top but with more fine tune features which may be enabled by F2. Because it supports mouse, you may also use a mouse to click on each item. It solves my problem by no F10 in GNOME Terminal.
You may also change process priority by first select the process than use F7 and F8 to change the priority. Much easier than using Linux top and nice commands.
Final Thoughts
I really like this nice utility which helps me to dig into the utilization of multi-core processor and learn more about Apache Multi-Processing Modules (MPMs) . Well, that’s another long story.
My friend Facebook: Francisco Alcantara suggest me to take a look at Follow-up on “Linux server monitoring tools” – Hacker News suggestions in a list by Arvik. He shares more monitor tools in Linux and Web. It’s worth reading!
Reference
- Test your ZurmoCRM with VirtualBox
- Wiki: Session (computer science)
- Wiki: Thread (computing)
- Wiki: Multi-core processor
- Wiki: Hyper-threading
- LinuxCareer.com: Learning Linux Commands: top
- QNAP: QTS
- htop – an interactive process viewer for Linux
- QNAP: Install Optware IPKG
- TurnKey Linux
- QNAP TS-269L File Transfer Performance Report
- Intel Atom Processor D2700
- Wiki: nice (Unix)
- Apache: Multi-Processing Modules (MPMs)
- Facebook: Francisco Alcantara
- Aarvik: Follow-up on “Linux server monitoring tools” – Hacker News suggestions in a list