Liking cljdoc? Tell your friends :D

dvlopt.sysrun

Miscellaneous system utilities.

Miscellaneous system utilities.
raw docstring

envclj

(env)
(env variable)

Gets environment variables or one of them.

Throws

java.lang.SecurityException When not allowed.

Gets environment variables or one of them.


Throws

  java.lang.SecurityException
    When not allowed.
sourceraw docstring

finalizeclj

(finalize)

Suggests the finalization of discarded objects not yet finalized.

The JVM makes the best effort to do it before returning.

Suggests the finalization of discarded objects not yet finalized.

The JVM makes the best effort to do it before returning.
sourceraw docstring

garbage-collectionclj

(garbage-collection)

Suggests to run garbarge collection.

The JVM makes the best effort to do it before returning.

Suggests to run garbarge collection.

The JVM makes the best effort to do it before returning.
sourceraw docstring

line-separatorclj

System-dependant line separator.

System-dependant line separator.
sourceraw docstring

memory-allocatedclj

(memory-allocated)

Amount of memory currently allocated by the JVM, in bytes.

Amount of memory currently allocated by the JVM, in bytes.
sourceraw docstring

memory-allocated-freeclj

(memory-allocated-free)

Approximately the amount of free memory available relative to what is currently allocated by the JVM, in bytes.

Approximately the amount of free memory available relative to what is currently allocated by the JVM, in bytes.
sourceraw docstring

memory-freeclj

(memory-free)

Approximately the amount of available free memory the JVM can claim at most, right now, in bytes.

Approximately the amount of available free memory the JVM can claim at most, right now, in bytes.
sourceraw docstring

memory-limitclj

(memory-limit)

Maximum amount of memory the JVM will attempt to use in total, in bytes.

This is a soft limit.

Maximum amount of memory the JVM will attempt to use in total, in bytes.

This is a soft limit.
sourceraw docstring

memory-usedclj

(memory-used)

Approximately the amount of memory currently used, in bytes.

Approximately the amount of memory currently used, in bytes.
sourceraw docstring

nano-timingclj

(nano-timing)

Current time expressed in nanoseconds relative to an arbitratry origin defined by the JVM.

Deltas of values at different times provides high resolution timing.

Nanosecond resolution does NOT mean nanosecond accuracy.

Accuracy is at least as good as that of timestamp, often better.

Current time expressed in nanoseconds relative to an arbitratry origin defined by the JVM.

Deltas of values at different times provides high resolution timing.

Nanosecond resolution does NOT mean nanosecond accuracy.

Accuracy is at least as good as that of `timestamp`, often better.
sourceraw docstring

native-nameclj

(native-name lib-name)

Returns a platform-specific filename given a generic one.

Depending on the OS, native library naming usually follow a convention.

Ex. On linux, "c" => "libc.so"

Returns a platform-specific filename given a generic one.

Depending on the OS, native library naming usually follow a convention.

Ex. On linux, "c" => "libc.so"
sourceraw docstring

on-shutdownclj

(on-shutdown action)

Registers an action (ie. no-arg function) to execute on JVM shutdown.

Returns a no-arg function for cancelling the registration.

Might throw both when adding an action and removing one.

Registers an action (ie. no-arg function) to execute on JVM shutdown.

Returns a no-arg function for cancelling the registration.

Might throw both when adding an action and removing one.
sourceraw docstring

processorsclj

(processors)

Number of available processors available to the JVM.

Might change during a particular invocation of the JVM.

Number of available processors available to the JVM.

Might change during a particular invocation of the JVM.
sourceraw docstring

propertyclj

(property)
(property property)
(property property value)

Gets, sets or removes (when value is nil) system properties.

Throws when not allowed.

Gets, sets or removes (when `value` is nil) system properties.

Throws when not allowed.
sourceraw docstring

shutdownclj

(shutdown)
(shutdown status)

Terminates the JVM.

Before halting the process, runs shutdown hooks.

Throws when not allowed.

Cf. on-shutdown

Terminates the JVM.

Before halting the process, runs shutdown hooks.

Throws when not allowed.

Cf. `on-shutdown`
sourceraw docstring

timestampclj

(timestamp)

Current unix time in milliseconds.

Depends on the system time. Not necessarely monotonically increasing.

Only as accurate as the underlying operating system, often measuring time in units of 10's of milliseconds.

Current unix time in milliseconds.

Depends on the system time. Not necessarely monotonically increasing.

Only as accurate as the underlying operating system, often measuring time in units of 10's of milliseconds.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close