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.7 by tdb, Tue Apr 6 14:21:26 2004 UTC vs.
Revision 1.8 by tdb, Sun Jul 18 20:21:20 2004 UTC

# Line 36 | Line 36 | On Linux root privileges are required to get the stati
36   by the get_network_iface_stats function. Not having these privileges
37   results in NULL being returned.
38  
39 < Also note that this cannot be solved by calling statgrab_init and then
40 < statgrab_drop_privileges at this stage.
39 > Also note that this cannot be solved by calling sg_init and then
40 > sg_drop_privileges at this stage.
41  
42   FreeBSD 4
43   ---------
44  
45   On FreeBSD 4 (not on 5) programs need to be setgid kmem to get swap
46   statistics. It is sufficient to give a program these privileges, call
47 < statgrab_init, and then drop the privileges using statgrab_drop_privileges.
47 > sg_init, and then drop the privileges using sg_drop_privileges.
48  
49 < The get_swap_stats function will return NULL if this hasn't been done.
49 > The sg_get_swap_stats function will return NULL if this hasn't been done.
50  
51   Solaris 2.6/2.7
52   ---------------
# Line 55 | Line 55 | On Solaris 2.6 and 2.7 root privileges are required to
55   mapping list (eg. mapping ssd0 on to c0t0d0s0). If these privileges
56   aren't available the names will be left as ssd0, for example.
57  
58 < It is sufficient to use statgrab_init and statgrab_drop_privileges.
58 > It is sufficient to use sg_init and sg_drop_privileges.
59  
60   Cygwin
61   ------

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines