comparison lispref/os.texi @ 52783:3832b88b0957

Load average can throw error.
author Dave Love <fx@gnu.org>
date Mon, 06 Oct 2003 16:43:20 +0000
parents 695cf19ef79e
children 1cc25f9733cf
comparison
equal deleted inserted replaced
52782:85ff8647dab6 52783:3832b88b0957
793 793
794 By default, the values are integers that are 100 times the system load 794 By default, the values are integers that are 100 times the system load
795 averages, which indicate the average number of processes trying to run. 795 averages, which indicate the average number of processes trying to run.
796 If @var{use-float} is non-@code{nil}, then they are returned 796 If @var{use-float} is non-@code{nil}, then they are returned
797 as floating point numbers and without multiplying by 100. 797 as floating point numbers and without multiplying by 100.
798
799 An error is thrown if the load average can't be obtained. In some
800 cases making it work would require Emacs being installed setuid or
801 setgid so that it can read kernel information, and that usually isn't
802 advisable.
798 803
799 @example 804 @example
800 @group 805 @group
801 (load-average) 806 (load-average)
802 @result{} (169 48 36) 807 @result{} (169 48 36)