How to view log file in VMware Linux

Sgraffite

Supreme [H]ardness
Joined
Jan 10, 2006
Messages
4,405
I started both my boxes folding at the same time the other day, and they both had finished this morning and were on their next WU. I only got points for one of them, so I don't know what happened to the other one. I'd like to be able to look at the log files, but I don't know how. I'm using unhappy_mage's virtual machine, so basically when it starts up it starts folding immediately. How can I look at the log to find out what happened? Or is there an easier way?

 
start a new terminal:
goto the dir you have fah running:
type: tail -s 60 -f FAHlog.txt


That should bring up the log and refresh every 60secs or so.
 
start a new terminal:
goto the dir you have fah running:
type: tail -s 60 -f FAHlog.txt


That should bring up the log and refresh every 60secs or so.

Thanks, how do I start a new terminal though?
 
umm which version of linux are you using? I dont knwo the command line for doing it myself.
 
It's Fedora Core 6, but I have no console. It is a virtual machine set up by unhappy-mage that as soon as it is booted it goes directly to folding. Even if I hit control-c to stop it, I never get to a command prompt.
 
Might have to talk to him then. sorry I cant really help more.
 
Can you telnet or ssh to it? Or hit alt-f2 (or ctrl-alt-f2, depending on if you are in X or not) for a different console?
 
Can you telnet or ssh to it? Or hit alt-f2 (or ctrl-alt-f2, depending on if you are in X or not) for a different console?

Thanks, alt-f2 works, but now I have to find out what unhappy_mage set the login and password to.

Edit - found it:
login: root
Password: Fold@on
 
If you can't find the logfile, you can search for it with the command
Code:
find / -name 'FAHlog.txt'
 
Thanks again, I found it, look like it thought the deadline ran out for a WU, but it really shouldn't have. My times are all messed up though, one machine was telling me I was doing frames in under 2 minutes, when it should be more like 17-20ish minutes. I reinstalled the dual core optimizer and rebooted, so hopefully that helps.
 
. I reinstalled the dual core optimizer .

WTF is a dual core optimizer and where can I get a hand ful of them?

ps the times can be hosed up in VM land. Why not run the Windows SMP client and avoid the nix land stuff?
 
Here is the Dual core optimizer It's the first link on the page.

Correct me if i am wrong, but I think the ppd is better using the Linux client with VMware than the Windows SMP client.
 
Here is the Dual core optimizer It's the first link on the page.

Correct me if i am wrong, but I think the ppd is better using the Linux client with VMware than the Windows SMP client.

yea, but nix sucks.

:D

Huh, not an AMD guy myself much... no wonder they need software to make their dual cores work!!!!

I'm kidding, no flame war intents.
 
yea, but nix sucks.

:D

Huh, not an AMD guy myself much... no wonder they need software to make their dual cores work!!!!

I'm kidding, no flame war intents.

Hehe, I've owned both Intel and AMD over the years. Basically whichever hardware best meets my needs when I'm buying, get my money. I'll be loyal when they start paying me :)
 
Thanks again, I found it, look like it thought the deadline ran out for a WU, but it really shouldn't have. My times are all messed up though, one machine was telling me I was doing frames in under 2 minutes, when it should be more like 17-20ish minutes. I reinstalled the dual core optimizer and rebooted, so hopefully that helps.

Install vmware tools. It fixes up that nasty time loss issue.
 
go into the CPU1 folder

type in
vi FAHlog.txt


when you are done viewing it... hit "ESC" then type ":q" then hit ENTER.
 
go into the CPU1 folder

type in
vi FAHlog.txt


when you are done viewing it... hit "ESC" then type ":q" then hit ENTER.

That opens the file for editing. To open it read-only you can use commands like:
"tail -n20 FAHlog.txt" will show only the last 20 lines of the log
"tail -f FAHlog.txt" will open the log and continue to show new lines as they are added
"less FAHlog.txt" will open the file for viewing in a pager
 
Ok, both of my computers finished a WU this morning, yet I still only got points for one. I checked the logs and both made it to 100% and both said "Results sent successfuly". How can I tell which one is not working without stopping one of them? Also, how can I find out why it is not working?
 
Check the very beginning of the log when the thing started running, make sure you didn't misspell your username. May sound silly, but even with all the typing I've done in my life, I spelled mine wlatherone one time... hell, had it turn in 4 WU's even before I noticed it.

Link to my typo-created identity :p

In fact, I even went over the config file once without seeing it. Remember that email that forwarded a while back talking about a study that Harvard or some place like that did that proved that people will read English words the same no matter what the letter order, so long as the first and the last letters are the same? I guess they were right, because I read wlatherone and waltherone as the same till I went back and looked at it a second time
 
Check the very beginning of the log when the thing started running, make sure you didn't misspell your username.

Just checked and it is spelled right :/

I just remembered that I disabled my vmware ethernet adapters a while ago, grrr :mad:
 
So it seems that still wasn't the problem... My workstation turned in a WU sometime this morning, but my server is only at 89% a few hours later (which is now). So I check Stanford, and it shows my last WU was turned in at 2007-04-05 01:17:55, but I didn't get any credit for it. That IS the 5th day of the 4th month of 2007 @ 1:17AM, is it not?

Also my active processors in the last 7 days is only 1. There are no errors in my log files, wtf is going on? Why would it show I turned in a WU today if no WU credit or points were given out? I double checked my team and name and they are both Sgraffite team 33. This is ridiculous, apparently I need to shut off a computer for a few days just to make sure I know which one is the problem.
 
Back
Top