Documentation

Std.Async.System

This module contains all system related functions and environment variables manipulation.

A group identifier, represented by a numeric ID in UNIX systems (e.g. 1000).

  • toNat : Nat

    The numeric group ID.

Instances For
    Equations
    Instances For

      A user identifier, represented by a numeric ID in UNIX systems (e.g. 1001).

      • toNat : Nat

        The numeric user ID.

      Instances For
        Equations
        Instances For

          Information about the current user.

          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Information about a group.

                • groupName : String

                  The name of the group.

                • groupId : GroupId

                  The ID of the group.

                • members : Array String

                  The list of users in the group.

                Instances For
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Represents the breakdown of CPU time usage in milliseconds.

                    Instances For
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For

                          Information about a single CPU core.

                          • model : String

                            CPU model name.

                          • speed : Nat

                            The approximate clock speed of the CPU core in MHz.

                          • times : CPUTimes

                            The time spent on the CPU.

                          Instances For
                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For

                                Gets information about the operating system.

                                Instances For
                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For

                                    All the environment variables.

                                    Instances For
                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For

                                        Gets information about the operating system.

                                        Equations
                                        Instances For

                                          Gets information about the CPU cores.

                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For
                                            @[inline]

                                            Gets the system uptime in seconds.

                                            Equations
                                            Instances For
                                              @[inline]

                                              The current high-resolution timestamp in nanoseconds. It is relative to an arbitrary time in the past.

                                              Equations
                                              Instances For
                                                @[inline]

                                                Gets the hostname of the machine.

                                                Equations
                                                Instances For
                                                  @[inline]

                                                  Sets an environment variable to value.

                                                  Equations
                                                  Instances For
                                                    @[inline]

                                                    Gets an environment variable.

                                                    Equations
                                                    Instances For
                                                      @[inline]

                                                      Unset an environment variable.

                                                      Equations
                                                      Instances For
                                                        @[inline]

                                                        Gets all environment variables.

                                                        Equations
                                                        Instances For

                                                          Gets the current user by using passwd.

                                                          On Windows systems, userId, groupId and shell are set to none

                                                          Equations
                                                          • One or more equations did not get rendered due to their size.
                                                          Instances For

                                                            Gets the group by its ID.

                                                            Equations
                                                            • One or more equations did not get rendered due to their size.
                                                            Instances For