Skip to main content

Posts

Showing posts from July, 2018

HAR file viewer

Below online website can be used to view HAR file. My favorites are: https://toolbox.googleapps.com/apps/har_analyzer/ http://www.softwareishard.com/har/viewer/ https://ericduran.github.io/chromeHAR/ https://onlinecurl.com/har-diff HAR file can be downloaded from Google Chrome developer tools. This is used to see which request has taken more time. It basically gives the waterfall chart of each request, response code and time taken. We can use this to see SAS Web Application performance.

Command to get historical jobs ran via SAS grid

SAS Grid used LSF for load sharing. LSF will store all the jobs ran in a file lsb.events. This file is stored under your cluster directory. Usually cluster directory will be under lsf work directory. Below is where LSF stored in our environment.  /app/lsf/work/bank_cluster/logdir/lsb.events You can get formatted output by running bhist command. For some reason in our environment it doesn't work. So we used the raw file and parsed with custom code. The file is space delimited and you can get the column info from IBM link . For lines starting with JOB_NEW below are the column name. JOB_NEW A new job has been submitted. The fields in order of occurrence are: Version number (%s) The version number Event time (%d) The time of the event jobId (%d) Job ID userId (%d) UNIX user ID of the submitter options (%d) Bit flags for job processing numProcessors (%d) Number of processors requested for execution submitTime (%d) Job submission