Troubleshooting Advanced Server Tools
Product Manual U7613-J-Z815-6-76
© Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\O7613e6\u7613e.k11
11.1.3 Tools for Debugging Server Problems
Advanced Server includes UNIX system commands that can be used to troub leshoot server
problems. These commands are executed at the Advanced Server command prompt. This
section summarizes these commands and describes the roles th ey 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 especi ally 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 serv er 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 serve r may
have nine clients with current sessions.