[Samba] samba profiling
Andrea Cucciarre'
acucciarre at cloudian.com
Sat Dec 19 15:34:05 UTC 2020
Hello,
I am trying to get some samba statistics on CentOS (standard samba that
comes with CentOS), so I have enabled the profiling in smb.conf:
smbd profiling level = on
and the samba seems to be compiled with the profling option:
# smbd -b | grep -i profil
HAVE_PROFILE_H
HAVE_KRB5_GET_PROFILE
WITH_PROFILE
However, all the stats values are zero in "smbstatus -P", as you can see
below.
am I missing somthing?
**** "SMBD loop"
**************************************************************
connect_count: 0
disconnect_count: 0
idle_count: 0
idle_time: 0
cpu_user_time: 0
cpu_system_time: 0
request_count: 0
push_sec_ctx_count: 0
push_sec_ctx_time: 0
set_sec_ctx_count: 0
set_sec_ctx_time: 0
set_root_sec_ctx_count: 0
set_root_sec_ctx_time: 0
pop_sec_ctx_count: 0
pop_sec_ctx_time: 0
**** "System Calls"
***********************************************************
syscall_opendir_count: 0
syscall_opendir_time: 0
syscall_fdopendir_count: 0
syscall_fdopendir_time: 0
syscall_readdir_count: 0
syscall_readdir_time: 0
syscall_seekdir_count: 0
syscall_seekdir_time: 0
syscall_telldir_count: 0
syscall_telldir_time: 0
syscall_rewinddir_count: 0
.....
More information about the samba
mailing list