Category Archives: Linux / Unix

iostat: Report CPU and IO Statistics

October 14th, 2007

The Linux User’s Manual page states, “The iostat command is used for monitoring system input/output device loading by observing the time the devices are active in relation to their average transfer rates.” The page continues, “The iostat command generates reports that can be used to change system configuration to better blaance the input/output load between […]

Configuring the Mouse Scroll Wheel

May 10th, 2007

Having packed my stuff just in case the Griffith Park Fire of ’07 drew closer to home, an opportunitity was created to rearrange my workspace. Rearranging my computers has allowed me to connect a keyboard and mouse directly to one of my principle development machines. I have been interfacing with the machine through VNC up […]

Chrooting SSH/SFTP

March 12th, 2007

Brandon Hutchinson provides a concise howto for chrooting SSH. For recent distributions of Red Hat Enterprise Linux (like CentOS), the following may also be needed in addition to Hutchinson’s Fedora Core procedures: $ cp /lib/ /chrootedpath/lib/. $ chmod 666 /chrootedpath/dev/null $ chmod 666 /chrootedpath/dev/zero Running ldd on the sshd binary executable will display the executable’s […]

chkconfig: Updates and Queries Runlevel Information for System Services

November 21st, 2006

The 4th Berkeley Distribution manual page states, “chkconfig provides a simple command-line tool for maintaining the /etc/rc[0-6].d directory hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in those directories.”

ldd: Print Shared Library Dependencies

October 23rd, 2006

The Linux Programmer’s Manual states, “ldd prints the shared libraries required by each program or shared library specified on the command line.” This tool is useful when setting up a chrooted shell environment. It is also useful when creating custom boot CDs, which may include programs that dynamically link to shared libraries.