'\" .\" @(#)lmstat.1m 1.2 01 Oct 1998 SMI .\" Copyright (c) 1999, Sun Microsystems, Inc. .\" All Rights Reserve.\" Copyright (c) AT&T 1997. All rights reserved. .\" @(#)lmstat.rof 1.3 5/17/96 .TH lmstat 1m "24 Sept 1998" .if n .tr \-- .SH NAME lmstat - gets statistical information on the server's shared memory. .SH SYNOPSIS .ft4 .nf lmstat [-acCfglnNrtuv] [-i file] [-o file] [-p pid] [-I inode] .sp .5 lmstat [-w pid] [-m size] [-d count] .SH DESCRIPTION The lmstat command looks through the SunLink Server's shared memory and prints out what it finds. It is most useful for debugging purposes. It can show information about clients, files, locks, counters, and ustruct free lists. .SH OPTIONS .SS -a Shows all server statistics. .SS -c Shows the client computers connected to server processes. .SS -C Shows SMB and RPC counters. .SS -f Shows information about files. .SS -g Shows the current client license limit. .SS -l Shows the locks. .SS -n Shows the counters. .SS -N Shows the functions that are never called. .SS -r Repeats. .SS -t Shows the task information. .SS -u Shows the ustruct free list. .SS "-o file" Outputs shared memory to file. .SS "-i file" Inputs shared memory to file. .SS "-p pid" Shows only data for process pid. .SS "-I inode" Shows data only for inode file. .SS "-w pid" Watches system calls for process pid. This option is not valid on all operating systems. .SS "-m size" Buffer size. Optional, used with -w. .SS "-d count" Displays count; optional, used with -w. .SS -v Displays the version of the SunLink Server. .SH EXAMPLES To show everything from the shared memory, type the following command: .sp.5 lmstat -a .sp.5 To show locks, type the following command: .sp.5 lmstat -l