<?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: Regarding bdf output shell script in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/regarding-bdf-output-shell-script/m-p/4140322#M93300</link>
    <description>&lt;!-- !*# --&gt;&lt;P&gt;As in Oviwan's example, you can also have ps(1):&lt;BR /&gt;while true; do&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bdf&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNIX95=EXTENDED_PS ps -ef -C name&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sleep 5&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;If there is a particular filesystem you want to monitor with bdf, you can add that to the above bdf command.&lt;/P&gt;</description>
    <pubDate>Sat, 17 Sep 2011 21:56:06 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-09-17T21:56:06Z</dc:date>
    <item>
      <title>Regarding bdf output shell script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/regarding-bdf-output-shell-script/m-p/4140320#M93298</link>
      <description>I want script for, to print output of bdf and ps -e|grep name &lt;BR /&gt;&lt;BR /&gt;Currently I am running bdf and check process status at regular intervals of time, this is difficult. For this i need a shell programming in a such a way that when i run the script it should print output for bdf and process status.&lt;BR /&gt;&lt;BR /&gt;I am very much new to HP UNIX so pls kindly help in this regard.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2008 06:55:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/regarding-bdf-output-shell-script/m-p/4140320#M93298</guid>
      <dc:creator>Srinivas Vandanapu</dc:creator>
      <dc:date>2008-02-05T06:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding bdf output shell script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/regarding-bdf-output-shell-script/m-p/4140321#M93299</link>
      <description>hey&lt;BR /&gt;&lt;BR /&gt;you can do it with a loop and a sleep time:&lt;BR /&gt;&lt;BR /&gt;a simple example:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;while true ; do&lt;BR /&gt;bdf&lt;BR /&gt;sleep 5&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 05 Feb 2008 08:08:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/regarding-bdf-output-shell-script/m-p/4140321#M93299</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2008-02-05T08:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding bdf output shell script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/regarding-bdf-output-shell-script/m-p/4140322#M93300</link>
      <description>&lt;!-- !*# --&gt;&lt;P&gt;As in Oviwan's example, you can also have ps(1):&lt;BR /&gt;while true; do&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bdf&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNIX95=EXTENDED_PS ps -ef -C name&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sleep 5&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;If there is a particular filesystem you want to monitor with bdf, you can add that to the above bdf command.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2011 21:56:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/regarding-bdf-output-shell-script/m-p/4140322#M93300</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-17T21:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding bdf output shell script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/regarding-bdf-output-shell-script/m-p/4140323#M93301</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;In the 'ps' syntax give by Dennis, he showed the syntax for all processes (and lots of information about each ('-ef') along with the syntax to select ONE process by NAME.&lt;BR /&gt;&lt;BR /&gt;If you want to list all processes, simply do:&lt;BR /&gt;&lt;BR /&gt;# ps -ef&lt;BR /&gt;&lt;BR /&gt;If you want to select a process by NAME, don't 'grep' the process list and risk false matches.  Rather use the XPG4 (known as 'UNIX95') mode:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -C syslogd&lt;BR /&gt;&lt;BR /&gt;Notice carefully that there is simply whitespace after UNIX95= and no colon!  This sets UNIX95 only for the duration of the command line so that it does not impact the behavior of other commands.&lt;BR /&gt;&lt;BR /&gt;When running 'ps' with UNIX95 set, you have the ability to create custom output, like:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -C syslogd -o args -o etime&lt;BR /&gt;&lt;BR /&gt;...to show the 'syslogd' process arguments and elapsed time.&lt;BR /&gt;&lt;BR /&gt;If you run the above, headings for each column of data are supplied.  You can suppress these with "=" characters after the option names:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -C syslogd -o args= -o etime= &lt;BR /&gt;&lt;BR /&gt;Have a look at the 'ps' manpages for more options!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 05 Feb 2008 13:06:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/regarding-bdf-output-shell-script/m-p/4140323#M93301</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-02-05T13:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding bdf output shell script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/regarding-bdf-output-shell-script/m-p/4140324#M93302</link>
      <description>Welcome to HPUX!&lt;BR /&gt;&lt;BR /&gt;The task you describe is a nice one as a reason to learn to use it well. Start with the basic scripts outlined above and improve on them&lt;BR /&gt;&lt;BR /&gt;Now when you have done this for a while, please realize that the problem you are trying to solve is far from unique.&lt;BR /&gt;Many folks have solved similiar problems (too) many times.&lt;BR /&gt;There are commercial tools to do this properly as well as many 'hacks'.&lt;BR /&gt;&lt;BR /&gt;Google +hpux +bdf  +script +site:itrc.hp.com&lt;BR /&gt;And notably look for 'bdfmegs'.&lt;BR /&gt;&lt;BR /&gt;You'll find stuff like:&lt;BR /&gt;&lt;A href="http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1035358" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1035358&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums12.itrc.hp.com/service/forums/questionanswer.do?94954" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/questionanswer.do?94954&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And the collection in:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums12.itrc.hp.com/service/forums/questionanswer.do?51050" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/questionanswer.do?51050&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy!&lt;BR /&gt;Hein van den Heuvel&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2008 13:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/regarding-bdf-output-shell-script/m-p/4140324#M93302</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-02-05T13:19:32Z</dc:date>
    </item>
  </channel>
</rss>

