diff options
| author | Dave Love | 2003-10-06 16:43:20 +0000 |
|---|---|---|
| committer | Dave Love | 2003-10-06 16:43:20 +0000 |
| commit | 6b7a4323f28aa5c4d06520d294d2bedf9ec426c5 (patch) | |
| tree | 0c2760587b2f0f88e7f203a50791ab9702c53ee6 | |
| parent | 79dc1dfcc051ed4f0e97950bbd5cbbb5e85640e9 (diff) | |
| download | emacs-6b7a4323f28aa5c4d06520d294d2bedf9ec426c5.tar.gz emacs-6b7a4323f28aa5c4d06520d294d2bedf9ec426c5.zip | |
Load average can throw error.
| -rw-r--r-- | lispref/os.texi | 5 |
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. | |||
| 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 | ||
| 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. | ||
| 803 | |||
| 799 | @example | 804 | @example |
| 800 | @group | 805 | @group |
| 801 | (load-average) | 806 | (load-average) |