Architecting, installing and maintaining your SAS environment

View SAS User's Login Logout time & memory usage

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 96
Accepted Solution

View SAS User's Login Logout time & memory usage

Hello Geniuses, We have SAS Office Analytics Suite, I want to know that when the user have logged into which application (like SAS EG, SAS Studio, SAS Add-in) and when he logged out from that application, and also how much memory user is using for that application, Is that kind of things we can do in SAS? If yes then please show me the way, i will really appreciate that. Thanks & Regards, Kalind

Accepted Solutions
Solution
‎08-29-2016 05:02 AM
Trusted Advisor
Posts: 1,141

Re: View SAS User's Login Logout time & memory usage

[ Edited ]

Hi,

 

for any connection, this happens on the Metadata server always.

If you are able to parse the Metadata server log, you will get any open sesion and disconnection. But you won;t know from what application is the user logging in.

 

For that, you need the logs from the middle tier for web applications (such as SAS Studio) which you can find directly on the Middle tier server on the /Lev1/Web/Logs folder, and the logs from the client applications (such as EG or the Add in).

 

For this last ones, you will need to enable the loging and have access to those logs.

To enable the logging on SAS EG:http://support.sas.com/kb/55/414.html

To enable logigng on the Add-in: http://support.sas.com/kb/56/743.html

 

About the memory used by each session, you will need the logging by each Workspace Server session.

 

This can be done by one of those options:

 

- Add the FULLSTIMER option to get additional info after each data step: http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#p07iiwnf85r6lwn1xg...

 

- Use the SAS Environment Manager and enable APM/ARM(SAS Audit, Performance and Measurement)

http://support.sas.com/documentation/cdl/en/evug/67886/HTML/default/viewer.htm#n0y0zbl7hnj8yhn1thh01...

 

- Use an external tool. One with great experiences is ESM by @boemskats, which also gives you great reports on the fly: https://boemskats.com/esm/

 

Hope that any of this can help you.

Best regards,

Juan

View solution in original post


All Replies
Solution
‎08-29-2016 05:02 AM
Trusted Advisor
Posts: 1,141

Re: View SAS User's Login Logout time & memory usage

[ Edited ]

Hi,

 

for any connection, this happens on the Metadata server always.

If you are able to parse the Metadata server log, you will get any open sesion and disconnection. But you won;t know from what application is the user logging in.

 

For that, you need the logs from the middle tier for web applications (such as SAS Studio) which you can find directly on the Middle tier server on the /Lev1/Web/Logs folder, and the logs from the client applications (such as EG or the Add in).

 

For this last ones, you will need to enable the loging and have access to those logs.

To enable the logging on SAS EG:http://support.sas.com/kb/55/414.html

To enable logigng on the Add-in: http://support.sas.com/kb/56/743.html

 

About the memory used by each session, you will need the logging by each Workspace Server session.

 

This can be done by one of those options:

 

- Add the FULLSTIMER option to get additional info after each data step: http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#p07iiwnf85r6lwn1xg...

 

- Use the SAS Environment Manager and enable APM/ARM(SAS Audit, Performance and Measurement)

http://support.sas.com/documentation/cdl/en/evug/67886/HTML/default/viewer.htm#n0y0zbl7hnj8yhn1thh01...

 

- Use an external tool. One with great experiences is ESM by @boemskats, which also gives you great reports on the fly: https://boemskats.com/esm/

 

Hope that any of this can help you.

Best regards,

Juan

Frequent Contributor
Posts: 96

Re: View SAS User's Login Logout time & memory usage

Thanks a lot @JuanS_OCS;

 

I appreciate your help & quick response.

This reply would be enough for me to start working on it. :-)

 

Trusted Advisor
Posts: 1,141

Re: View SAS User's Login Logout time & memory usage

A pleasure, and good luck Smiley Happy

Contributor SKG
Contributor
Posts: 55

Re: View SAS User's Login Logout time & memory usage

Hi Juans,

 

What about SAS Visual Analytics Users login and logout time with more details? How can i get the data of SAS VA users login and logout details?

Contributor SKG
Contributor
Posts: 55

Re: View SAS User's Login Logout time & memory usage

Hi ,

Actually, I need to make a dataset for SAS Visual Analytics Users login and logout details daily, weekly, monthly and yearly.

Like

Sno.   Username      login_time                     logout_time                     Attempted
1         Sunny           13/06/2017 16:09:10     13/06/2017 18:09:10      Successful login
2         Kumar           12/06/2017 20:09:10                                            Unsuccessful login
-------------------------------------------------------------------------------------------------------------------------------

 

Is it possible to create a dataset like this with more details of login and logout?

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 737 views
  • 3 likes
  • 3 in conversation