[Tru64]: Random output of 'ps' command
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix True 64 > [Tru64]: Random output of 'ps' command




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [Tru64]: Random output of 'ps' command  
Vecchiato, Michele


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-11-05 07:54 AM

Problem:

The command "ps -eo args" generate random output
(executed on OSF1 V5.1 732 alpha system):

...
/usr/sbin/binlogd
[syslogd]                <---
/usr/sbin/mountd -i
...

or

...
/usr/sbin/binlogd
/usr/sbin/syslogd        <---
/usr/sbin/mountd -i
...

Why this different output?
Excuse me for the bad english, but i'm italian  

Michele

--
Michele Vecchiato
|_|0|_| <callto://m.vecchiato>
|_|_|0| <http://skia.altervista.org>
|0|0|0| <mailto:michele.vecchiato@gmail.com>
--
Michele Vecchiato
|_|0|_| <callto://m.vecchiato>
|_|_|0| <http://skia.altervista.org>
|0|0|0| <mailto:michele.vecchiato@gmail.com>





[ Post a follow-up to this message ]



    Re: [Tru64]: Random output of 'ps' command  
nafc@snet.net


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-11-05 11:00 PM

Michele,

This is from the manpage for 'ps':

-f  Attempts to generate a full listing. Under certain circumstances,
the
-f option does not return the full path and arguments of a
process.
Instead, it will return a bracketed process name such as
[process_name].  This behavior conforms with the XPG4 standard.

Although it's for the -f option it seems to apply here as well.  In
other words, it's normal behavior.

nafc

Vecchiato, Michele wrote:
> Problem:
>
> The command "ps -eo args" generate random output
> (executed on OSF1 V5.1 732 alpha system):
>
> ...
> /usr/sbin/binlogd
> [syslogd]                <---
> /usr/sbin/mountd -i
> ...
>
> or
>
> ...
> /usr/sbin/binlogd
> /usr/sbin/syslogd        <---
> /usr/sbin/mountd -i
> ...
>
> Why this different output?
> Excuse me for the bad english, but i'm italian  
>
> Michele
>
> --
> Michele Vecchiato
> |_|0|_| <callto://m.vecchiato>
> |_|_|0| <http://skia.altervista.org>
> |0|0|0| <mailto:michele.vecchiato@gmail.com>
> --
> Michele Vecchiato
> |_|0|_| <callto://m.vecchiato>
> |_|_|0| <http://skia.altervista.org>
> |0|0|0| <mailto:michele.vecchiato@gmail.com>






[ Post a follow-up to this message ]



    Re: [Tru64]: Random output of 'ps' command  
Bob Harris


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-12-05 01:49 AM

In article <437440a5$0$8488$5fc30a8@news.tiscali.it>,
"Vecchiato, Michele" <michele.vecchiato@gmail.com> wrote:

> Problem:
>
> The command "ps -eo args" generate random output
> (executed on OSF1 V5.1 732 alpha system):
>
> ...
> /usr/sbin/binlogd
> [syslogd]                <---
> /usr/sbin/mountd -i
> ...
>
> or
>
> ...
> /usr/sbin/binlogd
> /usr/sbin/syslogd        <---
> /usr/sbin/mountd -i
> ...
>
> Why this different output?
> Excuse me for the bad english, but i'm italian  
>
> Michele
>
> --
> Michele Vecchiato
> |_|0|_| <callto://m.vecchiato>
> |_|_|0| <http://skia.altervista.org>
> |0|0|0| <mailto:michele.vecchiato@gmail.com>

I'm not totally sure, but I think this happens when the process is
swapped out, so that the only information still in memory is the
program name.  To get the rest would require swapping in the
process, and that can be very annoying to have ps thrash the
system.

Bob Harris





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:48 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register