3 tools for debugging server problems, 1 lmshell, 2 lmstat – Siemens Unix V4.0 User Manual

Page 237: Troubleshooting advanced server tools, Asx status

Advertising
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

11.1.3

Tools for Debugging Server Problems

Advanced Server includes UNIX system commands that can be used to troubleshoot server
problems. These commands are executed at the Advanced Server command prompt. This
section summarizes these commands and describes the roles they can play in trouble-
shooting a server.

For more information about each command, type man

command

at the Advanced Server

command prompt.

11.1.3.1

lmshell

The lmshell command is useful for emulating an MS-DOS client session when you do not
have access to an actual MS-DOS client. This command is especially useful when trouble-
shooting a connectivity problem between a client and server. Using the lmshell command,
you can mimic a client logon and resource linking by executing the net logon and net use
commands in

lmshell

at the Advanced Server command prompt.

11.1.3.2

lmstat

The lmstat command interrogates the server’s shared memory image to gather a variety of
data about the current state of the server. This command is especially useful when you want
to determine which server process a client session is on.

Advanced Server is composed of a set of cooperative processes. When the server is
running, enter the following command:

asx status

Executing this command generates a display

similar

to the following:

AS/X / NetBIOS processes:
UID PID PPID C STIME TTY TIME CMD
root 19183 1 0 15:17:09 ? 0:00 /var/opt/lanman/bin/lmx.ep
root 19808 1 0 15:17:09 ? 0:44 ./lmx.wins
root 19957 1 0 15:17:16 ? 0:00 lmx.extd
root 19787 1 0 15:17:08 ? 0:00 nbrfcdaemon -f20 -12
root 19953 1 0 15:17:16 ? 0:01 lmx.browser
root 19916 19836 0 15:17:14 ? 0:04 lmx.srv -s 1
root 19988 19836 0 15:17:20 ? 0:04 lmx.srv -s 2
root 19945 1 0 15:17:16 ? 0:06 lmx.dmn
root 19949 1 0 15:17:16 ? 0:06 lmx.alerter
root 19836 1 0 15:17:11 ? 0:01 lmx.ctrl

In this example, there are two

lmx.srv

server processes (19916 and 19988). The server may

have nine clients with current sessions.

Advertising