diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-03-26 11:32:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:59:18 -0500 |
commit | 316269a07523a421755158540d2f4e22fa312866 (patch) | |
tree | a0569bf07ccae14b213ab9bd63f8a44240427ffe /source4/smb_server/smb_server.h | |
parent | e095d9e32ac4770ce8da5f96f143c46a1f803309 (diff) | |
download | samba-316269a07523a421755158540d2f4e22fa312866.tar.gz samba-316269a07523a421755158540d2f4e22fa312866.tar.bz2 samba-316269a07523a421755158540d2f4e22fa312866.zip |
r14739: keep the last request time for the smbsrv_connection,
smbsrv_session and smbsrv_tcon for management tools
metze
(This used to be commit 2c87f210e9e68de42dc45ca6532f3f33f4b6ce95)
Diffstat (limited to 'source4/smb_server/smb_server.h')
-rw-r--r-- | source4/smb_server/smb_server.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/smb_server/smb_server.h b/source4/smb_server/smb_server.h index 8efe7730df..12b12692f3 100644 --- a/source4/smb_server/smb_server.h +++ b/source4/smb_server/smb_server.h @@ -84,6 +84,8 @@ struct smbsrv_session { struct timeval connect_time; /* the time when the session setup was finished */ struct timeval auth_time; + /* the time when the last request comes in */ + struct timeval last_request_time; } statistics; }; @@ -124,7 +126,10 @@ struct smbsrv_tcon { /* some statictics for the management tools */ struct { + /* the time when the tree connect started */ struct timeval connect_time; + /* the time when the last request comes in */ + struct timeval last_request_time; } statistics; }; @@ -297,6 +302,14 @@ struct smbsrv_connection { enum security_types security; BOOL nt_status_support; } config; + + /* some statictics for the management tools */ + struct { + /* the time when the client connects */ + struct timeval connect_time; + /* the time when the last request comes in */ + struct timeval last_request_time; + } statistics; }; #include "smb_server/smb_server_proto.h" |