# | 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 ?.? | |
# | Line 15 | Line 21 | Solaris 2.6 | |
21 | Solaris 2.7 | |
22 | Solaris 2.8 (sparc & x86) | |
23 | Solaris 2.9 (sparc & x86) | |
24 | + | |
25 | + | Platform Specific Notes |
26 | + | ======================= |
27 | + | |
28 | + | Linux |
29 | + | ----- |
30 | + | |
31 | + | On Linux root privileges are required to get the statistics returned |
32 | + | by the get_network_iface_stats function. Not having these privileges |
33 | + | results in NULL being returned. |
34 | + | |
35 | + | Also note that this cannot be solved by calling statgrab_init and then |
36 | + | statgrab_drop_privileges at this stage. |
37 | + | |
38 | + | FreeBSD 4 |
39 | + | --------- |
40 | + | |
41 | + | On FreeBSD 4 (not on 5) programs need to be setgid kmem to get swap |
42 | + | statistics. It is sufficient to give a program these privileges, call |
43 | + | statgrab_init, and then drop the privileges using statgrab_drop_privileges. |
44 | + | |
45 | + | The get_swap_stats function will return NULL if this hasn't been done. |
46 | + | |
47 | + | Solaris 2.6/2.7 |
48 | + | --------------- |
49 | + | |
50 | + | On Solaris 2.6 and 2.7 root privileges are required to build the drive |
51 | + | mapping list (eg. mapping ssd0 on to c0t0d0s0). If these privileges |
52 | + | aren't available the names will be left as ssd0, for example. |
53 | + | |
54 | + | It is sufficient to use statgrab_init and statgrab_drop_privileges. |
55 | + | |
56 | + | Cygwin |
57 | + | ------ |
58 | + | |
59 | + | If you have installed libncurses-devel but the configure script can't |
60 | + | find ncurses.h, you've most likely hit a bug in the cygwin package. To |
61 | + | fix this run: /etc/postinstall/libncurses-devel.sh.done |
62 | + |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |