object osMod
- Source
- osMod.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- osMod
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait CpuInfo extends Object with StObject
- Annotations
- @JSType() @native()
- trait NetworkInterfaceBase extends Object with StObject
- Annotations
- @JSType() @native()
- trait NetworkInterfaceInfo extends Object with StObject
- Annotations
- @JSType()
- trait NetworkInterfaceInfoIPv4 extends Object with StObject with NetworkInterfaceBase with NetworkInterfaceInfo
- Annotations
- @JSType() @native()
- trait NetworkInterfaceInfoIPv6 extends Object with StObject with NetworkInterfaceBase with NetworkInterfaceInfo
- Annotations
- @JSType() @native()
- trait SignalConstants extends Object with StObject
- Annotations
- @JSType() @native()
- trait UserInfo_[T] extends Object with StObject
- Annotations
- @JSType() @native()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val EOL: java.lang.String
- Annotations
- @JSImport("os", "EOL") @native()
- val ^: Any
- Annotations
- @JSImport("os", JSImport.Namespace) @native()
- def arch(): java.lang.String
- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def cpus(): Array[CpuInfo]
- Annotations
- @inline()
- def endianness(): |[BE, LE]
- Annotations
- @inline()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def freemem(): Double
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getPriority(pid: Double): Double
- Annotations
- @inline()
- def getPriority(): Double
Gets the priority of a process.
Gets the priority of a process. Defaults to current process.
- Annotations
- @inline()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def homedir(): java.lang.String
- Annotations
- @inline()
- def hostname(): java.lang.String
- Annotations
- @inline()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def loadavg(): Array[Double]
- Annotations
- @inline()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def networkInterfaces(): Dict[Array[NetworkInterfaceInfo]]
- Annotations
- @inline()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def platform(): Platform
- Annotations
- @inline()
- def release(): java.lang.String
- Annotations
- @inline()
- def setPriority(priority: Double): Unit
Sets the priority of the current process.
Sets the priority of the current process.
- priority
Must be in range of -20 to 19
- Annotations
- @inline()
- def setPriority(pid: Double, priority: Double): Unit
Sets the priority of the process specified process.
Sets the priority of the process specified process.
- priority
Must be in range of -20 to 19
- Annotations
- @inline()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tmpdir(): java.lang.String
- Annotations
- @inline()
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- def totalmem(): Double
- Annotations
- @inline()
- def type(): java.lang.String
- Annotations
- @inline()
- def uptime(): Double
- Annotations
- @inline()
- def userInfo(options: 4): UserInfo_[java.lang.String]
- Annotations
- @inline()
- def userInfo(options: 2): UserInfo_[Buffer]
- Annotations
- @inline()
- def userInfo(): UserInfo_[java.lang.String]
- Annotations
- @inline()
- def version(): java.lang.String
Returns a string identifying the kernel version.
Returns a string identifying the kernel version. On POSIX systems, the operating system release is determined by calling uname(3). On Windows,
pRtlGetVersionis used, and if it is not available,GetVersionExW()will be used. See https://en.wikipedia.org/wiki/Uname#Examples for more information.- Annotations
- @inline()
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object CpuInfo
- object NetworkInterfaceBase
- object NetworkInterfaceInfo
- object NetworkInterfaceInfoIPv4
- object NetworkInterfaceInfoIPv6
- object SignalConstants
- object UserInfo_
- object constants
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated