Hallo zusammen,
leider ist das Thema für mich immer noch eine Baustelle.
Ich habe mal den SHC -sh "Scedular" mitgeschnitten (strace), was er macht, wenn ich eine nicht vorhandene IP-Adresse abfrage.
Kann mir jemand was dazu erklären? Das kann ich nicht wirklich interpretieren:
Wie bin ich vorgegangen:
1.) Prozess des Scedular identfiziert:
ps -ef |grep shc
root 198 1 0 13:49 ? 00:00:01 /usr/bin/php /var/www/shc/index. php app=shc -sh
2.) Dann strace -p 198 -o shc-sh.txt
Im Anschluss habe ich im der Textdatei nach meiner Pseudo IP-Adresse (nicht bekannt per ping - $? = 0) gesucht und erhalte folgende Ausgabe:
fcntl64(4, F_SETFD, 0) = 0
read(4, "PING 192.164.164.164 (192.164.16"..., 8192) = 155
read(4, "", 8192) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2677, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
close(4)
.....
fcntl64(4, F_SETFD, 0) = 0
read(4, "PING 192.164.164.164 (192.164.16"..., 8192) = 155
read(4, "", 8192) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2689, si_uid=0, si_status=1, si_utime=0, si_stime=1} ---
close(4)
.....
fcntl64(4, F_SETFD, 0) = 0
read(4, "PING 192.164.164.164 (192.164.16"..., 8192) = 155
read(4, "", 8192) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2685, si_uid=0, si_status=1, si_utime=1, si_stime=0} ---
close(4) = 0
...
fcntl64(4, F_SETFD, 0) = 0
read(4, "PING 192.164.164.164 (192.164.16"..., 8192) = 155
read(4, "", 8192) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2689, si_uid=0, si_status=1, si_utime=0, si_stime=1} ---
close(4)
...
read(4, "PING 192.164.164.164 (192.164.16"..., 8192) = 155
read(4, "", 8192) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2693, si_uid=0, si_status=1, si_utime=0, si_stime=1} ---
close(4)
...
read(4, "PING 192.164.164.164 (192.164.16"..., 8192) = 155
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2697, si_uid=0, si_status=1, si_utime=0, si_stime=1} ---
read(4, "", 8192) = 0
close(4)
Kann mir das jemand interpretieren bzw. hat jemand einen Tipp, was falsch läuft?
Danke und Gruß
raspco
leider ist das Thema für mich immer noch eine Baustelle.
Ich habe mal den SHC -sh "Scedular" mitgeschnitten (strace), was er macht, wenn ich eine nicht vorhandene IP-Adresse abfrage.
Kann mir jemand was dazu erklären? Das kann ich nicht wirklich interpretieren:
Wie bin ich vorgegangen:
1.) Prozess des Scedular identfiziert:
ps -ef |grep shc
root 198 1 0 13:49 ? 00:00:01 /usr/bin/php /var/www/shc/index. php app=shc -sh
2.) Dann strace -p 198 -o shc-sh.txt
Im Anschluss habe ich im der Textdatei nach meiner Pseudo IP-Adresse (nicht bekannt per ping - $? = 0) gesucht und erhalte folgende Ausgabe:
fcntl64(4, F_SETFD, 0) = 0
read(4, "PING 192.164.164.164 (192.164.16"..., 8192) = 155
read(4, "", 8192) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2677, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
close(4)
.....
fcntl64(4, F_SETFD, 0) = 0
read(4, "PING 192.164.164.164 (192.164.16"..., 8192) = 155
read(4, "", 8192) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2689, si_uid=0, si_status=1, si_utime=0, si_stime=1} ---
close(4)
.....
fcntl64(4, F_SETFD, 0) = 0
read(4, "PING 192.164.164.164 (192.164.16"..., 8192) = 155
read(4, "", 8192) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2685, si_uid=0, si_status=1, si_utime=1, si_stime=0} ---
close(4) = 0
...
fcntl64(4, F_SETFD, 0) = 0
read(4, "PING 192.164.164.164 (192.164.16"..., 8192) = 155
read(4, "", 8192) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2689, si_uid=0, si_status=1, si_utime=0, si_stime=1} ---
close(4)
...
read(4, "PING 192.164.164.164 (192.164.16"..., 8192) = 155
read(4, "", 8192) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2693, si_uid=0, si_status=1, si_utime=0, si_stime=1} ---
close(4)
...
read(4, "PING 192.164.164.164 (192.164.16"..., 8192) = 155
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2697, si_uid=0, si_status=1, si_utime=0, si_stime=1} ---
read(4, "", 8192) = 0
close(4)
Kann mir das jemand interpretieren bzw. hat jemand einen Tipp, was falsch läuft?
Danke und Gruß
raspco
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von raspco ()