ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/PLATFORMS
Revision: 1.10
Committed: Mon Apr 25 10:59:00 2005 UTC (19 years, 6 months ago) by tdb
Branch: MAIN
CVS Tags: LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, HEAD
Changes since 1.9: +6 -5 lines
Log Message:
Update list of platforms - we've tested on Solaris 10.

File Contents

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