Getting the full set of command line arguments requires opening the process address space, so has to be done by either the process owner (mysql in this case) or root.
You can also use the pargs command to get the full set of arguments once you know the process id. -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Platform Engineering: X Window System On 07/ 5/11 03:26 AM, Paul Johnston wrote: > That still looks truncated although longer! > > This is for 5.11 oi_151 > > > > paulj@openindiana:~$ ps guaxwww | grep mysql > > mysql 702 0.1 1.25517224212 ? S 08:32:42 0:05 > /usr/mysql/5.1/bin/mysqld --basedir=/usr/mysql/5.1 > --datadir=/var/mysql/5.1/dat > > paulj 1785 0.1 0.1 1904 1068 pts/1 S 11:10:04 0:00 grep mysql > > > > > > Cheers Paul > > *From:*opensolaris-help-boun...@opensolaris.org > [mailto:opensolaris-help-boun...@opensolaris.org] *On Behalf Of *Alan > Hargreaves > *Sent:* 05 July 2011 10:52 > *To:* opensolaris-help@opensolaris.org > *Subject:* Re: [osol-help] How to show the full (=uncut) start command in a > "ps-ef" output? > > > > If you are on openindiana, opensolaris or Solaris 11 Express, then simply use > the ps command with Berkely style args. > > eg > > $ ps guaxwww > > If you are on Solaris 10 or older, you will need to run > > $ /usr/ucb/bin/ps guaxwww > > Regards, > Alan Hargreaves > > > On 07/ 5/11 05:45 PM, Paul Johnston wrote: > > From the man page for ps > > > > CMD (all) > > The command name (the full command name and its argu- > > ments, up to a limit of 80 characters, are printed > > under the -f option). > > > > > > Paul > > > > > > -----Original Message----- > > From: opensolaris-help-boun...@opensolaris.org > <mailto:opensolaris-help-boun...@opensolaris.org> > [mailto:opensolaris-help-boun...@opensolaris.org] On Behalf Of Peter Steiner > > Sent: 28 September 2010 10:58 > > To: opensolaris-help@opensolaris.org <mailto:opensolaris-help@opensolaris.org> > > Subject: [osol-help] How to show the full (=uncut) start command in a "ps-ef" > output? > > > > When I type at the command prompt: > > > > ps -ef|grep foobar > > > > then all the processes which contain the pattern "foobar" are listed. > > > > Unfortunately the last column (=with the start command) is automatically cut > after approx. 50 chars. > > > > How can I display the real full, uncut command? > > -- > > This message posted from opensolaris.org > _______________________________________________ > > opensolaris-help mailing list > > opensolaris-help@opensolaris.org <mailto:opensolaris-help@opensolaris.org> > > _______________________________________________ > > opensolaris-help mailing list > > opensolaris-help@opensolaris.org <mailto:opensolaris-help@opensolaris.org> > > > > -- > > > > > > _______________________________________________ > opensolaris-help mailing list > opensolaris-help@opensolaris.org _______________________________________________ opensolaris-help mailing list opensolaris-help@opensolaris.org