[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Procs --> output of a process from ps -ef is too long
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Procs --> output of a process from ps -ef is too long
- From: Cayo de Moraes <camorae (at) googlemail.com>
- Date: Tue, 24 Nov 2009 17:52:39 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=jrZayYb+buQU+JljMt6Kdp2eSWAa4CsrzCOp9NltI4g=; b=IiGZwuWrqlWb/e5m55P3FrvynFcokSOcIB4iGwLUSyNqCVaRcHYamkZKYncZMLOZlG a1e4UjZYeXUw7irhPQ6oKr+obZ0orLpjP+vTKv8/97z8joio+CpRVHk7X3DXepBUcIa8 u17OZQFy56FkfAsZrsYEmAia+pnKTKNIiCP9o=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BFPuYXe3udOH8XWw2PqTq5v8bRo2FyemYu4pWhH3/PotLl6EwS/WRARJc1OHNgiNPd XNXUWx/qkghRtVNIm36UkkZk58H9YO3Sr8JbrbXsdBp1l8Y74nGWzVKkEwDapgJHPhu7 XW0rnXuWKdNqqUYY5tNh30rkYtvcLw2TS6/kI=
- References: <3d9395ed0911230911o61884fe9j6ae3103adcb2cc9b (at) mail.gmail.com> <E38DCD6606C55F499A4125611AB8D9960884694A (at) cvsexbpd2.Corp.CVS.com> <47D991EF7187A34D9A65691CF485C049075FA614 (at) ATLVMX01.turner.com> <BBA15439DC467648BBAB71E6BA4D990038FCD44820 (at) MERCMBX12.na.sas.com> <47D991EF7187A34D9A65691CF485C049075FA73D (at) ATLVMX01.turner.com> <BBA15439DC467648BBAB71E6BA4D990038FCD44823 (at) MERCMBX12.na.sas.com> <3d9395ed0911240153k2b9e2773s100abf71468bae78 (at) mail.gmail.com> <47D991EF7187A34D9A65691CF485C049075FA8A2 (at) ATLVMX01.turner.com>
yes,
X/Open Standards are with "-" and Berkeley Standards are without "-"... the
problem is, that i cant use both syntax together.
Im still working on it =)
2009/11/24 Sheets, Jerald <Jerald.Sheets (at) turner.com>
> I recall that there are different options for ps based on whether or not
> you used the "-". (it's been a long time!)
>
> good luck! Let us all know what the options wind up being!
>
> --jms
>
> ------------------------------
> *From:* Cayo de Moraes [mailto:camorae (at) googlemail.com]
> *Sent:* Tuesday, November 24, 2009 4:53 AM
> *To:* hobbit (at) hswn.dk
> *Subject:* Re: [hobbit] Procs --> output of a process from ps -ef is too
> long
>
> thanks for this solution guys... now i have to fight a litle bit with the
> syntax under Unix AIX 5.3... its unfortunately not the same as in Linux
>
>
>
>
> 2009/11/23 Galen Johnson <Galen.Johnson (at) sas.com>
>
>> no, your ps statement was REALLY tiny in the email I responded to. In
>> plain text, it looks normal.
>>
>> =G=
>>
>> ________________________________________
>> From: Sheets, Jerald [Jerald.Sheets (at) turner.com]
>> Sent: Monday, November 23, 2009 3:59 PM
>> To: hobbit (at) hswn.dk
>> Subject: RE: [hobbit] Procs --> output of a process from ps -ef is too
>> long
>>
>> Well, I would've figured that if it was wrapping, it would actually be
>> easier to find the string he's looking for at the end of the Java line. If
>> it was truncating, he wasn't getting it at all.
>>
>> Did I err in that assumption somewhere?
>>
>> --j
>>
>> -----Original Message-----
>> From: Galen Johnson [mailto:Galen.Johnson (at) sas.com]
>> Sent: Monday, November 23, 2009 3:19 PM
>> To: hobbit (at) hswn.dk
>> Subject: RE: [hobbit] Procs --> output of a process from ps -ef is too
>> long
>>
>> When they said too long, I didn't think they meant a smaller font (those
>> of you who received the previous email in html know what I'm talking about.
>> ;-)
>>
>> =G=
>> ________________________________________
>> From: Sheets, Jerald [Jerald.Sheets (at) turner.com]
>> Sent: Monday, November 23, 2009 1:32 PM
>> To: hobbit (at) hswn.dk
>> Subject: RE: [hobbit] Procs --> output of a process from ps -ef is too
>> long
>>
>> Interesting.
>>
>> I was just checking out the output in Xymon 4.3.0-0.beeta2, and the
>> process listing under "procs" is not truncated at all for me.
>>
>> I was about to setup a new check, and see what I could come up with, and I
>> happened to catch the Xymon command that was run in that process listing,
>> and it was:
>>
>>
>> ps -Aww -o pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd
>>
>>
>> Good catch!
>>
>> Jerald Sheets
>> Sr. Systems Engineer
>> CNN News Systems
>> ? Jerald.Sheets (at) turner.com
>> * 404.878.0566 È404.293.8762
>>
>> ________________________________
>> From: Brand, Thomas R. [mailto:TRBrand (at) cvs.com]
>> Sent: Monday, November 23, 2009 1:27 PM
>> To: hobbit (at) hswn.dk
>> Subject: RE: [hobbit] Procs --> output of a process from ps -ef is too
>> long
>>
>> From: Cayo de Moraes [mailto:camorae (at) googlemail.com]
>> Sent: Monday, November 23, 2009 12:12 PM
>> To: hobbit (at) hswn.dk
>> Subject: [hobbit] Procs --> output of a process from ps -ef is too long
>>
>> Hello guys,
>>
>> im having some problems to monitor processes with a long output (most of
>> them are java processes). Hobbit seems to cut the output at certain size and
>> i have to look for a string which appears at the end of the output.
>>
>> where can i change this length limit?
>>
>>
>> I had the same problem, also with java processes.
>>
>> Assuming you are using Linux, look in the
>> ~hobbit/client/bin/hobbitclient-linux.sh, look for the line echo "[ps]"
>>
>> Change the 'ps ' command which follows according to your systems
>> requirements.
>> For example, under SLES, I had to add 'ww' and changee it to:
>> ps -Aww -o pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd
>>
>>
>>
>> Tom Brand
>> Disclaimer: 1) all opinions are my own, 2) I may be completely wrong, 3)
>> my advice is worth at least as much as what you are paying for it, or your
>> money cheerfully refunded.
>>
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe (at) hswn.dk
>>
>>
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe (at) hswn.dk
>>
>>
>>
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe (at) hswn.dk
>>
>>
>>
>