beautypg.com

3 regconfig, 4 regcheck, Troubleshooting advanced server tools – Siemens Unix V4.0 User Manual

Page 238: How does the administrator know to which lmx.srv

background image

Troubleshooting

Advanced Server Tools

Product Manual

U7613-J-Z815-6-76

©

S

ie

m

ens

Ni

x

d

o

rf

I

n

fo

rm

a

ti

o

ns

s

y

s

te

m

e A

G

19

95

P

fad

:

D

:\

O

761

3e

6\

u76

13

e.

k

1

1

How does the administrator know to which

lmx.srv

process a client is connected? Executing

the lmstat -c command at the server prompt usually provides the answer. The system
displays output

similar

to the following:

Clients:

BANANA~X (nwnum=0, vcnum=0) on 19916
ORANGE (nwnum=0, vcnum=0) on 19916
PEAR (nwnum=0, vcnum=0) on 19988

Notice that each client name has an associated process ID number. This is the process ID
of the

lmx.srv

process that currently is serving that client. The vcnum value specifies

whether this is the client computer’s first VC or an additional one.

Being able to determine the process ID of the

lmx.srv

process that is serving a client is

particularly useful when using the UNIX system truss( ) command. This command requires
a process ID as part of its startup arguments.

11.1.3.3

regconfig

The regconfig command is used to query or change Advanced Server Registry key infor-
mation. You can use this command to change any value in the registry. (You also can use
the Windows NT Registry Editor and the AS/U Administrator to change key values.)

The regconfig command also can be used to reinitialize the Advanced Server Registry with
system defaults.

For more information about the registry, see chapter

Advanced Server Registry

.

11.1.3.4

regcheck

The regcheck command is used to check and repair the Advanced Server Registry file.
This command checks only the internal structure of the Advanced Server Registry file; it
does not check the validity of any data that may be stored in it.

If the internal structure of the registry file is found to be invalid, use the regcheck command
to make the necessary repairs.