1:9
     ˆÁÀƒh¹¿¾     	ˆÁÀƒh¹¿¾  #   ˆl–Ãa¾”ŠC]Šy@†ãoÜiÅ1hßÁ„d,¸÷À¿      4:0
      	1:11
 ?÷     ## Welcome to the sysstat's Frequently Asked Questions!

### Table of contents

**1. General questions**

1.1. When I compile sysstat, it fails with the following message: `make: msgfmt: Command not found`  
1.2. When I try to compile sysstat, it fails and says it cannot find some include files.  
1.3. I don't understand why sysstat displays the time sometimes as `HH:MM:SS` and sometimes as `HH:MM:SS AM/PM`...

**2. Questions related to sar, sadc and sadf**

2.1. The sar command complains with the following message: `Invalid system activity file: ...`  
2.2. The sar command complains with the following message: `Cannot append data to that file (...)`  
2.3. The sar command complains with the following message: `Inconsistent input data`  
2.4. I get the following error message when I try to run sar: `Cannot open /var/log/sa/sa30: No such file or directory`  
2.5. Are sar daily data files fully compatible with Sun Solaris format sar files?  
2.6 The `Average:` results from the sar command are just rubbish...  
2.7. My database (e.g. MySQL) doesn't appear to understand the time zone displayed by 'sadf -d'...  
2.8. I tried to use options -s and -e with sadf. Unfortunately, I have nothing displayed at all.  
2.9. I cannot see all my disks when I use the sar -d command...  
2.10. Do you know a tool which can graphically plot the data collected by sar?  
2.11. When I launch sadc, I get the error message: `flock: Resource temporarily unavailable`  
2.12. How should I run sysstat / sar so that I get a reading for `00:00:00`?  
2.13. The sar command complains with the following message: `Requested activities not available in file ...`  
2.14. Does sar need a lot of resources to run?  
2.15. Are the measurements gathered by sadc cumulative or instantaneous?  
2.16. Some fields are always displayed as `0.00` when I use the `sar -d` command.  
2.17. The sar command complains with the following message: `Requested activities not available`  
2.18. How can I keep sar data for more than one month?  
2.19. How can I load sar data into an Oracle database for performance analysis and capacity planning?  
2.20. The sar command displays some weird output values...  
2.21. What happened to sar's options -h, -H, -x and -X?  
2.22. What is the exact meaning of the `count` parameter for sar and sadc?  
2.23. Why doesn't sar deal with sub-second sampling/monitoring?  
2.24. Is it possible to make sadc save only some specific activities in my binary daily data files?

**3. Questions related to iostat**

3.1. I can't see all my disks when I use the iostat command...  
3.2. iostat -x doesn't report disk I/O statistics...  
3.3. Why can't iostat display extended statistics for partitions with 2.6.x kernels?  
3.4. I don't understand the output of iostat. It doesn't match what I expect it to be...  
3.5. Why values displayed by iostat are so different in the first report from those displayed in subsequent ones?  
3.6. iostat -x displays huge numbers for some fields...  

**4. Questions related to pidstat**

4.1. pidstat -d doesn't report task I/O statistics...  
4.2. The pidstat command complains with the following message: `Requested activities not available`  
4.3. pidstat doesn't display statistics for process (task) _xyz_...  
4.4. I noticed that the total CPU utilization for threads running on an individual CPU can exceed 100%...  

---

### 1. General questions

1.1. When I compile sysstat, it fails with the following message:  
```
make: msgfmt: Command not found
make: ***[locales] Error 127
```
A: The **msgfmt** command belongs to the GNU gettext package.
If you don't have it on your system, just configure sysstat with NLS disabled like this:  
```
$ ./configure --disable-nls
```
or answer 'y' (for "yes") to the question  
```
Disable National Language Support (NLS)? (y/n) [--disable-nls]
```
if you use the Interactive Configuration script (_iconfig_),
then compile sysstat as usual (make ; make install).

Please read the