Friday, October 22, 2010

Solaris Commands Reference

to check mem
mdb -k
::memstat


Samba

to check is the Samba service is running
# svcs | grep samba
View state of samba
# svcs samba wins 
 
Stop samba 
# svcadm disable svc:/network/samba
# svcadm disable svc:/network/wins
 
Start samba
# svcadm enable svc:/network/samba
# svcadm enable svc:/network/wins