This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pvdisplay | |
--- Physical volume --- | |
PV Name /dev/sda5 | |
VG Name workstation | |
PV Size 7.76 GiB / not usable 2.00 MiB | |
Allocatable yes | |
PE Size 4.00 MiB | |
Total PE 1986 | |
Free PE 8 | |
Allocated PE 1978 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# df /tmp | |
Filesystem 1K-blocks Used Available Use% Mounted on | |
/dev/mapper/workstation-root 7667140 2628608 4653920 37% / |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lsof -p 16528 | |
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME | |
bonnie++ 16528 root cwd DIR 252,0 4096 130597 /tmp | |
<truncated> | |
bonnie++ 16528 root 8u REG 252,0 501219328 131869 /tmp/Bonnie.16528 | |
bonnie++ 16528 root 9u REG 252,0 501219328 131869 /tmp/Bonnie.16528 | |
bonnie++ 16528 root 10u REG 252,0 501219328 131869 /tmp/Bonnie.16528 | |
bonnie++ 16528 root 11u REG 252,0 501219328 131869 /tmp/Bonnie.16528 | |
bonnie++ 16528 root 12u REG 252,0 501219328 131869 /tmp/Bonnie.16528 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /proc/16528/io | |
rchar: 48752567 | |
wchar: 549961789 | |
syscr: 5967 | |
syscw: 67138 | |
read_bytes: 49020928 | |
write_bytes: 549961728 | |
cancelled_write_bytes: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for x in `seq 1 1 10`; do ps -eo state,pid,cmd | grep "^D"; echo "----"; sleep 5; done | |
D 248 [jbd2/dm-0-8] | |
D 16528 bonnie++ -n 0 -u 0 -r 239 -s 478 -f -b -d /tmp | |
---- | |
D 22 [kswapd0] | |
D 16528 bonnie++ -n 0 -u 0 -r 239 -s 478 -f -b -d /tmp | |
---- | |
D 22 [kswapd0] | |
D 16528 bonnie++ -n 0 -u 0 -r 239 -s 478 -f -b -d /tmp | |
---- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# iotop | |
Total DISK READ: 8.00 M/s | Total DISK WRITE: 20.36 M/s | |
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND | |
15758 be/4 root 7.99 M/s 8.01 M/s 0.00 % 61.97 % bonnie++ -n 0 -u 0 -r 239 -s 478 -f -b -d /tmp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ iostat -x 2 5 | |
avg-cpu: %user %nice %system %iowait %steal %idle | |
3.66 0.00 47.64 48.69 0.00 0.00 | |
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util | |
sda 44.50 39.27 117.28 29.32 11220.94 13126.70 332.17 65.77 462.79 9.80 2274.71 7.60 111.41 | |
dm-0 0.00 0.00 83.25 9.95 10515.18 4295.29 317.84 57.01 648.54 16.73 5935.79 11.48 107.02 | |
dm-1 0.00 0.00 57.07 40.84 228.27 163.35 8.00 93.84 979.61 13.94 2329.08 10.93 107.02 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# top | |
top - 14:31:20 up 35 min, 4 users, load average: 2.25, 1.74, 1.68 | |
Tasks: 71 total, 1 running, 70 sleeping, 0 stopped, 0 zombie | |
Cpu(s): 2.3%us, 1.7%sy, 0.0%ni, 0.0%id, 96.0%wa, 0.0%hi, 0.0%si, 0.0%st | |
Mem: 245440k total, 241004k used, 4436k free, 496k buffers | |
Swap: 409596k total, 5436k used, 404160k free, 182812k cached |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14:02:53.050249 IP6 (flowlabel 0xc0d00, hlim 64, next-header TCP (6) payload length: 44) ::1.51212 > ::1.9000: Flags [S], cksum 0x0034 (incorrect -> 0x892f), seq 1824373810, win 65535, options [mss 16324,nop,wscale 6,nop,nop,TS val 4087507955 ecr 0,sackOK,eol], length 0 | |
14:02:53.050421 IP6 (flowlabel 0x90900, hlim 64, next-header TCP (6) payload length: 44) ::1.9000 > ::1.51212: Flags [S.], cksum 0x0034 (incorrect -> 0x128e), seq 924074817, ack 1824373811, win 65535, options [mss 16324,nop,wscale 6,nop,nop,TS val 3688308835 ecr 4087507955,sackOK,eol], length 0 | |
14:02:53.050495 IP6 (flowlabel 0xc0d00, hlim 64, next-header TCP (6) payload length: 32) ::1.51212 > ::1.9000: Flags [.], cksum 0x0028 (incorrect -> 0x738b), seq 1, ack 1, win 6371, options [nop,nop,TS val 4087507955 ecr 3688308835], length 0 | |
14:02:53.050541 IP6 (flowlabel 0x90900, hlim 64, next-header TCP (6) payload length: 32) ::1.9000 > ::1.51212: Flags [.], cksum 0x0028 (incorrect -> 0x738b), seq 1, ack 1, win 6371, options [nop,nop,TS val 36883088 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tcpdump -n -vvv -i lo0 port 9000 | |
tcpdump: listening on lo0, link-type NULL (BSD loopback), capture size 262144 bytes | |
11:28:39.808360 IP6 (flowlabel 0x90100, hlim 64, next-header TCP (6) payload length: 44) ::1.50796 > ::1.9000: Flags [S], cksum 0x0034 (incorrect -> 0x8d95), seq 1062602566, win 65535, options [mss 16324,nop,wscale 6,nop,nop,TS val 316484679 ecr 0,sackOK,eol], length 0 | |
11:28:39.808429 IP6 (flowlabel 0x30a00, hlim 64, next-header TCP (6) payload length: 44) ::1.9000 > ::1.50796: Flags [S.], cksum 0x0034 (incorrect -> 0x9e6d), seq 3264678097, ack 1062602567, win 65535, options [mss 16324,nop,wscale 6,nop,nop,TS val 3908319929 ecr 316484679,sackOK,eol], length 0 | |
11:28:39.808445 IP6 (flowlabel 0x90100, hlim 64, next-header TCP (6) payload length: 32) ::1.50796 > ::1.9000: Flags [.], cksum 0x0028 (incorrect -> 0xff6a), seq 1, ack 1, win 6371, options [nop,nop,TS val 316484679 ecr 3908319929], length 0 | |
11:28:39.808457 IP6 (flowlabel 0x30a00, hlim 64, next-header TCP (6) payload length: 32) ::1.9000 |