The process table, Loading the configuration file – Cyclades PC400 User Manual

Page 38

Advertising
background image

Cyclades-PC400

38

Appendix A - Linux

Installation Manual

The Process Table

The process table shows which processes are running and is displayed by tying ps -a. An example is given
below.

PID

TTY

STAT

TIME

COMMAND

1

?

S

0:05

init

322

?

SW

0:00

[portmap]

3361

tty11

SW

0:00

[login]

11915

pts/0

S

0:00

bash

11926

pts/0

R

0:00

ps -ax

Use the kill command to delete a process. For example, kill -9 3361 would kill the login process above.

Loading the Configuration File

This configuration file (for non-default configurations) should be loaded into the board´s memory with the com-
mand:

pc400util -p -f <text file>

The options of this command are:
pr400util -<g|p|s|S|i|-a<up|down>> [-d device] [-f <file|default>] [-t <MMDDYYYYHHMMSS|system>]

where

-d device

defines the configuration device to be used. The possible values are /dev/ttyCM0 to /dev/
ttyCM31 where /dev/ttyCM31 is a virtual console than can be accessed using Minicom
or a similar utility.

-f file

use <file> as the file argument, <default> accepts the default parameters.

-g

upload current board config. to a local file.

-p

download config. from a local file to the board.

-s

get current statistics.

-S

get current status.

-a cmd

set the device Adm UP or Down.

-t time

set date and time on the board

Advertising