<?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 linux commands in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-commands/m-p/2780204#M78860</link>
    <description>Red hat 7.2 linux&lt;BR /&gt;&lt;BR /&gt;1. how can i check for  how long ( in&lt;BR /&gt;days ,hours and mintues) has it been&lt;BR /&gt;since  the system was  last boot?&lt;BR /&gt;&lt;BR /&gt;2.what command will let me check for&lt;BR /&gt;how  many contex switches has the&lt;BR /&gt;kernel  performed.&lt;BR /&gt;</description>
    <pubDate>Mon, 05 Aug 2002 23:43:03 GMT</pubDate>
    <dc:creator>karunesh reddy</dc:creator>
    <dc:date>2002-08-05T23:43:03Z</dc:date>
    <item>
      <title>linux commands</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-commands/m-p/2780204#M78860</link>
      <description>Red hat 7.2 linux&lt;BR /&gt;&lt;BR /&gt;1. how can i check for  how long ( in&lt;BR /&gt;days ,hours and mintues) has it been&lt;BR /&gt;since  the system was  last boot?&lt;BR /&gt;&lt;BR /&gt;2.what command will let me check for&lt;BR /&gt;how  many contex switches has the&lt;BR /&gt;kernel  performed.&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Aug 2002 23:43:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-commands/m-p/2780204#M78860</guid>
      <dc:creator>karunesh reddy</dc:creator>
      <dc:date>2002-08-05T23:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: linux commands</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-commands/m-p/2780205#M78861</link>
      <description>The first, any Unix user should know:&lt;BR /&gt;&lt;BR /&gt;    uptime&lt;BR /&gt;&lt;BR /&gt;Using 'last' should also show you similar details about startup/shutdown/crashes of the system (assuming you don't rotate your utmp/wtmp files).&lt;BR /&gt;&lt;BR /&gt;The latter isn't quite so nice. See if 'sar -w' is enough for you (shows context switches per second).  Beyond that, I'm afraid I don't know of any command to do it.</description>
      <pubDate>Tue, 06 Aug 2002 00:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-commands/m-p/2780205#M78861</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-08-06T00:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: linux commands</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-commands/m-p/2780206#M78862</link>
      <description>Hi part 1 of your question has already been answered.&lt;BR /&gt;Either use the "uptime" command, or&lt;BR /&gt;cat /proc/uptime&lt;BR /&gt;The first number is the uptime of your system since last reboot in seconds.&lt;BR /&gt;Of course you would still have to drill this down to hours, minutes, seconds.&lt;BR /&gt;&lt;BR /&gt;The answer to your 2nd question can also be retrieved from the /proc virtual filesystem (see "man proc" for a complete reference):&lt;BR /&gt;&lt;BR /&gt;# awk '$1~/ctxt/{print $2}' /proc/stat&lt;BR /&gt;14308473&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 10:44:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-commands/m-p/2780206#M78862</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-08-06T10:44:43Z</dc:date>
    </item>
  </channel>
</rss>

