3 user environment, 1 lvs, 2 modules – HP XC System 3.x Software User Manual

Page 23: 3 commands, 1 lvs 1.3.2 modules 1.3.3 commands

Advertising
background image

free -m

Use the following command to display the amount of free and
used memory in megabytes:

cat /proc/partitions

Use the following command to display the disk partitions and
their sizes:

swapon -s

Use the following command to display the swap usage summary
by device:

cat /proc/pal/cpu0/cache_info
cat /proc/pal/cpu1/cache_info

Use the following commands to display the cache information;
this is not available on all systems.

1.3 User Environment

This section introduces some general information about logging in, configuring, and using the HP XC
environment.

1.3.1 LVS

The HP XC system uses the Linux Virtual Server (

LVS

) to present a single

host name

for user logins. LVS

is a highly scalable virtual server built on a system of real servers. By using LVS, the architecture of the
HP XC system is transparent to end users, and they see only a single virtual server. This eliminates the
need for users to know how the system is configured in order to successfully log in and use the system.
Any changes in the system configuration are transparent to end users. LVS also provides load balancing
across login nodes, which distributes login requests to different servers.

1.3.2 Modules

The HP XC system provides the Modules Package (not to be confused with Linux kernel modules) to
configure and modify the user environment. The Modules Package enables dynamic modification of a
user’s environment by means of modulefiles. Modulefiles provide a convenient means for users to tailor
their working environment as necessary. One of the key features of modules is to allow multiple versions
of the same software to be used in a controlled manner.

A

modulefile

contains information to configure the shell for an application. Typically, a modulefile contains

instructions that alter or set shell environment variables, such as PATH and MANPATH, to enable access to
various installed software. Many users on a system can share modulefiles, and users may have their own
collection to supplement or replace the shared modulefiles.

Modulefiles can be loaded into the your environment automatically when you log in to the system, or any
time you need to alter the environment. The HP XC system does not preload modulefiles.

See

Chapter 3 “Configuring Your Environment with Modulefiles”

for more information.

1.3.3 Commands

The HP XC user environment includes standard Linux commands, LSF commands, SLURM commands,
HP-MPI commands, and modules commands. This section provides a brief overview of these command
sets.

Linux commands

You can use standard Linux user commands and tools on the HP XC system.
Standard Linux commands are not described in this document, but you can
access Linux command descriptions in Linux documentation and manpages.
Run the Linux man command with the Linux command name to display the
corresponding manpage.

LSF commands

HP XC supports LSF-HPC and the use of

standard LSF

commands, some of

which operate differently in the HP XC environment from standard LSF behavior.
The use of LSF-HPC commands in the HP XC environment is described in

Chapter 10 “Using LSF-HPC”

, and in the HP XC lsf_diff manpage.

Information about standard LSF commands is available in Platform Computing
Corporation LSF documentation, and in the LSF manpages. For your convenience,
the HP XC Documentation CD contains XC LSF manuals from Platform
Computing. LSF manpages are available on the HP XC system.

1.3 User Environment

23

Advertising