Professional Documents
Culture Documents
topic=/com.ibm.printers.ipmaix/com.ibm.printers.ipmaixconfigtune/ipr40m
st86.htm
df
The df command gets file system space statistics from the statfs system
call. However, when you specify the -s flag, you get the statistics
from the virtual file system (VFS) specific file system helper. Under
certain exceptional conditions, such as when a file system is being
modified while the df command is running, the statistics displayed by
the df command might not be accurate.
Note:
Some remote file systems, such as the Network File System (NFS), do not
provide all the information that the df command needs. The df command
prints blanks for statistics that the server does not provide.
df
netstat
The netstat command is a monitoring tool that displays a wide range of
network information.
netstat -p
For only one protocol
<protocol>
vmstat
Use the vmstat command to determine where the system performance
problems are. vmstat reports statistics about kernel threads, virtual
memory, disks, and CPU activity.
topas
• CPU utilization
• Network Interface Statistics
• Disk drive statistics
• Process statistics
• Event and queue statistics
• File and tty statistics
• Paging statistics
• Memory statistics
• NFS statistics
no
Note:
The no command performs no range checking. If inappropriate attribute
values are set, the system could become inoperable.
iptrace
The iptrace command can monitor more than one network interface at the
same time.
ipreport
The ipreport command formats the binary data into a readable format.
ps
Action Command
To display the
top 10 CPU ps aux | head -1 ; ps aux | sort -rn +2 | head
consuming -10
processes.
To display the
top 10 memory
consuming
processes by sz
ps -ea1f | head -1 ; ps ea1f| sort -rm +9 | head
(virtual size in
kilobytes of the
data section of
the process).
Action Command
by the C
column).
To display the
processes in ps -eak1 | sort -n +6 | head
priority order.
To display the
processes in ps -eak1 | sort -n +7
nice order
To display the
processes in CPU ps -vx | head -1 ; ps vx| grep -v PID | sort -rn
time/utilization +3 | head -10
order.
To display the
processes in
order of real
memory usage.
The RSS value is ps -vx | head -1 ; ps vx| grep -v PID | sort -rn
the size of the +6 | head -10
working segment
and the code
segment in 1
kilobyte blocks.
To display the
processes in I/O
order. PGIN
represents the
number of page ps -vx | head -1 ; ps vx| grep -v PID | sort -rn
ins caused by +4 | head -10
page faults. All
AIX I/O is
classified as
page faults.
svmon
Action Command
To show
svmon
system wide
svmon -i<interval> <count>
memory use.
To determine
which
processes use
the most real
memory. This
example svmon -uP -t 3
produces the
top three
real memory
usage
processes.
To determine
which
processes use
the most
paging space.
This example
svmon -gP -t 3
produces the
top three
processes
that use the
most paging
space.
To find out
how much
memory a WLM svmon -W
class is
using.
<number>
segments.
To find out
what files a
process or
command is
svmon -pP <PID>
using, where
<PID> is the
process ID
number.
To find out
which
segments are svmon -gS
in the paging
space.
xmperf
The xmperf program allows the user to set up data recording of numerous
performance variables and then output the files to a spreadsheet format
with time and date stamps. You can use the spread sheet for analysis.
lsof
The lsof tool is public domain software that runs on AIX. The lsof tool
lists open files for a process and can display information about any
files that are opened by processes currently running on the system. It
can also list communications opened by each process. An open file may
be a regular file, a directory, a block special file, a character
special file, an executing text reference, a library, a stream or a
network file (Internet socket, NFS file, or UNIX domain socket).
To locate the current version of lsof for the AIX version and release
you are using, search the web using the term "AIX lsof".