ps question
am 26.11.2007 21:19:59 von rvaede
Solaris 10.
I am doing a /usr/ucb/ps -aux | sort -k 3 - this will sort the
process by highest cpu
I want to capture the whole path of the process, which is on the
very far right.
When I use this command it truncates the process.
Any hints. Thanks
Re: ps question
am 26.11.2007 21:58:10 von Cyrus Kriticos
rvaede@gmail.com wrote:
> Solaris 10.
> I am doing a /usr/ucb/ps -aux | sort -k 3 - this will sort the
> process by highest cpu
>
> I want to capture the whole path of the process, which is on the
> very far right.
> When I use this command it truncates the process.
add -w to ps
--
Best regards | (\_/)
Cyrus | (O.o) This is Bunny. Copy Bunny into your signature
| (> <) to help him on his way to world domination.
Re: ps question
am 26.11.2007 22:04:02 von Cyrus Kriticos
Cyrus Kriticos wrote:
> rvaede@gmail.com wrote:
>> Solaris 10.
>> I am doing a /usr/ucb/ps -aux | sort -k 3 - this will sort the
>> process by highest cpu
>>
>> I want to capture the whole path of the process, which is on the
>> very far right.
>> When I use this command it truncates the process.
>
> add -w to ps
better:
for unlimited width add -ww to ps
--
Best regards | (\_/)
Cyrus | (O.o) This is Bunny. Copy Bunny into your signature
| (> <) to help him on his way to world domination.
Re: ps question
am 26.11.2007 22:23:47 von rvaede
On Nov 26, 4:04 pm, Cyrus Kriticos
wrote:
> Cyrus Kriticos wrote:
> > rva...@gmail.com wrote:
> >> Solaris 10.
> >> I am doing a /usr/ucb/ps -aux | sort -k 3 - this will sort the
> >> process by highest cpu
>
> >> I want to capture the whole path of the process, which is on the
> >> very far right.
> >> When I use this command it truncates the process.
>
> > add -w to ps
>
> better:
> for unlimited width add -ww to ps
>
> --
> Best regards | (\_/)
> Cyrus | (O.o) This is Bunny. Copy Bunny into your signature
> | (> <) to help him on his way to world domination.
in solaris 10 . ps doesn't support the -w
Re: ps question
am 26.11.2007 22:28:50 von Cyrus Kriticos
rvaede@gmail.com wrote:
> On Nov 26, 4:04 pm, Cyrus Kriticos
> wrote:
>> Cyrus Kriticos wrote:
>>> rva...@gmail.com wrote:
>>>> Solaris 10.
>>>> I am doing a /usr/ucb/ps -aux | sort -k 3 - this will sort the
>>>> process by highest cpu
>>>> I want to capture the whole path of the process, which is on the
>>>> very far right.
>>>> When I use this command it truncates the process.
>>> add -w to ps
>> better:
>> for unlimited width add -ww to ps
>
> in solaris 10 . ps doesn't support the -w
You wrote "/usr/ucb/ps" not "/usr/bin/ps"
--
Best regards | (\_/)
Cyrus | (O.o) This is Bunny. Copy Bunny into your signature
| (> <) to help him on his way to world domination.
Re: ps question
am 26.11.2007 22:41:54 von rvaede
On Nov 26, 4:28 pm, Cyrus Kriticos
wrote:
> rva...@gmail.com wrote:
> > On Nov 26, 4:04 pm, Cyrus Kriticos
> > wrote:
> >> Cyrus Kriticos wrote:
> >>> rva...@gmail.com wrote:
> >>>> Solaris 10.
> >>>> I am doing a /usr/ucb/ps -aux | sort -k 3 - this will sort the
> >>>> process by highest cpu
> >>>> I want to capture the whole path of the process, which is on the
> >>>> very far right.
> >>>> When I use this command it truncates the process.
> >>> add -w to ps
> >> better:
> >> for unlimited width add -ww to ps
>
> > in solaris 10 . ps doesn't support the -w
>
> You wrote "/usr/ucb/ps" not "/usr/bin/ps"
>
> --
> Best regards | (\_/)
> Cyrus | (O.o) This is Bunny. Copy Bunny into your signature
> | (> <) to help him on his way to world domination.- Hide quoted text -
>
> - Show quoted text -
You are absolutely right when I put the path in it worked. Thank you