Mercurial > emacs
comparison lispref/os.texi @ 52842:1cc25f9733cf
(System Environment): Clean up text for load-average errors.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 13 Oct 2003 19:27:15 +0000 |
parents | 3832b88b0957 |
children | 1a5c50faf357 |
comparison
equal
deleted
inserted
replaced
52841:9a39d5c2148a | 52842:1cc25f9733cf |
---|---|
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 | 798 |
799 An error is thrown if the load average can't be obtained. In some | 799 If it is impossible to obtain the load average, this function signals |
800 cases making it work would require Emacs being installed setuid or | 800 an error. On some platforms, access to load averages requires |
801 setgid so that it can read kernel information, and that usually isn't | 801 installing Emacs as setuid or setgid so that it can read kernel |
802 advisable. | 802 information, and that usually isn't advisable. |
803 | 803 |
804 @example | 804 @example |
805 @group | 805 @group |
806 (load-average) | 806 (load-average) |
807 @result{} (169 48 36) | 807 @result{} (169 48 36) |