Re: Top behavior differences

2006-09-13 Thread Giorgos Keramidas
On 2006-09-10 18:04, stan [EMAIL PROTECTED] wrote:
 On Sun, Sep 10, 2006 at 11:57:05AM -0400, Bob Hall wrote:
  On Sun, Sep 10, 2006 at 08:56:31AM -0400, stan wrote:
   Can someone explain to me why top's handling of multi processor
   status display is different on FreeBSD, than it is on Linux?
  
  Open source started with the concept of individuals hacking the source
  code to get the features they want. The commericial ideal of users paying
  for features they want was replaced by the ideal of users doing the work
  to create the features they want. Open source has evolved into the
  concept of many users getting a free ride as a relatively small number
  of open source programmers do the work for them, without pay. 
  
  Possible reasons why open source software X doesn't have feature Y:
  
  -- Long discussion of open source philosophy dleted ---
 
 Once upon a time, when people posted on lists like this, they got 
 well reasoned technical answers.
 
 The question I was really asking, is if there is a technical
 reason for this difference (eg difernt sturctures for obatining
 the information in the 2 OS's). The reason that i feel this is
 an apropriate place to ask such a question, is that top is NOT 
 a port, but is provided by the base OS in FreeBSD.

There are technical reasons.  The top(1) utility peeks into kernel
structures, such as process lists, memory usage information and other
stuff, and our current FreeBSD version has been changed, fixed and
augmented with new features as FreeBSD was developed.  I doubt that it
can run unmodified on Linux.

What sort of technical details are you interested in?  I've made some
changes to top(1) myself, so maybe I can tell you what the differences
are if you have something specific in mind :)

- Giorgos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Top behavior differences

2006-09-10 Thread stan
Can someone explain to me why top's handling of multi processor
status display is different on FreeBSD, than it is on Linux?

On Linux you can enter a 1 and the status header provides a display
for each processor. I think this is a lot more informative that the
FreeBSD way of doing this. Or am I missing how to obtain the
same information in FreeBSD? Perhaps some other tool? Or
a different command to top?
-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Top behavior differences

2006-09-10 Thread Bob Hall
On Sun, Sep 10, 2006 at 08:56:31AM -0400, stan wrote:
 Can someone explain to me why top's handling of multi processor
 status display is different on FreeBSD, than it is on Linux?

Open source started with the concept of individuals hacking the source
code to get the features they want. The commericial ideal of users paying
for features they want was replaced by the ideal of users doing the work
to create the features they want. Open source has evolved into the
concept of many users getting a free ride as a relatively small number
of open source programmers do the work for them, without pay. 

Possible reasons why open source software X doesn't have feature Y:

1) The people who created X weren't interested in feature Y. Since they
were doing unpaid work, they created the features they were interested
in.

2) The core code of X was written before the technological advance that
made feature Y useful, and no one has needed feature Y badly enough to
add it to X.

3) The creators of X didn't think of feature Y, and no one has gotten in
touch with the maintainers to suggest it.

4) Only one or two people want feature Y, and the amount of work
necessary to add it to X greatly exceeds the benefit of providing a
feature for one or two people. Also, no one has contacted the
maintainers of X to ask how much it would cost to change their minds
about this.

5) No one wants feature Y badly enough to devote the necessary free
time to learn the skills and do the work necessary to create it. Since
it's not high on anyone's list of things to do in their spare time,
everyone has chosen to wait until it moves to the top of someone else's
list of things to do in their spare time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Top behavior differences

2006-09-10 Thread stan
On Sun, Sep 10, 2006 at 11:57:05AM -0400, Bob Hall wrote:
 On Sun, Sep 10, 2006 at 08:56:31AM -0400, stan wrote:
  Can someone explain to me why top's handling of multi processor
  status display is different on FreeBSD, than it is on Linux?
 
 Open source started with the concept of individuals hacking the source
 code to get the features they want. The commericial ideal of users paying
 for features they want was replaced by the ideal of users doing the work
 to create the features they want. Open source has evolved into the
 concept of many users getting a free ride as a relatively small number
 of open source programmers do the work for them, without pay. 
 
 Possible reasons why open source software X doesn't have feature Y:
 
 -- Long discussion of open source philosophy dleted ---

Once upon a time, when people posted on lists like this, they got 
well reasoned technical answers.

The question I was really asking, is if there is a technical
reason for this difference (eg difernt sturctures for obatining
the information in the 2 OS's). The reason that i feel this is
an apropriate place to ask such a question, is that top is NOT 
a port, but is provided by the base OS in FreeBSD.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Top behavior differences

2006-09-10 Thread Dan Nelson
In the last episode (Sep 10), stan said:
 On Sun, Sep 10, 2006 at 11:57:05AM -0400, Bob Hall wrote:
  On Sun, Sep 10, 2006 at 08:56:31AM -0400, stan wrote:
   Can someone explain to me why top's handling of multi processor
   status display is different on FreeBSD, than it is on Linux?
  
  Possible reasons why open source software X doesn't have feature Y:

  -- Long discussion of open source philosophy dleted ---
 
 Once upon a time, when people posted on lists like this, they got
 well reasoned technical answers.
 
 The question I was really asking, is if there is a technical reason
 for this difference (eg difernt sturctures for obatining the
 information in the 2 OS's). The reason that i feel this is an
 apropriate place to ask such a question, is that top is NOT a port,
 but is provided by the base OS in FreeBSD.

FreeBSD does not currently track per-cpu usage, only a total.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Top behavior differences

2006-09-10 Thread stan
On Sun, Sep 10, 2006 at 07:57:52PM -0500, Dan Nelson wrote:
 In the last episode (Sep 10), stan said:
  On Sun, Sep 10, 2006 at 11:57:05AM -0400, Bob Hall wrote:
   On Sun, Sep 10, 2006 at 08:56:31AM -0400, stan wrote:
Can someone explain to me why top's handling of multi processor
status display is different on FreeBSD, than it is on Linux?
   
   Possible reasons why open source software X doesn't have feature Y:
 
   -- Long discussion of open source philosophy dleted ---
  
  Once upon a time, when people posted on lists like this, they got
  well reasoned technical answers.
  
  The question I was really asking, is if there is a technical reason
  for this difference (eg difernt sturctures for obatining the
  information in the 2 OS's). The reason that i feel this is an
  apropriate place to ask such a question, is that top is NOT a port,
  but is provided by the base OS in FreeBSD.
 
 FreeBSD does not currently track per-cpu usage, only a total.
 
Thanks you. That's the answer I was looking for.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Top behavior differences

2006-09-10 Thread Bob Hall
On Sun, Sep 10, 2006 at 06:04:04PM -0400, stan wrote:
 On Sun, Sep 10, 2006 at 11:57:05AM -0400, Bob Hall wrote:
  On Sun, Sep 10, 2006 at 08:56:31AM -0400, stan wrote:
   Can someone explain to me why top's handling of multi processor
   status display is different on FreeBSD, than it is on Linux?
  
  Open source started with the concept of individuals hacking the source
  code to get the features they want. The commericial ideal of users paying
  for features they want was replaced by the ideal of users doing the work
  to create the features they want. Open source has evolved into the
  concept of many users getting a free ride as a relatively small number
  of open source programmers do the work for them, without pay. 
  
  Possible reasons why open source software X doesn't have feature Y:
  
  -- Long discussion of open source philosophy dleted ---
 
 Once upon a time, when people posted on lists like this, they got 
 well reasoned technical answers.

They did if they asked for technical answers. What you actually asked,
if you'll read your own e-mail, is why FBSD doesn't display the
information the way Linux does. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]