<?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: Redirecting 'memlimits' into a file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992476#M778820</link>
    <description>If you set TERM=dumb (and assuming that SAP doesn't have its own terminal database) then you should have very few control-characters. You could pipe the output through this filter to only allow printable ASCII, LF, FF, and &lt;TAB&gt; through.&lt;BR /&gt;&lt;BR /&gt;memlimits | tr -cd "[ -~\n\t\f]" &amp;gt; outfile&lt;BR /&gt;&lt;/TAB&gt;</description>
    <pubDate>Fri, 21 Jul 2006 13:57:31 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2006-07-21T13:57:31Z</dc:date>
    <item>
      <title>Redirecting 'memlimits' into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992472#M778816</link>
      <description>hello there..&lt;BR /&gt;&lt;BR /&gt;anyone ever try to redirect /usr/sap/&lt;NAME&gt;/SYS/exe/run/memlimits &amp;gt;&amp;gt; outfile?&lt;BR /&gt;&lt;BR /&gt;a) won't redirect&lt;BR /&gt;b) output still is written to screen&lt;BR /&gt;c) fills outfile with control chars.&lt;BR /&gt;d) vi outfile results in 'line too long' error&lt;BR /&gt;e) fold -s oufile works but is full of control chars.&lt;BR /&gt;&lt;BR /&gt;comments?&lt;BR /&gt;&lt;BR /&gt;The problem is memlimits won't write to outfile when directed from a script and continues to write to the screen.&lt;/NAME&gt;</description>
      <pubDate>Fri, 21 Jul 2006 10:45:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992472#M778816</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2006-07-21T10:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting 'memlimits' into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992473#M778817</link>
      <description>NOTE"  Am using STDOUT and STDERR "...&amp;gt;&amp;gt; outfile 2&amp;gt;&amp;amp;1..."</description>
      <pubDate>Fri, 21 Jul 2006 10:53:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992473#M778817</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2006-07-21T10:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting 'memlimits' into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992474#M778818</link>
      <description>&lt;BR /&gt;I suspect that SAP is helping you out by always writing on /dev/tty. It is also possible that they are writing to a file descriptor greater than 2 (stderr); a run under tusc would tell you which file descriptor is being used.  &lt;BR /&gt;&lt;BR /&gt;I suggest that you minimize the number of extraneous characters by setting and exporting TERM=dumb.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Jul 2006 11:32:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992474#M778818</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-07-21T11:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting 'memlimits' into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992475#M778819</link>
      <description>That helped a great deal in the sense that outfile filled with readable ascii chars top and bottom which provided me with the info I was seeking but still through in a bunch of control chars that I'm going to have to filter out at a latter time.&lt;BR /&gt;&lt;BR /&gt;Thanks again Clay.</description>
      <pubDate>Fri, 21 Jul 2006 12:45:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992475#M778819</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2006-07-21T12:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting 'memlimits' into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992476#M778820</link>
      <description>If you set TERM=dumb (and assuming that SAP doesn't have its own terminal database) then you should have very few control-characters. You could pipe the output through this filter to only allow printable ASCII, LF, FF, and &lt;TAB&gt; through.&lt;BR /&gt;&lt;BR /&gt;memlimits | tr -cd "[ -~\n\t\f]" &amp;gt; outfile&lt;BR /&gt;&lt;/TAB&gt;</description>
      <pubDate>Fri, 21 Jul 2006 13:57:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992476#M778820</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-07-21T13:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting 'memlimits' into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992477#M778821</link>
      <description>When I try this I get white space, carriage returns and 2 sets of dashed lines.  Using :  | tr -cd "[ -~\n\t\f]" produced similar results filtering regular expressions like :graph:, :print:, :alnum:, etc.&lt;BR /&gt;&lt;BR /&gt;thanks !</description>
      <pubDate>Mon, 24 Jul 2006 16:33:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992477#M778821</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2006-07-24T16:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting 'memlimits' into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992478#M778822</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can filter many 'motion escapes' out with col -bx&lt;BR /&gt;&lt;BR /&gt;(see man page).&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Tue, 25 Jul 2006 06:01:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992478#M778822</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-07-25T06:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting 'memlimits' into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992479#M778823</link>
      <description>Hey, that worked just fine!&lt;BR /&gt;&lt;BR /&gt;#  memlimits | col -bx &amp;gt; outfile&lt;BR /&gt;&lt;BR /&gt;Many Thanks!</description>
      <pubDate>Tue, 25 Jul 2006 15:00:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992479#M778823</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2006-07-25T15:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting 'memlimits' into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992480#M778824</link>
      <description>.</description>
      <pubDate>Tue, 25 Jul 2006 15:00:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-memlimits-into-a-file/m-p/4992480#M778824</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2006-07-25T15:00:53Z</dc:date>
    </item>
  </channel>
</rss>

