<?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>i.MX ProcessorsのトピックRe: Identify boot ,shutdown or reboot in linux shell script yocto linux</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Identify-boot-shutdown-or-reboot-in-linux-shell-script-yocto/m-p/1071311#M157338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="345131" data-username="vijith.g@honeywell.com" href="https://community.nxp.com/people/vijith.g@honeywell.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 11.9994px;"&gt;vijith G&lt;/A&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;Are you trying to get the run-level of the system?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;For that you can try using below commands:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;$ runlevel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;$ who -r&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;Karan Gajjar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2020 06:49:39 GMT</pubDate>
    <dc:creator>karangajjar</dc:creator>
    <dc:date>2020-07-23T06:49:39Z</dc:date>
    <item>
      <title>Identify boot ,shutdown or reboot in linux shell script yocto linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-boot-shutdown-or-reboot-in-linux-shell-script-yocto/m-p/1071310#M157337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my current project I need to identify running jobs for detecting the system is in reboot or shutdown level.&lt;/P&gt;&lt;P&gt;Using systemctl I knows how to identify the jobs. But in Digi yocto linux i could not find systemctl .Please let me know how can I identify in linux script whether the system is in boot , restart or shutdown level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Vijith G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 06:14:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-boot-shutdown-or-reboot-in-linux-shell-script-yocto/m-p/1071310#M157337</guid>
      <dc:creator>vijith_g1</dc:creator>
      <dc:date>2020-07-22T06:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Identify boot ,shutdown or reboot in linux shell script yocto linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-boot-shutdown-or-reboot-in-linux-shell-script-yocto/m-p/1071311#M157338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="345131" data-username="vijith.g@honeywell.com" href="https://community.nxp.com/people/vijith.g@honeywell.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 11.9994px;"&gt;vijith G&lt;/A&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;Are you trying to get the run-level of the system?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;For that you can try using below commands:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;$ runlevel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;$ who -r&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;Karan Gajjar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2020 06:49:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-boot-shutdown-or-reboot-in-linux-shell-script-yocto/m-p/1071311#M157338</guid>
      <dc:creator>karangajjar</dc:creator>
      <dc:date>2020-07-23T06:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Identify boot ,shutdown or reboot in linux shell script yocto linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-boot-shutdown-or-reboot-in-linux-shell-script-yocto/m-p/1071312#M157339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="345131" data-objecttype="3" href="https://community.nxp.com/people/vijith.g@honeywell.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; font-size: 11.9994px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;vijith G&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;Different yocto version has big change.Can you tell me the yocto version you used?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #646464; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #646464; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;zhiming&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2020 09:03:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-boot-shutdown-or-reboot-in-linux-shell-script-yocto/m-p/1071312#M157339</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2020-07-23T09:03:46Z</dc:date>
    </item>
  </channel>
</rss>

