Average busy time with Poisson arrival We have a factory that can process jobs. Each job takes an hour to complete. Jobs arrive according to a Poisson arrival process, with a mean of $\lambda$ jobs per hour. If the factory is free when a job arrives, it accepts the job with probability $p$, independently of other jobs. Over the long run, what is the average proportion of time that the factory is busy?
I'm not sure how to set up the calculation for this. I think we have to calculate the amount of time that, starting from any point where the factory is free, we need to wait until the next job is accepted. If a job is always accepted when the machine is free ($p=1$), then the expected waiting time should be $1/\lambda$. But here matters are complicated because we have a probability $p\leq 1$.

I'm assuming that the factory can only process one job at a time, and that jobs arriving when the factory is busy don't get processed. If that isn't correct, please let me know.
You can use Poisson thinning to divide arriving jobs (if you want, a priori) into two separate streams: one containing "acceptable" jobs (a Poisson process with $\lambda p$ events per hour), and one containing "unacceptable" jobs (a Poisson process with $\lambda (1-p)$ events per hour). The factory only processes acceptable jobs.
To tackle the original problem, renewal theory comes in handy here, as you can think of a renewal epoch as starting with the moment the factory becomes empty, and ending at the moment the factory finishes processing a job. From there, you could use the renewal reward theorem, by associating each epoch with a reward of 1. 
