LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SASSTAT sadc & sar (https://www.linuxquestions.org/questions/linux-software-2/sasstat-sadc-and-sar-4175425372/)

zanier 09-03-2012 03:25 AM

SASSTAT sadc & sar
 
hello dear friends
i need an urgent help.
i am working with sysstat. but i have some problem with sar and sadc.
some sar commands don't work. let me light it with an example:


root@ossl:~# sar -n IP
Requested activities not available in file /var/log/sysstat/sa03


I read in the manual that :"With the IP keyword, statistics about IPv4 network traffic are reported. Note that IPv4 statistics depend on sadc option "-S SNMP" to be collected."

so i did this:
oot@ossl:~# /usr/lib/sysstat/sadc -S IPV6
��p! `hDPLinuxossl2.6.32-5-amd64x86_64 � @ 
X,PX�X



I also tried this:

root@ossl:~# /usr/lib/sysstat/sadc -S IPV6 sa03
root@ossl:~#


and this too:

root@ossl:~# /usr/lib/sysstat/sadc -S IPV6 sa03 |sar -n IP6
Requested activities not available in file /var/log/sysstat/sa03




???????!!!!!!
i really don't know what to do?
in other hand sadc results aren't readable for user?!!!

thank you all

Habitual 09-04-2012 09:59 AM

the sadc utility from the sysstat package is a "System activity data collector.". I have never ever used it anywhere except in root cron.
Code:

man sadc
says "The sadc command is intended to be used as a backend to the sar command."

what does "sar" alone output?
Is the service even started?


All times are GMT -5. The time now is 10:38 PM.