On 12/12/2010 05:34 AM, John P. Rouillard wrote:
>
> In message<4d042711.7090...@umn.edu>,
> Tim Peiffer writes:
>> First, the -title is not needed unless you can't get enough of the
>> command line in the buffer to see what is going on.   In one case I use
>> Solaris 5.10, and I can't get the whole configuration file in the
>> buffer, and I don't know which view I am using.
>
> Have you tried the berkley ps:
>
>    /usr/ucb/ps auxww
>
> should do what you want without the silly 80 character limit on argv
> imposed by the system 5 /usr/bin/ps.
>
>> Second, if one defines
>> which configuration files to use in the SECRC, the configuration details
>> become obscured (eg, the pointer to configuration files are missing from
>> the process table).
>
>     /usr/ucb/ps e
>
> shows the environment variables of the running process.
>
>    man -s 1b ps
>
> should show you the man page.

The solution that John suggested is probably the best one. After 
searching this issue a bit, I found that Solaris kernel stores a copy 
argv array for each process, but imposes a length limit to it. The 
standard Solaris SysV style 'ps' works unfortunately on these copies 
only. The Berkeley ps, however, fetches original argv data from a 
process itself if -ww is given (this of course implies that in order to 
use -ww, you must be superuser or the process owner).
There are of course other opportunities for listing original argv like 
pargs <pid>, but they display info only for one process.
regards,
risto

>
> --
>                               -- rouilj
> John Rouillard
> ===========================================================================
> My employers don't acknowledge my existence much less my opinions.
>
> ------------------------------------------------------------------------------
> Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
> new data types, scalar functions, improved concurrency, built-in packages,
> OCI, SQL*Plus, data movement tools, best practices and more.
> http://p.sf.net/sfu/oracle-sfdev2dev
> _______________________________________________
> Simple-evcorr-users mailing list
> Simple-evcorr-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
>


------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to