Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
sar problem
Name: Pete Date: March 18, 2003 at 23:46:32 Pacific OS: RedHat Linux CPU/Ram: PIII/256
Comment:
Does someone know why whenever I type the command: "sar -u" or "sar -u -o /test/sar_log", always gives me the error, "Cannot open /var/log/sa/sa19: No such file or directory"? Your help is highly appreciated. Thank you.
Name: Anand Date: March 19, 2003 at 06:44:37 Pacific
Reply:
If you dont specify the intervals, then sar by default looks to read the file at location /var/log/sa. The name of the file is sa followed by todays date.So you get sa19. to get the output you have to specify intervals like sar -u 1 10 or there should be a sar-written binary file at /var/log/sa created using the -f option. check out man sar.
Anand
0
Response Number 2
Name: Pete Date: March 20, 2003 at 01:55:57 Pacific
Reply:
Thanks. I will try that.
Pete
0
Response Number 3
Name: George Pearson Date: March 22, 2003 at 23:37:16 Pacific
Reply:
Check to see if the sar program is running in your crontab. It is needed to populate the /var/log/sa/sa## files.
0
Response Number 4
Name: Pete Date: March 23, 2003 at 23:10:21 Pacific
Reply:
Hi George, I'm haven't put the SAR statement in the crontab yet. But if I type, for example, sar -u 1 10, should it record the result, /var/log/sa/sa##, where ## is the log date? sar -u 1 10 seems to work fine but only displays the result on screen. Of course, unless I specific a file with the -o option, then it will output the result to the specific file I specified. Do you know why?
Summary: hi , i use conexant 56k modem on windows. now the problem is that i want to use it on my linux too. i tried to assign the right com port. but a message popped out "sorry, modem is busy". i am hopeless...
Summary: Hi, I've installed Redhat linux 8.0. Everything works fine except that 3D games are not working. My Graphic card is "NAVIDIA Geforce 2MX 400". I went to their web-site and looked for the drivers, and ...
Summary: hi, i having problem with php+mysql. i installed apache 2.0 and php 4.0.15 in my pc, then i tried to use mysql in my php aplications... so i installed mysql (mysql works ok from command line) the ...