Displaying 3 results from an estimated 3 matches for "connection_tim".
Did you mean:
connection_time
2018 Mar 22
2
User name / session idin logs
Hello everyone,
I have a question about logging. I need to find out whether it is possible
to see user id/session id inside logs or somewhere else. It is not passed
in structured across the network, so where should I look to find out, which
user (which session) is currently performing the actions?
2018 May 07
1
Re: User name / session idin logs
...n as root)
>
> # virt-admin client-list libvirtd
> Id Transport Connected since
> --------------------------------------------------
> 1 unix 2018-04-12 09:53:46+0200
>
> # virt-admin client-info --server libvirtd --client 1
> id : 1
> connection_time: 2018-04-12 09:53:46+0200
> transport : unix
> readonly : no
> unix_user_id : 1000
> unix_user_name : eskultet
> unix_group_id : 1001
> unix_group_name: eskultet
> unix_process_id: 19053
> selinux_context: unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023...
2018 Apr 12
0
Re: User name / session idin logs
...this info using virt-admin
(needs to be run as root)
# virt-admin client-list libvirtd
Id Transport Connected since
--------------------------------------------------
1 unix 2018-04-12 09:53:46+0200
# virt-admin client-info --server libvirtd --client 1
id : 1
connection_time: 2018-04-12 09:53:46+0200
transport : unix
readonly : no
unix_user_id : 1000
unix_user_name : eskultet
unix_group_id : 1001
unix_group_name: eskultet
unix_process_id: 19053
selinux_context: unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
Regards,
Erik