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] On Behalf Of Peter Steiner
Sent: 28 September 2010 10:58
To: 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
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

--

_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to