Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. srjordan

    Trying to get the first and last words from a long ps -ef?

    That's great! I also came up with a perl solution since "ps" has a 2048 character limit. This script will give you all the java processes running on a box but will leave out all classpath stuff giving you (hopefully) the information you'll need to actually identify the process. It will also...
  2. srjordan

    Command to display the entire process without truncating?

    Woo Hoo good news! But I'll save it till the end. First of all, bjverzal, thank-you for posting however the process still gets truncated. guggach, thank-you as well for your input and you are correct. ps does have a limit but I'm not sure if it is 80 chars since my post above displays a lot...
  3. srjordan

    Command to display the entire process without truncating?

    Thanks Rod, I'm a little new to perl. However, I've been working on it since you posted your reply. We were running perl 5.6.0 and it would appear that I required perl 5.8 to compile the Proc::ProcessTable module. So I downloaded and installed perl 5.8.0-2 and then I was able to compile the...
  4. srjordan

    Command to display the entire process without truncating?

    Rod, thanks for the reply. I still get a truncated result but at least I understand the -o parameter a little more. For example, if I run ps -ef -o ruser,pid,args|grep 32070 I get back (check out the end, it's truncated) was_env 32070 /usr/WebSphere/AppServer5/java/bin/java...
  5. srjordan

    Command to display the entire process without truncating?

    Hello everyone, I'm trying to display an entire process without truncating the end of it in AIX (via ps). Does anyone know a way of doing this? This seems like a very basic task and I've found a few people who've asked the question and a few answers but nobody seems to be able to do it in AIX...
  6. srjordan

    Trying to get the first and last words from a long ps -ef?

    I think the command is "ps auww" in AIX as far as I can tell but that didn't work. When I try ps auww I see the processes but they are truncated. So even without the grep, the output is truncated. I'm guessing there is a limit to the number of characters that ps can display in aix but I...
  7. srjordan

    Trying to get the first and last words from a long ps -ef?

    Thanks fjchia for the reply, that gets me a little closer. I ran the command and got back the expected result for the specific example above, ie, I got back was_coo 22112 -CCjar=CooNuansMonitorAppClient.jar which is excellent. However, a few of the processes have really, really long...
  8. srjordan

    Trying to get the first and last words from a long ps -ef?

    Hi everyone, I'm trying to get the first and last strings of a process from the result of a ps -ef command in AIX. For example, if I do a ps -ef|grep java, here's one of the results: (I'll spare you the rest of them :) ) was_coo 29212 1 0 Jun 11 pts/2 0:00 /bin/sh...

Part and Inventory Search

Back
Top