Search Results

Search: Posts Made By: fredy
Forum: AIX 12-21-2006
10,511
Posted By fredy
Getting the process full command line
Hi,

I am running java process that has a long command line.
Is there a way to get the full command line?
By running ps -ef has returns around 2000 chars
By running ps eww returns around 2020...
8,074
Posted By fredy
You are right, with 3 www it works fine on...
You are right, with 3 www it works fine on Sun5.10.

I am afraid i made a mistake, the problem occurs on Sun5.9 only.

Does it work for you on Sun5.9?



Thanks,

Fredy
8,074
Posted By fredy
You are right, with 3 www it works fine on...
You are right, with 3 www it works fine on Sun5.10.

I am afraid i made a mistake, the problem occurs on Sun5.9 only.

Does it work for you on Sun5.9?



Thanks,

Fredy
8,074
Posted By fredy
can the problem be in the terminal configuration?
Hi,

Thanks for the answer.

1. what is your configuration of the stty [columns] (stty -a)?
2. what happens if you set the stty columns size bigger the the command line? does the command comes...
8,074
Posted By fredy
Man pages doesn't help
when running with the w option, the output returns to be 80 chars even if the stty is bigger then 80

BTW, i have this problem is on sun5.9 and 5.10
8,074
Posted By fredy
who truncates the output? redirection? tty? Bug?
Hi,

Output of running berkeley ps is truncated to 80 chars when using redirections.
$ /usr/ucb/ps -e 12490|cat #truncated to 80 chars
PID TT S TIME COMMAND
12490 pts/24 S 0:00 sleep 4000...
7,862
Posted By fredy
Still there is a problem - ps - Is it Magic?
Hi,

Output of running berkeley ps is still truncated to 80 chars. getting longer lines is done by changing the stty
$ stty columns 300
$ /usr/ucb/ps -e 12490
PID TT S TIME COMMAND
...
7,799
Posted By fredy
It seems that i don't have privilegesto run dterm...
It seems that i don't have privilegesto run dterm
Is root privileges required?
Is there a way to get it without root privileges?

Thanks in advance,

Fredy
7,799
Posted By fredy
Going to check it... Thanks
Going to check it...
Thanks
7,799
Posted By fredy
Full command line sun 5.10
Hi,
I am running on Sun10 platform. I am trying to retrieve the full command line for a process by running ps (/usr/bin/ps or /usr/ucb/ps).

Running the "/usr/ucb/ps -agxuwwwww PID" with the user...
Forum: Solaris 08-10-2006
13,373
Posted By fredy
Seems to be the solution. Is there a...
Seems to be the solution.

Is there a performance difference between running with/without the specified process id?

Thanks Again,

Fredy
Forum: Solaris 08-10-2006
13,373
Posted By fredy
Writing the pid number, at the end of the ps,...
Writing the pid number, at the end of the ps, seems to support only one pid
/fredy>/usr/ucb/ps -axuwwwww 19475 19485
ps: too many arguments
usage: ps [ -aceglnrSuUvwx ] [ -t term ] [ num ]
Forum: Solaris 08-07-2006
13,373
Posted By fredy
maybe my SunOS doens't work?
the result of `uname -a` is:
SunOS sun6 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-60

when running with -p the result is:
/login/fredy>/usr/ucb/ps -axuwwwww -p"1"
/usr/ucb/ps: illegal option...
Forum: Solaris 08-07-2006
13,373
Posted By fredy
/usr/bin/ps -p equivalent in ucb version
Hi,

Is there an option in /usr/ucb/ps version to get a selected list of processes like in /usr/bin/ps -p"1 3 5" option?

Thanks,

Fredy
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 03:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy