Zlogin
To connect to the console of a Solaris 10 zone called testzone, use the following command as root or the equivalent on the global zone: zlogin -C testzone
The -C option specifies a console login. The console login will persist when the zone is rebooted.
To exit zlogin, use the escape sequence ~. on a new line (the tilde must follow a carriage return, not any other character). If this escape character is inappropriate (because you are connected using software like tip that also uses this escape sequence), you can specify a different escape character on the command line. For example, to use the @ symbol, use:
zlogin -C -e @ testzone
To Restart the SSH Service
- Login to the command-line terminal
- Run the command:
svcadm restart svc:/network/ssh:default
or
The command to restart sshd service in Solaris is :
Usage: /lib/svc/method/sshd { start | restart }
Commands to check status
busstat
cachefsstat
ctstat
fsstat
iostat
kstat
lpstat
mailstats
mpstat
netstat
nfsstat
poolstat
pppstats
prstat
rcapstat
smbstatus
uustat
vmstat
No comments:
Post a Comment