Solaris: Difference between revisions
From Leo's Notes
This page was last edited on 24 February 2021, at 02:01.
m →Hardware Info: pipe |
No edit summary |
||
| Line 1: | Line 1: | ||
Solaris / SunOS related notes. | |||
== Hardware Info == | == Tasks == | ||
=== Service Management === | |||
Use the <code>svcadm</code> utility to manage services. | |||
{{Highlight | |||
| code = # svcadm enable ssh | |||
# svcs ssh | |||
STATE STIME FMRI | |||
online 18:46:19 svc:/network/ssh:default | |||
| lang = terminal | |||
}} | |||
===Hardware Info=== | |||
{{highlight|lang=terminal|code= | {{highlight|lang=terminal|code= | ||
| Line 18: | Line 31: | ||
UltraSPARC-IIIi (portid 1 impl 0x16 ver 0x34 clock 1336 MHz) | UltraSPARC-IIIi (portid 1 impl 0x16 ver 0x34 clock 1336 MHz) | ||
}}Disks can be found using the <code>format</code> command.{{highlight|lang=terminal|code= | |||
## Get disk information | ## Get disk information | ||
# /usr/sbin/format | # /usr/sbin/format | ||
| Line 30: | Line 44: | ||
}} | }} | ||
== See Also == | ==See Also== | ||
* https://docs.oracle.com/cd/E23824_01/html/821-1451/gkkwk.html | |||
*https://docs.oracle.com/cd/E23824_01/html/821-1451/gkkwk.html | |||
[[Category:Solaris]] | [[Category:Solaris]] | ||
Latest revision as of 02:01, 24 February 2021
Solaris / SunOS related notes.
Tasks
Service Management
Use the svcadm utility to manage services.
# svcadm enable ssh
# svcs ssh
STATE STIME FMRI
online 18:46:19 svc:/network/ssh:default
Hardware Info
## Get the system ID
# hostid
846102aa
## Get the amount of memory installed
# /usr/sbin/prtconf | grep Memory
Memory size: 4096 Megabytes
## Get CPU information
# /usr/sbin/psrinfo -pv
The physical processor has 1 virtual processor (0)
UltraSPARC-IIIi (portid 0 impl 0x16 ver 0x34 clock 1336 MHz)
The physical processor has 1 virtual processor (1)
UltraSPARC-IIIi (portid 1 impl 0x16 ver 0x34 clock 1336 MHz)
Disks can be found using the format command.
## Get disk information
# /usr/sbin/format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@0,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@1,0