<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Platform LSF Log files in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Platform-LSF-Log-files/m-p/687147#M20181</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to reach the lsb.events log and lsb.acct log to understand the information being written into it so that I can use an automated script to extract the information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have referred the online documentation against both these log files:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.ibm.com/support/knowledgecenter/en/SSWRJV_10.1.0/lsf_config_ref/lsb.acct.5.html" target="_blank" rel="noopener"&gt;https://www.ibm.com/support/knowledgecenter/en/SSWRJV_10.1.0/lsf_config_ref/lsb.acct.5.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to understand where does LSF store the date value in the record. I am able to identify the timestamp but not the date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is a sample record for your reference of LSB.ACCT&lt;/P&gt;&lt;P&gt;"JOB_FINISH" "10.1" 1601151045 523 503 33554434 1 1601151044 0 0 1601151045 "sas" "normal" "" "" "" "abc.demo.sas.com" "/opt/sasinside" "" "" "" "1601151044.523" 0 1 "xyz.demo.sas.com" 32 60.0 "" "abc.sas" 0.003999 0.009998 1660 0 -1 0 0 1042 0 0 0 8 -1 0 0 0 11 2 -1 "" "default" 32512 1 "" "" 0 0 0 "" "" "" "" 0 "" 0 "" -1 "/sas" "" "" "" -1 "" "" 1040 "" 1601151045 "" "" 3 1041 "jfincache" 1032 "0" 1033 "0" 0 -1 0 0 "select[type == local] order[r15s:pg] " "" -1 "" -1 0 "" 0 0 "" 0 "/opt/sasinside" 0 "" 0.000000 0.00 0.00 0.00 0.00 1 "xyz.demo.sas.com" -1 0 0 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reference record of LSB.EVENTS&lt;/P&gt;&lt;P&gt;"JOB_NEW" "10.1" 1601151044 523 503 33554434 1 1601151044 0 0 -65535 0 0 "sas" -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 ""&amp;nbsp;60.00 2 "normal" "" "abc.demo.sas.com" "/opt/sasinside" "" "" "" "" "/home/sas" "1601151044.523" 0 "" "" "" "abc.sas" 0 "" "default" 1 "X86_64" "" "" "" "" 1040 0 "" "" "" -1 -1 -1 0 "" "" -1 "" 0 -1 "" "" 1 1041 "jfincache" 0 0 "" -1 "" -1 "" "/opt/sasinside" "" "" "" 0 -1 0 "" "" 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ankit.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 09:14:19 GMT</pubDate>
    <dc:creator>ankitd</dc:creator>
    <dc:date>2020-09-28T09:14:19Z</dc:date>
    <item>
      <title>Platform LSF Log files</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Platform-LSF-Log-files/m-p/687147#M20181</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to reach the lsb.events log and lsb.acct log to understand the information being written into it so that I can use an automated script to extract the information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have referred the online documentation against both these log files:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.ibm.com/support/knowledgecenter/en/SSWRJV_10.1.0/lsf_config_ref/lsb.acct.5.html" target="_blank" rel="noopener"&gt;https://www.ibm.com/support/knowledgecenter/en/SSWRJV_10.1.0/lsf_config_ref/lsb.acct.5.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to understand where does LSF store the date value in the record. I am able to identify the timestamp but not the date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is a sample record for your reference of LSB.ACCT&lt;/P&gt;&lt;P&gt;"JOB_FINISH" "10.1" 1601151045 523 503 33554434 1 1601151044 0 0 1601151045 "sas" "normal" "" "" "" "abc.demo.sas.com" "/opt/sasinside" "" "" "" "1601151044.523" 0 1 "xyz.demo.sas.com" 32 60.0 "" "abc.sas" 0.003999 0.009998 1660 0 -1 0 0 1042 0 0 0 8 -1 0 0 0 11 2 -1 "" "default" 32512 1 "" "" 0 0 0 "" "" "" "" 0 "" 0 "" -1 "/sas" "" "" "" -1 "" "" 1040 "" 1601151045 "" "" 3 1041 "jfincache" 1032 "0" 1033 "0" 0 -1 0 0 "select[type == local] order[r15s:pg] " "" -1 "" -1 0 "" 0 0 "" 0 "/opt/sasinside" 0 "" 0.000000 0.00 0.00 0.00 0.00 1 "xyz.demo.sas.com" -1 0 0 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reference record of LSB.EVENTS&lt;/P&gt;&lt;P&gt;"JOB_NEW" "10.1" 1601151044 523 503 33554434 1 1601151044 0 0 -65535 0 0 "sas" -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 ""&amp;nbsp;60.00 2 "normal" "" "abc.demo.sas.com" "/opt/sasinside" "" "" "" "" "/home/sas" "1601151044.523" 0 "" "" "" "abc.sas" 0 "" "default" 1 "X86_64" "" "" "" "" 1040 0 "" "" "" -1 -1 -1 0 "" "" -1 "" 0 -1 "" "" 1 1041 "jfincache" 0 0 "" -1 "" -1 "" "/opt/sasinside" "" "" "" 0 -1 0 "" "" 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ankit.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:14:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Platform-LSF-Log-files/m-p/687147#M20181</guid>
      <dc:creator>ankitd</dc:creator>
      <dc:date>2020-09-28T09:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Platform LSF Log files</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Platform-LSF-Log-files/m-p/687168#M20182</link>
      <description>&lt;P&gt;Rather than try to decode their records, I would just write a C program that uses their LS &amp;amp; LSB API.&lt;/P&gt;
&lt;P&gt;The API is described here: &lt;A href="https://www.ibm.com/support/knowledgecenter/SSWRJV_10.1.0/api_reference/index.html" target="_blank"&gt;https://www.ibm.com/support/knowledgecenter/SSWRJV_10.1.0/api_reference/index.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The lsb_geteventrec() and ls_getacctrec() APIs will get the information you are looking for.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:31:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Platform-LSF-Log-files/m-p/687168#M20182</guid>
      <dc:creator>doug_sas</dc:creator>
      <dc:date>2020-09-28T11:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Platform LSF Log files</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Platform-LSF-Log-files/m-p/687495#M20197</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/899"&gt;@doug_sas&lt;/a&gt;&amp;nbsp;has a good idea. &amp;nbsp;(People still use C? &amp;nbsp;Just kidding of course... Perl is my go-to!)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;We use the 'jhist' command and parse that output with SAS. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/rnd/scalability/platform/PSS9.1/lsf9.1.3_command_ref.pdf" target="_blank"&gt;https://support.sas.com/rnd/scalability/platform/PSS9.1/lsf9.1.3_command_ref.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd say the code is still not trivial, but perhaps easier than parsing the log files directly.&lt;BR /&gt;&lt;BR /&gt;FWIW, those numbers look like Unix timestamps to me (&lt;SPAN&gt;1601151044).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:46:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Platform-LSF-Log-files/m-p/687495#M20197</guid>
      <dc:creator>kdebruhl</dc:creator>
      <dc:date>2020-09-29T12:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Platform LSF Log files</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Platform-LSF-Log-files/m-p/688841#M20268</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/899"&gt;@doug_sas&lt;/a&gt;&amp;nbsp; and &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/3871"&gt;@kdebruhl&lt;/a&gt;&amp;nbsp;for your valuable inputs, unfortunately owing to client security policies we do not have a direct access to the SAS environment and receive only the LSF files for analysis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have finally managed to decrypt the date time in a user readable format by using the below Linux command&lt;/P&gt;&lt;P&gt;date -u -d&amp;nbsp;@dateinteger (present in the LSF file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 09:13:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Platform-LSF-Log-files/m-p/688841#M20268</guid>
      <dc:creator>ankitd</dc:creator>
      <dc:date>2020-10-05T09:13:45Z</dc:date>
    </item>
  </channel>
</rss>

