Browse Prior Art Database

System and Method for Displaying Very Long AIX Commands by Overriding POSIX Limitations

IP.com Disclosure Number: IPCOM000016475D
Original Publication Date: 2003-Jun-24
Included in the Prior Art Database: 2003-Jun-24
Document File: 1 page(s) / 48K

Publishing Venue

IBM

Abstract

Due to POSIX limitation (buffer capacity of 2Kbytes for displaying data on a screen), it is impossible with AIX standard commands to display the result of a "ps" command (standard AIX Process Status command), when the size of this result is greater than 2 Kbytes.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 81% of the total text.

Page 1 of 1

System and Method for Displaying Very Long AIX Commands by Overriding

POSIX Limitations

Due to POSIX limitation (buffer capacity of 2Kbytes for displaying data on a screen),it is impossible with AIX standard commands to display the result of a "ps" command (standard AIX Process Status command), when the size of this result is greater than 2 Kbytes.

    Some processes are initiated with commands comprising a great number of arguments (or parameters). The problem is that the"ps" command is unable to display the integrity of the original command. Therefore, it is impossible to make the distinction between several commands (and therefore between associated processes) having quite the same arguments. It results from this that it is impossible to manage these processes correctly, because some arguments are outside the 2 K buffer used to display the result of the "ps" command.

    For instance, in an USF (Unified Server Farm) environment, applications like WAS (Web Application Server) and WPS (WAS Portal Server) start AIX processes with commands having a very long argument list. It is impossible to mark the difference between these processes by means of the standard "ps" command when the searched arguments are outside in the 2K buffer.

    An object of the disclosed tool is to look in memory for AIX processes and arguments, without any buffer size limit, and for a given process, to display the integrity of the argument list.

    The disclosed tool uses the AIX Application Programmer I...