public final class StructUtsname extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
machine
The machine architecture, such as "armv7l" or "x86_64".
|
String |
nodename
The machine's unqualified name on some implementation-defined network.
|
String |
release
The OS release, such as "2.6.35-27-generic".
|
String |
sysname
The OS name, such as "Linux".
|
String |
version
The OS version, such as "#48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011".
|
| Constructor and Description |
|---|
StructUtsname(String sysname,
String nodename,
String release,
String version,
String machine)
Constructs an instance with the given field values.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
public final String sysname
public final String nodename
public final String release
public final String version
public final String machine
public String toString()
ObjectgetClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.