## Generated by Codox

# Dog-and-duck 0.1.0-SNAPSHOT

# dog-and-duck.utils.process

TODO: write docs

### get-hostname

return the hostname of the current host.

Java’s methods for getting the hostname are quite startlingly slow, we do not want todo this repeatedly!

view source

### get-pid

Get the process id of the current process.

OK, this is hacky as fuck, but I hope it works. The problem is that the way to get the process id has changed several times during the history of Java development, and the code for one version of Java won’t even compile in a different version.

view source