Posted by joseph on June 11, 2010 ·
Debian uses a Sys-V like init system for executing commands when the system runlevel changes – for example at bootup and shutdown time. Its startup files are stored in /etc/init.d/ and symbolic linked within the /etc/rcX.d/ directories. Debian Linux comes with different utilities to manage these [...]
Posted by joseph on April 23, 2010 ·
Is there any easy ways to batch rename files in Linux? A common requirement is that the web developers may ask you to help rename all *.html files to *.htm, how can we do that?
Posted by joseph on January 6, 2010 ·
Suppose you made a mistake on the Vserver name when creating it. After finished the installation, you might want to rename your Vserver. This can be accomplished by renaming the config directory and the root for the vserver in question, then modifying some symlinks to match.
Posted by joseph on October 30, 2009 ·
As indicated in title, this request is probably very common for sysadmins.
For example, when a Java environment is ready, we need to make sure that JAVA_HOME is globally available for some system accounts, so that they can restart java instance smoothly.
Posted by joseph on October 25, 2009 ·
How we can limit the CPU usage of a sepcified process with the CPUlimit utility?
Cpulimit is a simple program that attempts to limit the CPU usage of a process. It’s expressed in percentage, not in cpu time.
This is useful to control batch jobs, when you don’t want them to eat too much CPU [...]