Mercurial > emacs
changeset 52783:3832b88b0957
Load average can throw error.
author | Dave Love <fx@gnu.org> |
---|---|
date | Mon, 06 Oct 2003 16:43:20 +0000 |
parents | 85ff8647dab6 |
children | 025f7b9061e6 |
files | lispref/os.texi |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/os.texi Mon Oct 06 16:41:55 2003 +0000 +++ b/lispref/os.texi Mon Oct 06 16:43:20 2003 +0000 @@ -796,6 +796,11 @@ If @var{use-float} is non-@code{nil}, then they are returned as floating point numbers and without multiplying by 100. +An error is thrown if the load average can't be obtained. In some +cases making it work would require Emacs being installed setuid or +setgid so that it can read kernel information, and that usually isn't +advisable. + @example @group (load-average)