3 ms·
Well if it includes seconds, the likely hood of me typing something on a machine, switching to another and running something with the same pid within a second,
by KnightHawk3 11y ago
Well if it includes seconds, the likely hood of me typing something on a machine, switching to another and running something with the same pid within a second, is pretty low.
Mostly because I can't switch to another machine within 1s
- michaelhoffman 11y agoIt includes hostname too. You can only get a collision if you do all of the following within one second: 1. Start an interactive shell. 2. Enter a command you want saved. 3. Exit this shell. 4. Start another shell. 5. Be unlucky such that the new shell has the same PID as the previous one. This is not something to worry about.