in reply to Generate a unique ID
I also include the program name (from $0) and the hostname, just in case I decide later on to spread out the program to multiple machines. In my case, I write to logfiles, and it is necessary to see on what machine a program was launched, and which program (or under which name).
Other than these two items, no other attributes come to mind.
|
|---|