Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* [Tru64]: Random output of 'ps' command
@ 2005-11-11  6:58 Vecchiato, Michele
  2005-11-11 15:31 ` nafc
  2005-11-12  1:36 ` Bob Harris
  0 siblings, 2 replies; 3+ messages in thread
From: Vecchiato, Michele @ 2005-11-11  6:58 UTC (permalink / raw)


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>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Tru64]: Random output of 'ps' command
  2005-11-11  6:58 [Tru64]: Random output of 'ps' command Vecchiato, Michele
@ 2005-11-11 15:31 ` nafc
  2005-11-12  1:36 ` Bob Harris
  1 sibling, 0 replies; 3+ messages in thread
From: nafc @ 2005-11-11 15:31 UTC (permalink / raw)


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>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Tru64]: Random output of 'ps' command
  2005-11-11  6:58 [Tru64]: Random output of 'ps' command Vecchiato, Michele
  2005-11-11 15:31 ` nafc
@ 2005-11-12  1:36 ` Bob Harris
  1 sibling, 0 replies; 3+ messages in thread
From: Bob Harris @ 2005-11-12  1:36 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-12  1:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-11  6:58 [Tru64]: Random output of 'ps' command Vecchiato, Michele
2005-11-11 15:31 ` nafc
2005-11-12  1:36 ` Bob Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox