strace -c /usr/local/bin/akclient.py -m akc -t ssh-ed25519 -u andrea -a http://auth/akc -p
ssh-ed25519 <pippo> andrea@lonewolf
ecdsa-sha2-nistp256 <pluto> andrea@lonewolf
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
24.77 0.000322 0 390 28 stat
15.00 0.000195 0 221 read
14.31 0.000186 10 18 getdents64
9.92 0.000129 0 142 5 openat
7.77 0.000101 0 229 fstat
6.62 0.000086 0 147 close
5.69 0.000074 0 192 3 lseek
4.54 0.000059 0 120 mmap
3.77 0.000049 1 26 brk
3.38 0.000044 0 110 89 ioctl
1.46 0.000019 4 4 lstat
0.54 0.000007 2 3 fcntl
0.54 0.000007 7 1 sysinfo
0.46 0.000006 2 3 2 readlink
0.38 0.000005 1 3 dup
0.38 0.000005 1 3 getrandom
0.31 0.000004 0 27 mprotect
0.15 0.000002 0 8 munmap
0.00 0.000000 0 4 write
0.00 0.000000 0 8 poll
0.00 0.000000 0 68 rt_sigaction
0.00 0.000000 0 1 rt_sigprocmask
0.00 0.000000 0 2 2 access
0.00 0.000000 0 14 getpid
0.00 0.000000 0 6 socket
0.00 0.000000 0 6 connect
0.00 0.000000 0 5 sendto
0.00 0.000000 0 6 recvfrom
0.00 0.000000 0 1 recvmsg
0.00 0.000000 0 4 setsockopt
0.00 0.000000 0 5 3 execve
0.00 0.000000 0 2 uname
0.00 0.000000 0 2 flock
0.00 0.000000 0 1 unlink
0.00 0.000000 0 2 arch_prctl
0.00 0.000000 0 1 gettid
0.00 0.000000 0 23 futex
0.00 0.000000 0 1 set_tid_address
0.00 0.000000 0 1 set_robust_list
0.00 0.000000 0 1 epoll_create1
0.00 0.000000 0 1 prlimit64
0.00 0.000000 0 2 sendmmsg
------ ----------- ----------- --------- --------- ----------------
100.00 0.001300 0 1814 132 total
In effetti (non riporto l'output per intero, troppo lungo):
strace -e stat /usr/local/bin/akclient.py -m akc -t ssh-ed25519 -u andrea -a http://auth/akc
stat("/usr/local/sbin/python3", 0x7ffee0d5edf0) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/python3", 0x7ffee0d5edf0) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/python3", 0x7ffee0d5edf0) = -1 ENOENT (No such file or directory)
stat("/usr/bin/python3", {st_mode=S_IFREG|0755, st_size=5479736, ...}) = 0
stat("/usr/bin/Modules/Setup.local", 0x7ffee0d5ab60) = -1 ENOENT (No such file or directory)
stat("/usr/bin/lib/python3.9/os.py", 0x7ffee0d5aa80) = -1 ENOENT (No such file or directory)
stat("/usr/bin/lib/python3.9/os.pyc", 0x7ffee0d5aa80) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python3.9/os.py", {st_mode=S_IFREG|0644, st_size=39065, ...}) = 0
stat("/usr/bin/lib/python3.9/lib-dynload", 0x7ffee0d59be0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python3.9/lib-dynload", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python39.zip", 0x7ffee0d5d460) = -1 ENOENT (No such file or directory)
stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python39.zip", 0x7ffee0d5d140) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python3.9", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/lib/python3.9", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/lib/python3.9", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/lib/python3.9/encodings/__init__.cpython-39-x86_64-linux-gnu.so", 0x7ffee0d5d580) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python3.9/encodings/__init__.abi3.so", 0x7ffee0d5d580) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python3.9/encodings/__init__.so", 0x7ffee0d5d580) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python3.9/encodings/__init__.py", {st_mode=S_IFREG|0644, st_size=5588, ...}) = 0
stat("/usr/lib/python3.9/encodings/__init__.py", {st_mode=S_IFREG|0644, st_size=5588, ...}) = 0
stat("/usr/lib/python3.9", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/lib/python3.9/codecs.py", {st_mode=S_IFREG|0644, st_size=36673, ...}) = 0
stat("/usr/lib/python3.9/codecs.py", {st_mode=S_IFREG|0644, st_size=36673, ...}) = 0
stat("/usr/lib/python3.9/encodings", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python3.9/encodings", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python3.9/encodings", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python3.9/encodings/aliases.py", {st_mode=S_IFREG|0644, st_size=15677, ...}) = 0
stat("/usr/lib/python3.9/encodings/aliases.py", {st_mode=S_IFREG|0644, st_size=15677, ...}) = 0
stat("/usr/lib/python3.9/encodings", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python3.9/encodings/utf_8.py", {st_mode=S_IFREG|0644, st_size=1005, ...}) = 0
stat("/usr/lib/python3.9/encodings/utf_8.py", {st_mode=S_IFREG|0644, st_size=1005, ...}) = 0
stat("/usr/lib/python3.9/encodings", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python3.9/encodings/latin_1.py", {st_mode=S_IFREG|0644, st_size=1264, ...}) = 0
stat("/usr/lib/python3.9/encodings/latin_1.py", {st_mode=S_IFREG|0644, st_size=1264, ...}) = 0
...un delirio
