<?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 Re: linux command in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-command/m-p/2777400#M78865</link>
    <description>You have got also vmstat&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;Benoit</description>
    <pubDate>Thu, 01 Aug 2002 11:19:20 GMT</pubDate>
    <dc:creator>benoit Bruckert</dc:creator>
    <dc:date>2002-08-01T11:19:20Z</dc:date>
    <item>
      <title>linux command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-command/m-p/2777398#M78863</link>
      <description>red hat linux 7.2&lt;BR /&gt;1. how do i check total cpu time spent executing in user mode ,system mode and has been idle.&lt;BR /&gt;2. how do i know how many disk read/write request have been made?</description>
      <pubDate>Thu, 01 Aug 2002 08:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-command/m-p/2777398#M78863</guid>
      <dc:creator>karunesh reddy</dc:creator>
      <dc:date>2002-08-01T08:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: linux command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-command/m-p/2777399#M78864</link>
      <description>1. "top" or "sar"&lt;BR /&gt;&lt;BR /&gt;2. "sar -b"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Paul</description>
      <pubDate>Thu, 01 Aug 2002 10:25:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-command/m-p/2777399#M78864</guid>
      <dc:creator>Paul R. Dittrich</dc:creator>
      <dc:date>2002-08-01T10:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: linux command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-command/m-p/2777400#M78865</link>
      <description>You have got also vmstat&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;Benoit</description>
      <pubDate>Thu, 01 Aug 2002 11:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-command/m-p/2777400#M78865</guid>
      <dc:creator>benoit Bruckert</dc:creator>
      <dc:date>2002-08-01T11:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: linux command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-command/m-p/2777401#M78866</link>
      <description>I think you can use "pstat" but I personnally don't know how to use it properrly.&lt;BR /&gt;&lt;BR /&gt;See `man pstat`.&lt;BR /&gt;&lt;BR /&gt;Take care!</description>
      <pubDate>Fri, 02 Aug 2002 11:07:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-command/m-p/2777401#M78866</guid>
      <dc:creator>Raynald Boucher</dc:creator>
      <dc:date>2002-08-02T11:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: linux command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-command/m-p/2777402#M78867</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this again, as all the other info you requested in your other threads, is retrievable from /proc/stat&lt;BR /&gt;&lt;BR /&gt;I won't do the parsing here as I  trust you can do it yourself (use Perl, awk, sed, cut etc)&lt;BR /&gt;&lt;BR /&gt;1) cpu times&lt;BR /&gt;&lt;BR /&gt;grep for "cpu":&lt;BR /&gt;&lt;BR /&gt;# grep cpu /proc/stat &lt;BR /&gt;cpu  150081 641 30293 34879317&lt;BR /&gt;cpu0 150081 641 30293 34879317&lt;BR /&gt;&lt;BR /&gt;The numbers are 1/100th secs for cpu time spent in&lt;BR /&gt;user mode, low priority user mode, sys mode, idle time&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2) disk I/O&lt;BR /&gt;&lt;BR /&gt;grep  for "disk_io":&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# grep disk_io /proc/stat &lt;BR /&gt;disk_io: (8,0):(394375,242327,7461810,152048,7081216) (11,0):(5781,5781,1301464,&lt;BR /&gt;0,0) &lt;BR /&gt;&lt;BR /&gt;A full explanation can be found in "man proc".&lt;BR /&gt;The pair of numbers before the colons are the (major,minor) of the block devices.&lt;BR /&gt;# ll /dev/sda /dev/scd0&lt;BR /&gt;brw-rw----    1 root     disk      11,   0 Apr 11 16:25 /dev/scd0&lt;BR /&gt;brw-rw----    1 root     disk       8,   0 Apr 11 16:25 /dev/sda&lt;BR /&gt;&lt;BR /&gt;As you can see the above dump refers to my 1st SCSI HD  (8,0) and my CD writer (11,0)&lt;BR /&gt;&lt;BR /&gt;The numbers following the colon are :&lt;BR /&gt;(total I/Os, read I/Os, blocks read, write I/Os, blocks written)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 11:55:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-command/m-p/2777402#M78867</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-08-06T11:55:38Z</dc:date>
    </item>
  </channel>
</rss>

