Useful commands

You can use the following command to check what processes are running:

ps ux 

The following command can be used to check the disk quota on your shell account (Note that this does not include your mail and database quota!):

quota -s

Lighttpd log rotating

You can use cronolog to rotate your logfiles. Simply change the accesslog.filename setting in the lighttpd configuration file:

accesslog.filename         = "|/usr/bin/cronolog "+basedir+"/logs/%Y/%m/%d/access.log"

Please note that this does not compress or delete old logfiles.

A project of wservices.ch A project of wservices.ch