Is there a reason to use `top` over `perf top`?

Is there a reason to use `top` over `perf top`?

Elazar Leibovich elazarl at gmail.com
Mon Nov 11 07:25:00 IST 2013


While the point of perf not being available to non-root out of the box are
valid (though, it's just apt-get install linux-tools + echo 0|sudo tee
/proc/sys/kernel/perf_event_paranoid away, and it's the best bargain you'll
ever make), IMHO this is indeed apple vs apple comparison.

The goal of top's user is identical to the goal of perf's user - to find
bottleneck in a live system.


On Sun, Nov 10, 2013 at 9:30 PM, Tzafrir Cohen <tzafrir at cohens.org.il>wrote:

> A. Apples are better than oranges.
>
> B. perf top cannot be run by a non-root user.
>
>
> --
> Tzafrir Cohen         | tzafrir at jabber.org | VIM is
> http://tzafrir.org.il |                    | a Mutt's
> tzafrir at cohens.org.il |                    |  best
> tzafrir at debian.org    |                    | friend
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20131111/053cc996/attachment.html>


More information about the Linux-il mailing list