<?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 pstat_get_commandline() in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036904#M95303</link>
    <description>&lt;P&gt;Hi to all.&lt;BR /&gt;I have several servers running with HP-UX 11.11 and my command line has only capacity for 64 characters until it breaks the line and not able to see anymore the beginning of it.&lt;BR /&gt;I have been told that there is an enhacement that makes the command line to have 1020 characters or so, and I am looking about it and don´t find anything on how doing it.&lt;BR /&gt;Anyone could help me with this???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S.This thread has been moved from HP-UX&amp;gt;System Administration to HP-UX &amp;gt; languages- HP Forums Moderator&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jan 2013 03:53:38 GMT</pubDate>
    <dc:creator>catastro</dc:creator>
    <dc:date>2013-01-02T03:53:38Z</dc:date>
    <item>
      <title>pstat_get_commandline()</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036904#M95303</link>
      <description>&lt;P&gt;Hi to all.&lt;BR /&gt;I have several servers running with HP-UX 11.11 and my command line has only capacity for 64 characters until it breaks the line and not able to see anymore the beginning of it.&lt;BR /&gt;I have been told that there is an enhacement that makes the command line to have 1020 characters or so, and I am looking about it and don´t find anything on how doing it.&lt;BR /&gt;Anyone could help me with this???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S.This thread has been moved from HP-UX&amp;gt;System Administration to HP-UX &amp;gt; languages- HP Forums Moderator&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2013 03:53:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036904#M95303</guid>
      <dc:creator>catastro</dc:creator>
      <dc:date>2013-01-02T03:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: pstat_get_commandline()</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036905#M95304</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Same for all servers?&lt;BR /&gt;&lt;BR /&gt;Check your TERM variable.&lt;BR /&gt;&lt;BR /&gt;Are you using a standard one?&lt;BR /&gt;&lt;BR /&gt;echo $TERM&lt;BR /&gt;&lt;BR /&gt;stty -a&lt;BR /&gt;env&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Look for strangeness.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 28 Mar 2007 07:02:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036905#M95304</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-03-28T07:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: pstat_get_commandline()</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036906#M95305</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If you are referring to the command line interface 'ps' then add the '-x' switch to see up to 1024 bytes.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 28 Mar 2007 07:16:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036906#M95305</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-03-28T07:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: pstat_get_commandline()</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036907#M95306</link>
      <description>My understanding of this is that the underlying system call (pstat(2)) was changed to allow the ps -x functionality, but the function is not documented and is meant for HP use only.&lt;BR /&gt;&lt;BR /&gt;If you have access to the ITRC knowledge base, document KBRC00006317 will tell you all you need to know.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Wed, 28 Mar 2007 08:16:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036907#M95306</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2007-03-28T08:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: pstat_get_commandline()</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036908#M95307</link>
      <description>I donÂ´t see any estrange thing in these parameters. What do you mean with the ps -x functionality?&lt;BR /&gt;&lt;BR /&gt;server1:root&amp;gt;echo $TERM&lt;BR /&gt;vt220&lt;BR /&gt;server1:root&amp;gt;stty -a&lt;BR /&gt;speed 9600 baud; line = 0; &lt;BR /&gt;rows = 24; columns = 80&lt;BR /&gt;min = 4; time = 0; &lt;BR /&gt;intr = ^C; quit = ^\; erase = ^H; kill = ^U&lt;BR /&gt;eof = ^D; eol = ^@; eol2 = ^@; swtch = ^@&lt;BR /&gt;stop = ^S; start = ^Q; susp = ^Z; dsusp &lt;UNDEF&gt;&lt;BR /&gt;werase = ^W; lnext = ^V&lt;BR /&gt;-parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts &lt;BR /&gt;-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc &lt;BR /&gt;ixon -ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak &lt;BR /&gt;isig icanon -iexten -xcase echo echoe echok -echonl -noflsh &lt;BR /&gt;-echoctl -echoprt -echoke -flusho -pendin &lt;BR /&gt;opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop &lt;BR /&gt;server1:root&amp;gt;env&lt;BR /&gt;_=/usr/bin/env&lt;BR /&gt;TMPDIR=/u7/TMP&lt;BR /&gt;MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/u&lt;BR /&gt;sr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:&lt;BR /&gt;/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/o&lt;BR /&gt;pt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/&lt;BR /&gt;man:/opt/mx/share/man:/usr/dt/share/man:/opt/samba/man:/opt/gnome/man:/opt/perl/&lt;BR /&gt;man:/opt/wbem/share/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/gr&lt;BR /&gt;aphics/common/man:/opt/aCC/share/man/%L:/opt/aCC/share/man:/opt/audio/share/man:&lt;BR /&gt;/opt/ansic/share/man/%L:/opt/ansic/share/man:/opt/langtools/share/man/%L:/opt/la&lt;BR /&gt;ngtools/share/man:/opt/image/share/man:/opt/imake/man:/opt/cobol/cobdir/man:/opt&lt;BR /&gt;/hpnpl//man:/opt/dtcmgr/share/man:/opt/ssh/share/man:/opt/resmon/share/man/%L:/o&lt;BR /&gt;pt/resmon/share/man:/opt/openssl/man:/opt/openssl/prngd/man&lt;BR /&gt;SSH_TTY=/dev/pts/0&lt;BR /&gt;PATH=/conect:/etc/:/usr/sbin:/sbin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/opt/per&lt;BR /&gt;l/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/&lt;BR /&gt;fcms/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/resmon/bin:/opt/mx/b&lt;BR /&gt;in:/opt/gnome/bin:/opt/mozilla:/opt/wbem/bin:/opt/wbem/sbin:/opt/ignite/bin:/usr&lt;BR /&gt;/sbin/diag/contrib:/opt/graphics/common/bin:/opt/aCC/bin:/opt/langtools/bin:/opt&lt;BR /&gt;/imake/bin:/opt/cobol/bin:/opt/hpnpl//bin:/opt/dtcmgr/sbin:/opt/OV/bin/OpC:/opt/&lt;BR /&gt;OV/bin:/opt/ssh/bin:&lt;BR /&gt;COLUMNS=80&lt;BR /&gt;EDITOR=vi&lt;BR /&gt;LOGNAME=root&lt;BR /&gt;MAIL=/var/mail/root&lt;BR /&gt;ERASE=^H&lt;BR /&gt;PS1=server1:root&amp;gt;&lt;BR /&gt;USER=root&lt;BR /&gt;SHELL=/usr/bin/ksh&lt;BR /&gt;HOME=/conect&lt;BR /&gt;SSH_CONNECTION=10.57.224.72 53132 10.57.212.10 22&lt;BR /&gt;SSH_CLIENT=10.57.224.72 53132 22&lt;BR /&gt;TERM=vt220&lt;BR /&gt;PWD=/conect&lt;BR /&gt;TZ=MET-1METDST&lt;BR /&gt;LINES=24&lt;/UNDEF&gt;</description>
      <pubDate>Wed, 28 Mar 2007 08:36:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036908#M95307</guid>
      <dc:creator>catastro</dc:creator>
      <dc:date>2007-03-28T08:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: pstat_get_commandline()</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036909#M95308</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; What do you mean with the ps -x functionality? &lt;BR /&gt;&lt;BR /&gt;By that I mean add that switch to your 'ps' command to enable the display of ong (larger than 64-character) commandline information for the process displayed.  Up to 1024 characters are supported.&lt;BR /&gt;&lt;BR /&gt;As Duncan notes, if your question concerns using 'pstat()'s PSAT_GETCOMMANDLINE, then similar extensability is not documented nor supported for it.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 28 Mar 2007 08:52:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036909#M95308</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-03-28T08:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: pstat_get_commandline()</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036910#M95309</link>
      <description>Maybe an example of ps -x would help:&lt;BR /&gt;&lt;BR /&gt;# ps -ef | grep [n]etfmt&lt;BR /&gt;    root   664   663  0 13:54:35 ?         0:00 /usr/sbin/netfmt -C -F -f /var/adm/nettl.LOG000 -c /var/adm/con&lt;BR /&gt;# ps -efx | grep [n]etfmt&lt;BR /&gt;    root   664   663  0 13:54:35 ?         0:00 /usr/sbin/netfmt -C -F -f /var/adm/nettl.LOG000 -c /var/adm/conslog.opts&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Mar 2007 09:05:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036910#M95309</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2007-03-28T09:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: pstat_get_commandline()</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036911#M95310</link>
      <description>Thanks to all of you.&lt;BR /&gt;It threw more light to my question with your comments and specially with the document Duncan told me to look at. I have found the solution for it.&lt;BR /&gt;Again thanks a lot</description>
      <pubDate>Wed, 28 Mar 2007 09:14:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pstat-get-commandline/m-p/5036911#M95310</guid>
      <dc:creator>catastro</dc:creator>
      <dc:date>2007-03-28T09:14:52Z</dc:date>
    </item>
  </channel>
</rss>

