mikeizbicki / cmc-csci143

big data course materials
40 stars 76 forks source link

how to check if nohup finishes loading? #510

Closed giffiecode closed 7 months ago

giffiecode commented 7 months ago

I got the message below after running nohup sh load_tweets_parallel.sh for ~2hr:

Yuechen.Pei.23@lambda-server:~/twitter_postgres_indexes$ nohup sh load_tweets_parallel.sh 
nohup: ignoring input and appending output to 'nohup.out'
client_loop: send disconnect: Broken pipe
nicopei@Nicos-MacBook-Pro ~ %

which looks like an error?

I check the nohup.out file and ends with:

2024-04-15 22:05:20.993183 insert_tweets i= 164
26872.73user 1071.82system 57:32.13elapsed 809%CPU (0avgtext+0avgdata 4509516maxresident)k
5656inputs+95528outputs (4major+555219355minor)pagefaults 0swaps
"nohup.out" 31672L, 1494272C   

which looks like it's done?

Anyone knows if this is correctly loaded? since we don't have test cases for this hw