ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/PLATFORMS
(Generate patch)

Comparing projects/libstatgrab/PLATFORMS (file contents):
Revision 1.4 by tdb, Mon Feb 16 14:55:32 2004 UTC vs.
Revision 1.9 by tdb, Mon Nov 1 18:30:16 2004 UTC

# Line 1 | Line 1
1 < # $Id$
1 > libstatgrab PLATFORMS
2 > http://www.i-scream.org/libstatgrab/
3  
4 + $Id$
5 +
6 + Supported Platforms
7 + ===================
8 +
9   libstatgrab has been tested to work on the following platforms:
10  
11   Cygwin ?.?
12 < DragonFly BSD 1.0
13 < FreeBSD 4
14 < FreeBSD 5
12 > DragonFly BSD 1.x
13 > FreeBSD 4.x
14 > FreeBSD 5.x
15 > HP-UX 11.11 (parisc)
16   Linux 2.2
17   Linux 2.4
18   Linux 2.6
19 < NetBSD 1.6
20 < OpenBSD 3.3
19 > NetBSD 1.x
20 > NetBSD 2.x
21 > OpenBSD 3.x
22   Solaris 2.6
23   Solaris 2.7
24   Solaris 2.8 (sparc & x86)
25   Solaris 2.9 (sparc & x86)
26 +
27 + Platform Specific Notes
28 + =======================
29 +
30 + Unless explicitly mentioned below assume that libstatgrab will run on
31 + any of the platforms above without any elevated privileges.
32 +
33 + Linux
34 + -----
35 +
36 + On Linux root privileges are required to get the statistics returned
37 + by the get_network_iface_stats function. Not having these privileges
38 + results in NULL being returned.
39 +
40 + Also note that this cannot be solved by calling sg_init and then
41 + sg_drop_privileges at this stage.
42 +
43 + FreeBSD 4
44 + ---------
45 +
46 + On FreeBSD 4 (not on 5) programs need to be setgid kmem to get swap
47 + statistics. It is sufficient to give a program these privileges, call
48 + sg_init, and then drop the privileges using sg_drop_privileges.
49 +
50 + The sg_get_swap_stats function will return NULL if this hasn't been done.
51 +
52 + Solaris 2.6/2.7
53 + ---------------
54 +
55 + On Solaris 2.6 and 2.7 root privileges are required to build the drive
56 + mapping list (eg. mapping ssd0 on to c0t0d0s0). If these privileges
57 + aren't available the names will be left as ssd0, for example.
58 +
59 + It is sufficient to use sg_init and sg_drop_privileges.
60 +
61 + Cygwin
62 + ------
63 +
64 + Full support for libstatgrab isn't yet provided on cygwin - there are
65 + some stats which we just can't get. In these cases the functions will
66 + return NULL to indicate failure.
67 +
68 + If you have installed libncurses-devel but the configure script can't
69 + find ncurses.h, you've most likely hit a bug in the cygwin package. To
70 + fix this run: /etc/postinstall/libncurses-devel.sh.done
71 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines