Portál AbcLinuxu, 10. května 2025 10:56
ltrace -f -eexecvp programnebo
strace -f -eexecve,stat64 program
[root@testovaci root]# strace -f -eexecve /etc/init.d/boa execve("/etc/init.d/boa", ["/etc/init.d/boa"], [/* 46 vars */]) = 0 Process 3755 attached Process 3756 attached Process 3755 suspended [pid 3756] execve("/sbin/consoletype", ["/sbin/consoletype"], [/* 47 vars */]) = 0 Process 3755 resumed Process 3756 detached [pid 3755] --- SIGCHLD (Child exited) @ 0 (0) --- Process 3755 detached --- SIGCHLD (Child exited) @ 0 (0) --- Usage: /etc/init.d/boa {start|stop|restart|reload|status}
strace -f -eexecve /usr/sbin/boa
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.