Here are the different keywords that may be used to control the output format (e.g. with option -o) or to sort the selected processes with the GNU-style –sort option.

For example:

ps -eo pid,user,args –sort user

This version of ps tries to recognize most of the keywords used in other implementations of ps. The following user-defined format specifiers may contain spaces: args, cmd, comm, command, fname, ucmd, ucomm, lstart, bsdstart, start.

ps displays information about a selection of the active processes. If you want a repetitive update of the selection and the displayed information, use top(1) instead.

ps - report a snapshot of the current processes.

To see every process with a user-defined format:

ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm
ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm
ps -eopid,tt,user,fname,tmout,f,wchan

Create and starting a openvz container.

To create and start a container, run the following commands:

# vzctl create CTID –ostemplate osname
# vzctl set CTID –ipadd a.b.c.d –save
# vzctl set CTID –nameserver a.b.c.d –save
# vzctl start CTID

Here CTID is the numeric ID for the container; osname is the name of the OS template for the container, and a.b.c.d is the IP address to be assigned to the container.

Example:

# vzctl create 101 –ostemplate fedora-core-5-minimal
# vzctl set 101 –ipadd 10.1.2.3 –save
# vzctl set 101 –nameserver 10.0.2.1 –save
# vzctl start 101

vzpkg - tool for managing Virtuozzo templates

Virtuozzo EZ Template Management tool. Handles Virtuozzo templates and standalone RPM packages.

install

Install application template(s) or package(s) into a container CT ID|CT NAME. Multiple objects can be specified.

Example:

To install mysql and php application EZ template into this CT:

vzpkg install 1000 mysql php

FILES

/etc/vz/vz.conf,
/etc/vztt/vztt.conf,
/etc/vztt/url.map,
/var/log/vztt.log.

BackupPC is a high-performance, enterprise-grade system for backing up Linux, WinXX and MacOSX PCs and laptops to a server’s disk. BackupPC is highly configurable and easy to install and maintain.

The first thing to do is to install the CentOS testing repo, along with the yum-priorities plugin.

# cd /etc/yum.repos.d
# wget http://dev.centos.org/centos/5/CentOS-Testing.repo
# yum install yum-priorities

If you have RPMForge’s repo installed, you’ll want to make sure all the CentOS Base items are priority 1, RPMForge’s items priority 2, and CentOS testing repo is priority 3.

Install BackupPC

Next, install the BackupPC RPM, Apache, and mod_perl. All the Perl dependencies will be collected automatically.

# yum –enablerepo=c5-testing install backuppc httpd mod_perl

« Prev - Next »