
442
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Sample output with -f, displaying information about the filesystem:
stat -f /
File: "/"
ID: 0 0 Namelen: 255 Type: ext2/ext3
Blocks: Total: 2612475 Free: 1869472 Available:
1736735 Size: 4096
Inodes: Total: 1329696 Free: 1150253
statd
rpc.statd [options]
System administration command. The NFS status server, statd,
reports server status to clients like the rup command.
Options
-d Debugging mode; log verbose information to standard error.
-F Run statd in the foreground.
-n hostname, --name hostname
Specify a name to use for the local hostname. By default, this
is read using the gethostname function.
-o port, --outgoing-port port
Specify the port that statd should use for its outgoing requests
to other servers. When not specified, a port is assigned by
portmap.
-p port, --port port
Specify the incoming port that statd should listen on. When
not specified, a port is assigned by portmap.
-P directory, --state-directory-path directory
Store state information in directory instead of the default, /var/
lib/nfs.
-V Print version information, then exit.
-? Print help message, then exit.
strace
strace [options] command [arguments]
Trace the system calls and signals for command with optional argu-
ments. strace shows you how data is passed between the program
and the kernel. With