Full ps output listing ... what option?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Full ps output listing ... what option?
# 1  
Old 08-16-2010
Full ps output listing ... what option?

Hi all,

Can someone please advise how to get the full listing of a process using the ps command? Or is this not possible and I can only do this only by process ID?

Output am wanting to have is similar to when running /usr/ucb/ps -auxwww but preferably using "traditional" ps command that I can also use for HP and AIX since these two does not have /usr/ucb./ps.

OS is Solaris 5.10 but would want the equivalent command on HP-UX and AIX as well.

Thanks in advance.

Output from the usual ps -ef :

Code:
server1 29% ps -ef | grep java
  j2eeadm 24839 11631   0 09:14:48 pts/19      0:00 grep java
  j2eeadm 20431 20380   0 09:09:22 pts/15      0:03 /usr/j2se/bin/sparcv9/java -Xmx2048M -XX:+UseLWPSynchronization -XX:-UseParalle
  j2eeadm 21366 21333   0 09:10:18 pts/15      0:02 /usr/j2se/bin/sparcv9/java -Xmx2048M -XX:+UseLWPSynchronization -XX:-UseParalle

Output from /usr/ucb/ps -auxwww:

Code:
# /usr/ucb/ps -auxwww | grep java
j2eeadm    1679  0.2  0.1190536125992 ?        S   Aug 15 45:20 /usr/j2se/bin/sparcv9/java -Xmx2048M -XX:+UseLWPSynchronization -XX:-UseParallelGC -Djava.library.path=../skyjni au.com.skytechnologies.vti.VtiServer vti.cfg
j2eeadm   20431  0.1  0.110892848192 ?        S   Aug 15 13:12 /usr/j2se/bin/sparcv9/java -Xmx2048M -XX:+UseLWPSynchronization -XX:-UseParallelGC -Djava.library.path=../skyjni au.com.skytechnologies.tsx.TsxServer tsx.cfg
j2eeadm   21366  0.0  0.110437646520 ?        S   Aug 15  6:57 /usr/j2se/bin/sparcv9/java -Xmx2048M -XX:+UseLWPSynchronization -XX:-UseParallelGC -Djava.library.path=../skyjni au.com.skytechnologies.sxg.SxgServer sxg.cfg

# 2  
Old 08-16-2010
Have you checked some help for ps comm already?
For instance ...
Framer for AIX5.1 Commands Fastlink
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

PS output is not displaying full process running

I have 4 HPUX 11.31 servers with the same Quality Pack bundles. "AS FAR AS I CAN TELL" no system files have been modified. /usr/bin/ps is the same date size and creation date terminfo file (x-->xterm) is the same date size and creation date shell (ksh) is the same date size and creation date ... (4 Replies)
Discussion started by: mrmurdock
4 Replies

2. Shell Programming and Scripting

Script to generate HTML output format listing like orasnap

Hi, Is there any UNIX scripts out there that generates a listing output of some sort similar to OraSnap At the moment, I have a script that I run on multiple servers that has multiple databases and just querying the database sizes of those databases. It generates a text files that contains... (0 Replies)
Discussion started by: newbie_01
0 Replies

3. Programming

Listing Option Menu Choices from Text File

Hello, I am starting up a tool and one of the initial steps is to select a site/location which is being read from a text file. Here is the text file contents: site1 site2 site3 Here is the code: #!/usr/bin/python from Tkinter import * (3 Replies)
Discussion started by: tattoostreet
3 Replies

4. Shell Programming and Scripting

modify ls -l (long listing format output) strictly using SED only straightforward goalhard 4 me doh

Below is a sample out of ls -l which I would like to rearrange or modify by field numbers for example I successfully managed to disect using simple paragraph however for ls -l I can't divide the rows or fields by field number. Successful modification by fields using SED sample: $ sed -e... (1 Reply)
Discussion started by: wolf@=NK
1 Replies

5. Windows & DOS: Issues & Discussions

DOS Dir - listing of full path and timestamp

Hi, (Apologies, I'm sure I'm not the first person to raise this question but so far in my searches haven't found a good answer). I would like to output a listing per line of filename (including full path) and 'last updated' timestamp. e.g: Z:\dir1\file1.txt 01/02/2010 10:43... (5 Replies)
Discussion started by: GM_AIX
5 Replies

6. AIX

Unable to get the full content into a file when I redirect installp command output..

When i use the command to check the preview of the filesets to be installed using CLI # When using this commad 'm able to see all Preview view of the filesets to be installed installp -apgX -d "." all # When I redirected the same output to a file 'm able to see only half the details... (1 Reply)
Discussion started by: Sounddappan
1 Replies

7. Shell Programming and Scripting

empty option output error

I have a script (multirun.sh) which launches the program bsim_em.x or bsim_es.x depending on the value entered from the screen: > multirun.sh 1 (executes bsim_em.x) > multirun.sh 2 (executes bsim_es.x) which, simplifying, I do with the following lines in the multirun.sh script: if ... (3 Replies)
Discussion started by: josegr
3 Replies

8. UNIX for Dummies Questions & Answers

Listing files with full path

Hi, I need to store all the files in a directory to a text file with its full path. The example below can explain: ./File1.txt ./File2.txt ./Folder1/File11.txt ./Folder1/File12.txt ./Folder1/Folder11/File111.txt ./Folder2/file21.txt : : The ls -R1 command won't give the result as... (5 Replies)
Discussion started by: r_sethu
5 Replies

9. UNIX for Dummies Questions & Answers

Listing full file names with the exact length of 3 characters

This is what I have to do: Display the full file name (including the full path) and file size of all files whose name (excluding the path) is exactly 3 characters long. This is the code I have: find / -printf "Name: %f Path: %h Size: %s (bytes)\n" 2>/dev/null | grep -E "Name: .{3,} Path" |... (7 Replies)
Discussion started by: Joesgrrrl
7 Replies

10. UNIX for Dummies Questions & Answers

Full Directory Listing...

Is there a way of listing everything under a directory. So for example if you wanted to know everything under the USR directory you would get all the sub directories and files in those directories as well as the file directly under the USR directory. I would imagine that you could do this... (5 Replies)
Discussion started by: B14speedfreak
5 Replies
Login or Register to Ask a Question