Overview
These commands allow users to check the system information and status of each OS (LINUX, SUN, IBM, HP).
This document describes how to check the usage of CPU, MEMORY, SYSTEM, DISK, and NETWORK for each OS.
Version
All the Altibase HDB versions
LINUX
1. CPU
CPU information: cat /proc/cpuinfo
processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
stepping : 6
cpu MHz : 1998.000
cache size : 6144 KB
physical id : 1
siblings : 4
core id : 7
cpu cores : 4
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm pni monitor ds_cpl est tm2 cx16 xtpr lahf_lm
bogomips : 4655.04
clflush size : 64
cache_alignment : 64
address sizes : 38 bits physical, 48 bits virtual
power management:
CPU usage: top
top - 11:17:14 up 52 days, 17:52, 7 users, load average: 1.53, 1.92, 2.79
Tasks: 199 total, 1 running, 198 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.2% us, 0.1% sy, 0.0% ni, 98.4% id, 0.3% wa, 0.0% hi, 0.0% si
Mem: 16423300k total, 16359136k used, 64164k free, 140932k buffers
Swap: 32764556k total, 13622900k used, 19141656k free, 7462796k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11330 oracle 17 0 3306m 202m 172m S 9.8 1.3 871:04.91 oracle
1 root 16 0 4772 468 436 S 0.0 0.0 0:14.96 init
2 root RT 0 0 0 0 S 0.0 0.0 0:03.38 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.56 ksoftirqd/0
4 root RT 0 0 0 0 S 0.0 0.0 0:03.97 migration/1
5 root 34 19 0 0 0 S 0.0 0.0 0:00.65 ksoftirqd/1
6 root RT 0 0 0 0 S 0.0 0.0 0:05.21 migration/2
7 root 34 19 0 0 0 S 0.0 0.0 0:00.78 ksoftirqd/2
8 root RT 0 0 0 0 S 0.0 0.0 0:04.51 migration/3
9 root 34 19 0 0 0 S 0.0 0.0 0:00.67 ksoftirqd/3
10 root RT 0 0 0 0 S 0.0 0.0 0:04.34 migration/4
11 root 34 19 0 0 0 S 0.0 0.0 0:00.75 ksoftirqd/4
12 root RT 0 0 0 0 S 0.0 0.0 0:05.53 migration/5
13 root 34 19 0 0 0 S 0.0 0.0 0:01.05 ksoftirqd/5
14 root RT 0 0 0 0 S 0.0 0.0 0:01.66 migration/6
15 root 34 19 0 0 0 S 0.0 0.0 0:00.31 ksoftirqd/6
16 root RT 0 0 0 0 S 0.0 0.0 0:01.44 migration/7
2. MEMORY
Memory information: cat /proc/meminfo
MemTotal: 16423300 kB
MemFree: 64364 kB
Buffers: 140968 kB
Cached: 7462760 kB
SwapCached: 108220 kB
Active: 15005632 kB
Inactive: 941848 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 16423300 kB
LowFree: 64364 kB
SwapTotal: 32764556 kB
SwapFree: 19141656 kB
Dirty: 176 kB
Writeback: 4 kB
Mapped: 12529460 kB
Slab: 239152 kB
CommitLimit: 40976204 kB
Committed_AS: 53078092 kB
PageTables: 116808 kB
VmallocTotal: 536870911 kB
VmallocUsed: 278848 kB
VmallocChunk: 536591863 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB
Process Memory : ps -elf, ps -aux
$$> ps -elf F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD 4 S root 1 0 0 76 0 - 1193 109952 Dec17 ? 00:00:01 init [5] 1 S root 2 1 0 -40 - - 0 migrat Dec17 ? 00:00:00 [migration/0] 1 S root 3 1 0 94 19 - 0 ksofti Dec17 ? 00:00:00 [ksoftirqd/0] 1 S root 4 1 0 -40 - - 0 migrat Dec17 ? 00:00:00 [migration/1] 1 S root 5 1 0 94 19 - 0 ksofti Dec17 ? 00:00:00 [ksoftirqd/1] 1 S root 6 1 0 -40 - - 0 migrat Dec17 ? 00:00:01 [migration/2] 1 S root 7 1 0 94 19 - 0 ksofti Dec17 ? 00:00:00 [ksoftirqd/2] SZ : approximate amount of swap space that would be required if the process were to dirty all writable pages and then be swapped out. This number is very rough!
$> ps aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 4772 564 ? S Dec17 0:01 init [5] root 2 0.0 0.0 0 0 ? S Dec17 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN Dec17 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S Dec17 0:00 [migration/1] root 5 0.0 0.0 0 0 ? SN Dec17 0:00 [ksoftirqd/1] root 6 0.0 0.0 0 0 ? S Dec17 0:01 [migration/2] RSS : resident set size, the non-swapped physical memory that a task has used (in kiloBytes). VSZ : virtual memory usage of entire process.
System Memory : free, vmstat
$> free total used free shared buffers cached Mem: 16423300 15075408 1347892 0 227604 8810452 -/+ buffers/cache: 6037352 10385948 Swap: 32764556 928104 31836452
$> vmstat 1 5 procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 928104 1348148 227612 8810444 0 0 3 26 1 5 1 0 99 0 0 0 928104 1348148 227612 8810444 0 0 0 156 1047 34212 0 0 100 0 0 0 928104 1348148 227612 8810444 0 0 0 60 1012 34163 2 0 98 0 0 0 928104 1348148 227612 8810444 0 0 0 0 1024 34142 0 0 100 0 0 0 928104 1348148 227612 8810444 0 0 0 20 1014 34142 0 0 100 0 swpd: the amount of virtual memory used. free: the amount of idle memory. buff: the amount of memory used as buffers. cache: the amount of memory used as cache.
3. SYSTEM
LOG : /var/log/messages
$> cat /var/log/messages
Dec 17 20:24:54 dev-si-db-l1 kernel: altibase invoked oom-killer: gfp_mask=0xd0, order=0, oom_adj=0, oom_score_adj=0
Dec 17 20:24:54 dev-si-db-l1 kernel: altibase cpuset=/ mems_allowed=0
Dec 17 20:24:54 dev-si-db-l1 kernel: Pid: 15703, comm: altibase Not tainted 2.6.32-504.30.3.el6.x86_64 #1
Dec 17 20:24:54 dev-si-db-l1 kernel: Call Trace:
Dec 17 20:24:54 dev-si-db-l1 kernel: [<ffffffff810d4241>] ? cpuset_print_task_mems_allowed+0x91/0xb0
Dec 17 20:24:54 dev-si-db-l1 kernel: [<ffffffff81127500>] ? dump_header+0x90/0x1b0
Dec 17 20:24:54 dev-si-db-l1 kernel: [<ffffffff81127982>] ? oom_kill_process+0x82/0x2a0
Dec 17 20:24:54 dev-si-db-l1 kernel: [<ffffffff811278c1>] ? select_bad_process+0xe1/0x120
Dec 17 20:24:54 dev-si-db-l1 kernel: [<ffffffff81127dc0>] ? out_of_memory+0x220/0x3c0
Dec 17 20:24:54 dev-si-db-l1 kernel: [<ffffffff811346ff>] ? __alloc_pages_nodemask+0x89f/0x8d0
Dec 17 20:24:54 dev-si-db-l1 kernel: [<ffffffff810075dd>] ? xen_force_evtchn_callback+0xd/0x10
Dec 17 20:24:54 dev-si-db-l1 kernel: [<ffffffff8116cb8a>] ? alloc_pages_current+0xaa/0x110
Dec 17 20:24:54 dev-si-db-l1 kernel: [<ffffffff81131afe>] ? __get_free_pages+0xe/0x50
OS Version : uname -a
$> uname -a
Linux as48-x64 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:33:05 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Patch No: rpm -qa | grep -i kernel
$> rpm -qa | grep -i kernel
kernel-2.6.9-89.EL
kernel-largesmp-devel-2.6.9-89.EL
kernel-utils-2.4-18.el4
kernel-smp-devel-2.6.9-89.EL
kernel-smp-2.6.9-89.EL
kernel-devel-2.6.9-89.EL
4. DISK : iogstat 3 1
$> iostat 3 1 avg-cpu: %user %nice %sys %iowait %idle 0.70 0.00 0.09 0.03 99.18 Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn sda 1.08 4.70 19.46 4417994 18312224 sda1 0.56 0.43 10.33 403074 9717672 sda2 0.01 0.13 2.05 120828 1930960 sda3 0.24 2.02 2.75 1905302 2586944 sda4 0.00 0.00 0.00 2 0 sda5 0.00 0.00 0.00 3646 16 sda6 0.27 2.11 4.33 1984142 4076632 sdb 4.36 43.73 401.08 41142700 377382768 sdb1 2.27 29.27 297.20 27540998 279645952 sdb2 2.09 14.45 103.87 13600254 97736816 tps Indicate the number of transfers per second that were issued to the device. A transfer is an I/O request to the device. Multiple logical requests can be combined into a single I/O request to the device. A transfer is of indeterminate size. Blk_read/s Indicate the amount of data read from the drive expressed in a number of blocks per second. Blocks are equivalent to sectors with 2.4 kernels and newer and therefore have a size of 512 bytes. With older kernels, a block is of indeterminate size. Blk_wrtn/s Indicate the amount of data written to the drive expressed in a number of blocks per second. Blk_read The total number of blocks read. Blk_wrtn The total number of blocks written.
5. NETWORK : netstat, inconfig
$> netstat Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 localhost:50273 localhost:20416 ESTABLISHED tcp 0 0 localhost:20416 localhost:50273 ESTABLISHED tcp 0 0 localhost:ftp-data 192.168.6.18:62643 TIME_WAIT tcp 0 0 localhost:ftp-data 192.168.6.18:62640 TIME_WAIT Proto The protocol (tcp, udp, raw) used by the socket. Recv-Q The count of bytes not copied by the user program connected to this socket. Send-Q The count of bytes not acknowledged by the remote host. Local Address Address and port number of the local end of the socket. Unless the --numeric (-n) option is specified, the socket address is resolved to its canonical host name (FQDN), and the port number is translated into the corresponding service name. Foreign Address Address and port number of the remote end of the socket. Analogous to "Local Address." State The state of the socket. Since there are no states in raw mode and usually no states used in UDP, this column may be left blank.
$> ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:xxx.xxx.xxx.xxx
inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:714387 errors:0 dropped:0 overruns:0 frame:0
TX packets:226776 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:548428396 (523.0 MiB) TX bytes:21560491 (20.5 MiB)
SUN System
1. CPU
CPU information : psrinfo -v
$psrinfo -v
Status of virtual processor 0 as of: 12/21/2015 14:16:52
on-line since 09/28/2014 16:08:15.
The i386 processor operates at 1800 MHz,
and has an i387 compatible floating point processor.
Status of virtual processor 1 as of: 12/21/2015 14:16:52
on-line since 09/28/2014 16:08:21.
The i386 processor operates at 1800 MHz,
and has an i387 compatible floating point processor.
CPU usage: top
$> top
load averages: 0.05, 0.04, 0.04
71 processes: 70 sleeping, 1 on cpu
CPU states: 99.0% idle, 0.5% user, 0.5% kernel, 0.0% iowait, 0.0% swap
Memory: 2047M real, 63M free, 3041M swap in use, 3435M swap free
PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
836 jeehb 21 59 0 608M 111M sleep 45.4H 0.23% altibase
28773 hcdcool 19 59 0 1177M 472M sleep 26.8H 0.16% altibase
4649 gom 17 59 0 887M 722M sleep 119:00 0.12% altibase
6755 wsalti 1 59 0 3152K 1664K cpu/1 0:00 0.03% top
461 root 1 59 0 8896K 2128K sleep 146:37 0.01% Xorg
29507 a533_32b 16 59 0 132M 42M sleep 28:40 0.01% java
2. MEMORY
Memory information : prtconf
$> prtconf
System Configuration: Sun Microsystems i86pc
Memory size: 2048 Megabytes
System Peripherals (Software Nodes):
i86pc
scsi_vhci, instance #0
isa, instance #0
motherboard (driver not attached)
i8042, instance #0
mouse, instance #0
keyboard, instance #0
asy, instance #0 (driver not attached)
fdc, instance #0
fd, instance #0
fd, instance #1 (driver not attached)
pci, instance #0
pci1022,7460, instance #0
pci17c2,10, instance #0
pci17c2,10, instance #1
display, instance #0
pci1022,7468 (driver not attached)
pci-ide, instance #0
ide, instance #0 (driver not attached)
ide, instance #1
sd, instance #0
st, instance #7 (driver not attached)
pci1022,7450, instance #1
pci17c2,10, instance #0
pci17c2,10, instance #1
pci17c2,10, instance #0
sd, instance #1
sd, instance #2 (driver not attached)
sd, instance #3 (driver not attached)
sd, instance #4 (driver not attached)
sd, instance #5 (driver not attached)
sd, instance #6 (driver not attached)
sd, instance #7 (driver not attached)
sd, instance #8 (driver not attached)
sd, instance #9 (driver not attached)
sd, instance #10 (driver not attached)
sd, instance #11 (driver not attached)
sd, instance #12 (driver not attached)
sd, instance #13 (driver not attached)
sd, instance #14 (driver not attached)
sd, instance #15 (driver not attached)
sd, instance #16 (driver not attached)
st, instance #0 (driver not attached)
st, instance #1 (driver not attached)
st, instance #2 (driver not attached)
st, instance #3 (driver not attached)
st, instance #4 (driver not attached)
st, instance #5 (driver not attached)
st, instance #6 (driver not attached)
pci17c2,10 (driver not attached)
pci1022,7450 (driver not attached)
pci17c2,10 (driver not attached)
pci1022,1100 (driver not attached)
pci1022,1101 (driver not attached)
pci1022,1102 (driver not attached)
pci1022,1103 (driver not attached)
pci1022,1100 (driver not attached)
pci1022,1101 (driver not attached)
pci1022,1102 (driver not attached)
pci1022,1103 (driver not attached)
pseudo, instance #0
options, instance #0
xsvc, instance #0
objmgr, instance #0 (driver not attached)
used-resources (driver not attached)
cpus (driver not attached)
cpu, instance #0 (driver not attached)
cpu, instance #1 (driver not attached)
Process Memory : ps -elf
$> ps -elf F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD 1 T root 0 0 0 0 SY ? 0 Sep 28 ? 1:48 sched 0 S root 1 0 0 40 20 ? 501 ? Sep 28 ? 0:53 /sbin/init 1 S root 2 0 0 0 SY ? 0 ? Sep 28 ? 0:01 pageout 1 S root 3 0 0 0 SY ? 0 ? Sep 28 ? 2647:44 fsflush 0 S root 116 1 0 40 20 ? 634 ? Sep 28 ? 0:00 /usr/lib/picl/picld SZ : The total size of the process in virtual memory, including all mapped files and devices, in pages.
System Memory : prtmem, vmstat
$> prtmem
Total Physical Memory: 384 Megabytes
Buffer Cache Memory: 112 Megabytes
Kernel Memory: 63 Megabytes
Free Memory: 17 Megabytes
$> vmstat 1 5
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr f0 s0 s1 -- in sy cs us sy id
0 0 0 4477940 391772 3 9 0 0 0 0 0 0 0 0 0 913 476 999 0 0 99
0 0 0 3519540 56048 6 52 0 0 0 0 0 0 0 0 0 1044 667 1247 0 0 100
0 0 0 3519540 56048 0 0 0 0 0 0 0 0 0 0 0 1016 647 1221 0 0 99
0 0 0 3519540 56048 0 0 0 0 0 0 0 0 0 0 0 996 629 1218 1 0 99
0 0 0 3519540 56048 0 0 0 0 0 0 0 0 0 0 0 1008 636 1210 0 0 100
memory : Report on usage of virtual and real memory.
swap : available swap space (Kbytes)
free : size of the free list (Kbytes)
3. SYSTEM
LOG : /var/adm/messages, dmesg
$> dmesg
Mon Dec 21 15:44:48 KST 2015
May 27 10:04:26 v20z su: [ID 810491 auth.crit] 'su root' failed for neonojh on /dev/pts/3
Jun 26 13:37:41 v20z sshd[7245]: [ID 800047 auth.crit] fatal: Timeout before authentication for 192.168.16.2
Nov 17 10:03:24 v20z ftpd[27341]: [ID 960292 daemon.notice] FTP LOGIN REFUSED (shell not in /etc/shells) FROM 192.168.6.43 [192.168.6.43], gom
Nov 23 16:02:50 v20z ufs: [ID 845546 kern.notice] NOTICE: alloc: /home: file system full
> uname -a
SunOS v20z 5.10 Generic_Patch i86pc i386 i86pc
Patch No : showrev -a
$> showrev -a
Hostname: v20z
Hostid: 2a9b5027
Release: 5.10
Kernel architecture: i86pc
Application architecture: i386
Hardware provider:
Domain:
Kernel version: SunOS 5.10 Generic_Patch
OpenWindows version:
Solaris X11 Version 6.6.2 5 June 2008
4. DISK : iostat 3 1
$> iostat 3 5 tty sd0 sd1 nfs1 cpu tin tout kps tps serv kps tps serv kps tps serv us sy wt id 0 1 0 0 0 2 0 15 0 0 0 0 0 0 99 0 65 0 0 0 0 0 0 0 0 0 0 0 0 99 0 22 0 0 0 0 0 0 0 0 0 0 0 0 99 0 22 0 0 0 0 0 0 0 0 0 1 0 0 99 0 22 0 0 0 1 0 0 0 0 0 0 1 0 98
5. NETWORK : netstat, ifconfig
$> netstat
TCP: IPv4
Local Address Remote Address Swind Send-Q Rwind Recv-Q State
-------------------- -------------------- ----- ------ ----- ------ -------
v20z.telnet 192.168.6.26.4409 65540 1 49640 0 ESTABLISHED
v20z.ssh as30-x32.41555 131072 0 49232 0 ESTABLISHED
v20z.ssh as30-x32.41577 131072 0 49232 0 ESTABLISHED
v20z.ssh as30-x32.41601 131072 0 49232 0 ESTABLISHED
v20z.ssh as30-x32.58504 131072 0 49232 0 ESTABLISHED
v20z.ssh as30-x32.58506 127528 0 49232 0 ESTABLISHED
v20z.ssh as30-x32.58512 131072 0 49232 0 ESTABLISHED
$> ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet xxx.xxx.xxx.xxx netmask ff000000 bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet xxx.xxx.xxx.xxx netmask ffffff00 broadcast 192.168.1.255
AIX
1. CPU
CPU information : sar -P ALL 1 3
17:32:05 CPU %user %nice %system %iowait %steal %idle
17:32:06 all 0.08 0.00 0.21 0.00 0.00 99.71
17:32:06 0 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 1 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 2 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 3 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 4 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 5 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 6 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 7 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 8 0.00 0.00 1.00 0.00 0.00 99.00
17:32:06 9 1.00 0.00 0.00 0.00 0.00 99.00
17:32:06 10 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 11 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 12 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 13 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 14 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 15 0.00 0.00 1.00 0.00 0.00 99.00
17:32:06 16 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 17 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 18 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 19 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 20 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 21 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 22 0.00 0.00 0.00 0.00 0.00 100.00
17:32:06 23 0.00 0.00 1.01 0.00 0.00 98.99
%idle : Reports the percentage of time the processor or processors were idle with no outstanding disk I/O requests.
%sys : Reports the percentage of time the processor or processors spent in execution at the system (or kernel) level.
%usr : Reports the percentage of time the processor or processors spent in execution at the user (or application) level.
%wio : Reports the percentage of time the processor(s) were idle during which the system had outstanding disk/NFS I/O request(s).
CPU usage : topas
Topas Monitor for host: aix53-t9 EVENTS/QUEUES FILE/TTY Tue Dec 22 13:54:01 2015 Interval: 2 Cswitch 40310 Readch 31765 Syscall 32027 Writech 712.6K CPU User% Kern% Wait% Idle% Reads 20 Rawin 0 ALL 20.6 16.3 1.4 61.7 Writes 7 Ttyout 825 Forks 0 Igets 0 Network KBPS I-Pack O-Pack KB-In KB-Out Execs 0 Namei 204 en0 1.0 3.5 1.5 0.2 0.9 Runqueue 0.0 Dirblk 0 lo0 0.0 0.0 0.0 0.0 0.0 Waitqueue 0.0 Disk Busy% KBPS TPS KB-Read KB-Writ PAGING MEMORY hdisk1 5.0 2.8K 10.1 0.0 2.8K Faults 89 Real,MB 7936 hdisk0 0.0 0.0 0.0 0.0 0.0 Steals 0 % Comp 90.0 PgspIn 0 % Noncomp 9.9 Name PID CPU% PgSp Owner PgspOut 0 % Client 9.9 altibase 700654 6.1 663.3 hanulcat PageIn 0 altibase 737490 5.8 377.4 durusari PageOut 177 PAGING SPACE java 786586 5.1 57.7 wsalti3 Sios 177 Size,MB 16896 altibase 508126 4.1 780.6 jeehb % Used 61.1 altibase 549024 3.1 396.0 dongjun NFS (calls/sec) % Free 39.9 altibase 794804 3.1 1808.6 wsalti3 ServerV2 0 altibase 577762 2.3 448.4 high7777 ClientV2 0 Press: altibase 696356 1.4 1486.1 hyun1 ServerV3 0 "h" for help altibase 282794 1.0 411.8 newhyuki ClientV3 0 "q" to quit altibase 532612 1.0 276.5 cheol altibase 467112 0.9 411.2 gom altibase 553176 0.8 258.0 taeseong altibase 417846 0.8 1022.7 durusari altibase 372888 0.7 309.9 hyundong altibase 438348 0.6 284.7 eheejung topas 389362 0.3 1.4 wsalti3 java 159854 0.1 20.3 root i getty 319520 0.0 0.5 root ksh 802892 0.0 0.5 wsalti3 telnetd 675996 0.0 0.6 root
2. MEMORY
$> lsconf
'System Model: IBM,9115-505
Machine Serial Number: 064434A
Processor Type: PowerPC_POWER5
Processor Implementation Mode: POWER 5
Processor Version: PV_5_3
Number Of Processors: 1
Processor Clock Speed: 1898 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 1 06-4434A
Memory Size: 7936 MB
Good Memory Size: 7936 MB
Platform Firmware level: Not Available
Firmware Version: IBM,SF240_338
Console Login: enable
Auto Restart: true
Full Core: false
Process Memory : ps aux
$> ps aux USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND root 8196 19.5 0.0 384 384 - A Apr 14 141722:02 wait root 53274 18.6 0.0 384 384 - A Apr 14 134782:46 wait hanulcat 700654 3.5 1.0 686892 42184 - A Oct 23 6062:39 /home/ts2_team/h durusari 737490 2.8 5.0 394120 389104 - A Dec 16 500:43 /home/ts2_team/d wsalti3 786586 1.9 0.0 59168 16052 - A Sep 17 5331:05 /usr/java5/bin/j SZ: The virtual size of the data section of the process (in 1KB units). RSS : The real-memory (resident set) size of the process (in 1KB units)
System Memory : vmstat
$>vmstat 1 System configuration: lcpu=2 mem=7936MB kthr memory page faults cpu ----- ----------- ------------------------ ------------ ----------- r b avm fre re pi po fr sr cy in sy cs us sy id wa 15 0 4186138 3380 0 0 0 0 0 0 13 31222 40260 21 16 63 0 3 0 4186139 3379 0 0 0 0 0 0 7 30787 39611 21 16 63 0 1 0 4186140 3378 0 0 0 0 0 0 9 30636 39011 22 16 62 0 13 0 4186136 3382 0 0 0 0 0 0 17 31331 40298 21 16 62 0 16 0 4186136 3382 0 0 0 0 0 0 7 31859 40632 22 16 62 0 Memory: information about the usage of virtual and real memory. Virtual pages are considered active if they have been accessed. A page is 4096 bytes. avm : Active virtual pages. fre : Size of the free list.
3. SYSTEM
LOG : errpt -a
$> errpt -a
---------------------------------------------------------------------------
LABEL: J2_FS_FULL
IDENTIFIER: F7FA22C9
Date/Time: Wed Dec 16 14:46:15 KORST 2015
Sequence Number: 494034
Machine Id: 0004434AD300
Node Id: aix53-t9
Class: O
Type: INFO
Resource Name: SYSJ2
Description
UNABLE TO ALLOCATE SPACE IN FILE SYSTEM
Probable Causes
FILE SYSTEM FULL
Recommended Actions
INCREASE THE SIZE OF THE ASSOCIATED FILE SYSTEM
REMOVE UNNECESSARY DATA FROM FILE SYSTEM
USE FUSER UTILITY TO LOCATE UNLINKED FILES STILL REFERENCED
Detail Data
JFS2 MAJOR/MINOR DEVICE NUMBER
002E 0001
FILE SYSTEM DEVICE AND MOUNT POINT
/dev/home1, /home1
OS Version : oslevel -r
Patch No : lslpp -L|grep motif
$>lslpp -L | grep motif
X11.adt.motif 5.3.9.0 C F AIXwindows Application
X11.motif.lib 5.3.9.0 C F AIXwindows Motif Libraries
X11.motif.mwm 5.3.9.0 C F AIXwindows Motif Window
X11.msg.en_US.motif.lib 5.3.0.0 C F AIXwindows Motif Lib. Msgs -
X11.msg.en_US.motif.mwm 5.3.0.0 C F AIX Motif Window Mgr Msgs -
X11.samples.apps.motifdemos
4. DISK : iostat 3 1
5. NETWORK : netstat, ifconfig
$> netstat Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 2 81.altibase.loca.telne 192.168.6.26.pscupd ESTABLISHED tcp4 0 0 localhost.29945 localhost.38131 ESTABLISHED tcp4 0 0 localhost.38131 localhost.29945 ESTABLISHED tcp4 0 0 81.altibase.loca.42129 as48-x64.altibas.39945 TIME_WAIT tcp4 0 0 81.altibase.loca.42130 as48-x64.altibas.39945 TIME_WAIT
$> ifconfig -a
en0: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
inet xxx.xxx.xxx.xxx netmask 0xffffff00 broadcast xxx.xxx.xxx.xxx
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT>
inet xxx.xxx.xxx.xxx netmask 0xff000000 broadcast xxx.xxx.xxx.xxx
inet6 ::1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
HP-UX
1. CPU
CPU information : glance(a)
$> glance (a key after performing glance) GlancePlus C.04.55.00 15:57:51 rx6600 ia64 Current Avg High -------------------------------------------------------------------------------- CPU Util SUU | 6% 6% 6% Disk Util F FV V | 29% 29% 29% Mem Util S SU U | 57% 57% 57% Swap Util UUR R | 20% 20% 20% -------------------------------------------------------------------------------- CPU BY PROCESSOR Users= 6 CPU State Util LoadAvg(1/5/15 min) CSwitch Last Pid -------------------------------------------------------------------------------- 3 Enable 12.1 0.1/ 0.0/ 0.0 175 25741 4 Enable 0.0 0.1/ 0.1/ 0.1 167 18641 6 Enable 0.0 0.1/ 0.1/ 0.1 158 1769 7 Enable 5.2 0.0/ 0.0/ 0.0 263 1979 8 Enable 53.4 0.1/ 0.1/ 0.1 155 1979 10 Enable 0.9 0.1/ 0.1/ 0.1 163 1979 13 Enable 0.9 0.0/ 0.0/ 0.0 244 18641 5 Enable 0.0 0.0/ 0.0/ 0.0 219 1979 2 Enable 1.7 0.1/ 0.1/ 0.1 204 1979 9 Enable 13.8 0.0/ 0.0/ 0.0 261 25223 0 Enable 0.0 0.1/ 0.1/ 0.1 160 18641
CPU usage : top, glance
$> top System: rx6600 Tue Dec 22 16:00:58 2015 Load averages: 0.08, 0.07, 0.07 430 processes: 362 sleeping, 68 running Cpu states: CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS 0 0.15 3.8% 0.0% 1.4% 94.9% 0.0% 0.0% 0.0% 0.0% 1 0.03 1.8% 0.0% 1.6% 96.6% 0.0% 0.0% 0.0% 0.0% 2 0.08 8.9% 0.0% 2.0% 89.1% 0.0% 0.0% 0.0% 0.0% 3 0.04 9.5% 0.0% 1.2% 89.3% 0.0% 0.0% 0.0% 0.0% 4 0.06 7.9% 0.0% 0.4% 91.7% 0.0% 0.0% 0.0% 0.0% 5 0.04 4.5% 0.0% 1.0% 94.5% 0.0% 0.0% 0.0% 0.0% 6 0.13 14.8% 0.0% 0.0% 85.2% 0.0% 0.0% 0.0% 0.0% 7 0.04 3.8% 0.0% 1.4% 94.9% 0.0% 0.0% 0.0% 0.0% 8 0.09 14.8% 0.0% 2.0% 83.2% 0.0% 0.0% 0.0% 0.0% 9 0.06 8.3% 0.0% 1.0% 90.7% 0.0% 0.0% 0.0% 0.0% 10 0.14 11.9% 0.0% 1.4% 86.8% 0.0% 0.0% 0.0% 0.0% 11 0.06 5.1% 0.0% 0.8% 94.1% 0.0% 0.0% 0.0% 0.0% 12 0.09 17.2% 0.0% 2.2% 80.6% 0.0% 0.0% 0.0% 0.0% 13 0.04 7.7% 0.0% 0.4% 91.9% 0.0% 0.0% 0.0% 0.0% 14 0.14 11.7% 0.0% 2.6% 85.8% 0.0% 0.0% 0.0% 0.0% 15 0.06 3.2% 0.0% 1.0% 95.9% 0.0% 0.0% 0.0% 0.0% --- ---- ----- ----- ----- ----- ----- ----- ----- ----- avg 0.08 8.3% 0.0% 1.4% 90.3% 0.0% 0.0% 0.0% 0.0%
Memory information : machinfo
$> machinfo
CPU info:
4 Intel(R) Itanium 2 9000 series processors (1.59 GHz, 18 MB)
532 MT/s bus, CPU version C2
16 logical processors (4 per socket)
Memory: 32738 MB (31.97 GB)
Firmware info:
Firmware revision: 02.03
FP SWA driver revision: 1.18
IPMI is supported on this system.
BMC firmware revision: 5.14
Platform info:
Model: "ia64 hp server rx6600"
Machine ID number: 1a04e8b4-e4be-11db-a861-567abc9b2e8a
Machine serial number: SGH4710K7C
OS info:
Nodename: rx6600
Release: HP-UX B.11.31
Version: U (unlimited-user license)
Machine: ia64
ID Number: 0436529332
$> ps -elf F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD 1003 S root 0 0 0 127 20 e000000100769810 0 e000000100000004 12▒▒ 21 ? 0:25 swapper 541 R root 1 0 0 152 20 e00000010415e380 481 - 12▒▒ 21 ? 0:04 init 1003 S root 13 0 0 152 20 e0000001301a4080 0 e0000001301a30a0 12▒▒ 21 ? 0:00 net_str_cached 1003 S root 12 0 0 152 20 e000000131004d00 0 e0000001301a3080 12▒▒ 21 ? 0:00 net_str_cached 1003 R root 11 0 0 152 20 e000000131004a00 0 - 12▒▒ 21 ? 0:03 escsid sz : The size in physical pages of the core image of the process, including text, data, and stack space. Physical page size is defined by _SC_PAGE_SIZE in the header file <unistd.h>
System Memory : vmstat
$> vmstat 1 5 procs memory page faults cpu r b w avm free re at pi po fr de sr in sy cs us sy id 1 0 0 5614057 2977741 0 0 0 0 0 0 2 4639 11383 3479 0 0 100 1 0 0 5614057 2977750 0 0 1 0 0 0 0 4648 10931 3786 0 0 100 1 0 0 5614057 2977633 0 0 0 0 0 0 0 4645 10537 3788 0 0 100 1 0 0 5614057 2977633 0 0 0 0 0 0 0 4642 10072 3783 0 0 100 1 0 0 5614057 2977633 0 0 0 0 0 0 0 4638 9594 3776 0 0 100 memory : Information about the usage of virtual and real memory. Virtual pages are considered active if they belong to processes that are running or have run in the last 20 seconds. avm : Active virtual pages free : Size of the free list
3. SYSTEM
LOG : /var/adm/syslog/syslog.log
$> cat /var/adm/syslog/syslog.log
Dec 21 14:18:12 rx6600 syslogd: restart
Dec 21 14:18:12 rx6600 vmunix:
Dec 21 14:18:12 rx6600 vmunix: MFS is defined: base= 0xe000000101d74000 size= 5592 KB
Dec 21 14:18:12 rx6600 vmunix: Found adjacent data tr. Growing size. 0x228c000 -> 0x628c000.
Dec 21 14:18:12 rx6600 vmunix: Loaded ACPI revision 2.0 tables.
Dec 21 14:18:12 rx6600 vmunix: MMIO on this platform supports Write Coalescing.
Dec 21 14:18:12 rx6600 vmunix: Warning: The value of 5029 for tunable maxfiles is not a multiple of the file descriptor chunk size (8). This may result in unusable memory in each process.
HP-UX rx6600 B.11.31 U ia64 0436529332 unlimited-user license
3. DISK: iostat 3 1
$> iostat 3 3
device bps sps msps
disk10 15 1.1 1.0
disk11 15 1.1 1.0
disk12 47 4.6 1.0
disk13 14 1.1 1.0
disk14 14 1.1 1.0
disk15 13 0.9 1.0
disk17 16 1.2 1.0
disk19 14 1.0 1.0
device : Device name
bps : Kilobytes transferred per seco
sps : Number of seeks per second
msps : Milliseconds per average seek
4. NETWORK : netstat -nr
$> netstat -nr IPv4 Routing tables: Destination Gateway Flags Refs Interface Pmtu 127.0.0.1 127.0.0.1 UH 0 lo0 32808 192.168.1.28 192.168.1.28 UH 0 lan0 32808 192.168.1.0 192.168.1.28 U 2 lan0 1500 127.0.0.0 127.0.0.1 U 0 lo0 32808 default 192.168.1.1 UG 0 lan0 1500 IPv6 Routing tables: Destination/Prefix Gateway Flags Refs Interface Pmtu ::1/128 ::1 UH 0 lo0 32808 fe80::217:a4ff:fe51:7308/128 fe80::217:a4ff:fe51:7308 UH 0 lan0 32808 fe80::/10 fe80::217:a4ff:fe51:7308 U 2 lan0 1500 default fe80::221:d8ff:feb6:123f UG 0 lan0 0