Cyclades PC400 Process Table, PID TTY Stat Time Command, Loading the Configuration File

Page 38

Cyclades-PC400

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 -<gpsSi-a<updown>> [-d device] [-f <filedefault>] [-t <MMDDYYYYHHMMSSsystem>]

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

Appendix A - Linux

38

Image 38
Contents Cyclades-PC400 Canadian DOC Notice Cyclades-PC400 Installation ManualFCC Warning Statement Table of Contents Appendix B Hardware Specifications What is in the BOX Upgrades of Software and ManualsStep Two Hardware InstallationStep One Step Three Step Four Step FiveSoftware Installation Software Installation Make config Make menuconfig Step TWO Board and System ConfigurationStep ONE Dspprofilebegin InterfnNbegin Label Description ISDN-PRI Profile Parameters Interface Parameters USA AT&T Pc400util -p Last or channelnumberchannelnumberchannelnumber etcPc400load Step ThreeStep Four Step Five Guided Examples for the Most Common ApplicationsLAN ISDN-BRIParameter Description Value for T1 Value for E1 Line RAS DIAL-IN Application Parameters∙∙∙ ETH0 Example 2 a LAN-to-LAN Example Using ChannelsLAN 10 Multiple LAN-TO-LAN Application Parameters ∙∙∙ Troubleshooting General TipsHardware Test Root@cyclades common# ./pc400hwtestPasses Pg0 Board ESC Previous Menu G Global E ErrorsGlobal Test DSP U19 U06 U20 U07Previous Menu G Global E Errors ESCAdministrative Utilities Passwd Users and PasswordsAppendix a Information for Users not Familiar with Linux Linux File StructureBasic File Manipulation Commands Cp filename destinationVi filename Mode What is done there How to Get ThereVi Editor Routing Table Netmask Netstat -rnNet-host Ssh The Secure Shell SessionProcess Table PID TTY Stat Time CommandLoading the Configuration File Syslog Minute hour date month day-of-week user commandGet information from the board Crond Utility59 * * * * /etc/testcron.sh Dhcp Dynamic Host Configuration Protocol ClientActive root /etc/tstcron.src Packet Filtering using ipchains Accept Deny Interface isCyclades-PC400 Installation Manual Appendix B Hardware Specifications RJ-48C Signal Pin RxTip RxRing TxTip TxRingCyclades Philippines