aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2003-10-06 16:43:20 +0000
committerDave Love2003-10-06 16:43:20 +0000
commit6b7a4323f28aa5c4d06520d294d2bedf9ec426c5 (patch)
tree0c2760587b2f0f88e7f203a50791ab9702c53ee6
parent79dc1dfcc051ed4f0e97950bbd5cbbb5e85640e9 (diff)
downloademacs-6b7a4323f28aa5c4d06520d294d2bedf9ec426c5.tar.gz
emacs-6b7a4323f28aa5c4d06520d294d2bedf9ec426c5.zip
Load average can throw error.
-rw-r--r--lispref/os.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/lispref/os.texi b/lispref/os.texi
index a92f550b556..f6870245b69 100644
--- a/lispref/os.texi
+++ b/lispref/os.texi
@@ -796,6 +796,11 @@ averages, which indicate the average number of processes trying to run.
796If @var{use-float} is non-@code{nil}, then they are returned 796If @var{use-float} is non-@code{nil}, then they are returned
797as floating point numbers and without multiplying by 100. 797as floating point numbers and without multiplying by 100.
798 798
799An error is thrown if the load average can't be obtained. In some
800cases making it work would require Emacs being installed setuid or
801setgid so that it can read kernel information, and that usually isn't
802advisable.
803
799@example 804@example
800@group 805@group
801(load-average) 806(load-average)