RE: Задержки при пинге сервисного процессора

Главная Форумы POWER Systems Виртуализация POWER Задержки при пинге сервисного процессора RE: Задержки при пинге сервисного процессора

#2344
andrewk
Участник

KIRill писал(а):

( не слушайте меня. я сегодня болею. а ночью, в холодном бреду, мне снился скрипт на ksh, который я пытался дезасемблировать)

# cat test.sh
#!/bin/ksh

echo “Hello world!”

# truss sh test.sh
execve(“/usr/bin/sh”, 0x2FF22CD0, 0x2FF22CDC) argc: 2
sbrk(0x00000000) = 0x2000ED80
vmgetinfo(0x2FF21E10, 7, 16) = 0
sbrk(0x00000000) = 0x2000ED80
__libc_sbrk(0x00000000) = 0x2000ED80
getuidx(4) = 0
getuidx(2) = 0
getuidx(1) = 0
getgidx(4) = 0
getgidx(2) = 0
getgidx(1) = 0
__loadx(0x01000080, 0x2FF218D0, 0x00000960, 0x2FF22350, 0x00000000) = 0xD0149130
__loadx(0x01000180, 0x2FF218D0, 0x00000960, 0xF1E39B04, 0xF1E39A34) = 0xF1F31438
__loadx(0x07080000, 0xF1E39AD4, 0xFFFFFFFF, 0xF1F31438, 0x00000000) = 0xF1F32368
__loadx(0x07080000, 0xF1E39A14, 0xFFFFFFFF, 0xF1F31438, 0x00000000) = 0xF1F32374
__loadx(0x07080000, 0xF1E39AE4, 0xFFFFFFFF, 0xF1F31438, 0x00000000) = 0xF1F323A4
__loadx(0x07080000, 0xF1E39A24, 0xFFFFFFFF, 0xF1F31438, 0x00000000) = 0xF1F323B0
__loadx(0x07080000, 0xF1E39AA4, 0xFFFFFFFF, 0xF1F31438, 0x00000000) = 0xF1F32380
__loadx(0x07080000, 0xF1E39A44, 0xFFFFFFFF, 0xF1F31438, 0x00000000) = 0xF1F32398
__loadx(0x07080000, 0xF1E39AB4, 0xFFFFFFFF, 0xF1F31438, 0x00000000) = 0xF1F323BC
__loadx(0x07080000, 0xF1E39AC4, 0xFFFFFFFF, 0xF1F31438, 0x00000000) = 0xF1F323EC
__loadx(0x07080000, 0xF1E39A54, 0xFFFFFFFF, 0xF1F31438, 0x00000000) = 0xF1F323D4
__loadx(0x07080000, 0xF1E39A64, 0xFFFFFFFF, 0xF1F31438, 0x00000000) = 0xF1F32470
getuidx(4) = 0
getuidx(2) = 0
getuidx(1) = 0
getgidx(4) = 0
getgidx(2) = 0
getgidx(1) = 0
__loadx(0x01000080, 0x2FF218D0, 0x00000960, 0x2FF22350, 0x00000000) = 0xD0149130
getuidx(4) = 0
getuidx(2) = 0
getuidx(1) = 0
getgidx(4) = 0
getgidx(2) = 0
getgidx(1) = 0
__loadx(0x01000080, 0x2FF218D0, 0x00000960, 0x2FF22350, 0x00000000) = 0xD0149130
getuidx(4) = 0
getuidx(2) = 0
getuidx(1) = 0
getgidx(4) = 0
getgidx(2) = 0
getgidx(1) = 0
__loadx(0x01000080, 0x2FF218D0, 0x00000960, 0x2FF22350, 0x00000000) = 0xD0149130
getuidx(4) = 0
getuidx(2) = 0
getuidx(1) = 0
getgidx(4) = 0
getgidx(2) = 0
getgidx(1) = 0
__loadx(0x01000080, 0x2FF218D0, 0x00000960, 0x2FF22350, 0x00000000) = 0xD0149130
getuidx(4) = 0
getuidx(2) = 0
getuidx(1) = 0
getgidx(4) = 0
getgidx(2) = 0
getgidx(1) = 0
__loadx(0x01000080, 0x2FF218D0, 0x00000960, 0x2FF22350, 0x00000000) = 0xD0149130
access(“/usr/lib/nls/msg/en_US/ksh.cat”, 0) = 0
_getpid() = 327686
open(“/usr/lib/nls/msg/en_US/ksh.cat”, O_RDONLY) = 3
kioctl(3, 22528, 0x00000000, 0x00000000) Err#25 ENOTTY
kfcntl(3, F_SETFD, 0x00000001) = 0
kioctl(3, 22528, 0x00000000, 0x00000000) Err#25 ENOTTY
kread(3, “01 Ы0101 I S O 8″.., 4096) = 4096
lseek(3, 0, 1) = 4096
lseek(3, 0, 1) = 4096
lseek(3, 0, 1) = 4096
_getpid() = 327686
lseek(3, 0, 1) = 4096
lseek(3, 4704, 0) = 4704
kread(3, ” 0 4 0 3 – 0 6 5 A n “.., 4096) = 1069
kfcntl(3, F_DUPFD, 0x0000000A) = 10
close(3) = 0
kfcntl(10, F_SETFD, 0x00000001) = 0
__libc_sbrk(0x00000000) = 0x2001ED90
__libc_sbrk(0x00000000) = 0x2005EDA0
fstatx(2, 0x2FF22A80, 76, 0) = 0
fstatx(1, 0x2FF22A80, 76, 0) = 0
fstatx(0, 0x2FF22A80, 76, 0) = 0
getuidx(2) = 0
getuidx(1) = 0
getgidx(2) = 0
getgidx(1) = 0
_sigaction(6, 0x00000000, 0x2FF22990) = 0
_sigaction(6, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(14, 0x00000000, 0x2FF22990) = 0
_sigaction(14, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(10, 0x00000000, 0x2FF22990) = 0
_sigaction(10, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(20, 0x00000000, 0x2FF22990) = 0
_sigaction(20, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(7, 0x00000000, 0x2FF22990) = 0
_sigaction(7, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(8, 0x00000000, 0x2FF22990) = 0
_sigaction(8, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(1, 0x00000000, 0x2FF22990) = 0
_sigaction(1, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(4, 0x00000000, 0x2FF22990) = 0
_sigaction(4, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(2, 0x00000000, 0x2FF22940) = 0
_sigaction(2, 0x2FF22940, 0x2FF22950) = 0
_sigaction(13, 0x00000000, 0x2FF22990) = 0
_sigaction(13, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(3, 0x00000000, 0x2FF22950) = 0
_sigaction(3, 0x2FF22950, 0x2FF22960) = 0
_sigaction(12, 0x00000000, 0x2FF22990) = 0
_sigaction(12, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(15, 0x00000000, 0x2FF22990) = 0
_sigaction(15, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(5, 0x00000000, 0x2FF22990) = 0
_sigaction(5, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(30, 0x00000000, 0x2FF22990) = 0
_sigaction(30, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(31, 0x00000000, 0x2FF22990) = 0
_sigaction(31, 0x2FF22990, 0x2FF229A0) = 0
_sigaction(25, 0x00000000, 0x2FF22950) = 0
_sigaction(25, 0x2FF22950, 0x2FF22960) = 0
kioctl(2, 21522, 0x2FF22B88, 0x00000000) = 0
statx(“/u0”, 0x2FF22970, 128, 010) = 0
statx(“.”, 0x2FF229F0, 128, 010) = 0
_getpid() = 327686
_getppid() = 770160
statx(“/usr/bin/test.sh”, 0x2FF22A68, 76, 0) Err#2 ENOENT
statx(“/etc/test.sh”, 0x2FF22A68, 76, 0) Err#2 ENOENT
statx(“/usr/sbin/test.sh”, 0x2FF22A68, 76, 0) Err#2 ENOENT
statx(“/usr/ucb/test.sh”, 0x2FF22A68, 76, 0) Err#2 ENOENT
statx(“/usr/bin/X11/test.sh”, 0x2FF22A68, 76, 0) Err#2 ENOENT
statx(“/sbin/test.sh”, 0x2FF22A68, 76, 0) Err#2 ENOENT
statx(“/usr/java14/jre/bin/test.sh”, 0x2FF22A68, 76, 0) Err#2 ENOENT
statx(“/usr/java14/bin/test.sh”, 0x2FF22A68, 76, 0) Err#2 ENOENT
open(“test.sh”, O_RDONLY) = 3
close(62) Err#9 EBADF
kfcntl(3, F_DUPFD, 0x0000003E) = 62
close(3) = 0
kfcntl(62, F_SETFD, 0x00000001) = 0
kfcntl(62, F_GETFL, 0x00000000) = 0
lseek(62, 0, 1) = 0
kioctl(62, 22528, 0x00000000, 0x00000000) Err#25 ENOTTY
kread(62, ” # ! / b i n / k s hnn”.., 4096) = 32
Hello world!
kwrite(1, ” H e l l o w o r l d !”.., 13) = 13
kread(62, ” # ! / b i n / k s hnn”.., 4096) = 0
_exit(0)