On this page:
gethostname
getpid

15.10 Additional Operating System Functions🔗ℹ

 (require racket/os) package: base
The racket/os library additional functions for querying the operating system.

Added in version 6.3 of package base.

procedure

(gethostname)  string?

Returns a string for the current machine’s hostname (including its domain).

procedure

(getpid)  exact-integer?

Returns an integer identifying the current process within the operating system.