Sunday, September 21, 2008

Solaris 10 How to stop start automountd

# svcs | grep auto
legacy_run Oct_24 lrc:/etc/rc2_d/S72autoinstall
online 17:31:10 svc:/system/filesystem/autofs:default
To stop
# svcadm -v disable svc:/system/filesystem/autofs:default
To start
# svcadm -v enable svc:/system/filesystem/autofs:default

No comments:

UNIX: How to print column nicely using printf

[user@hostfwnms1-oam tmp]# cat b.sh printf "%-26s %-19s %-8s %-8s %-s %-s\n" HOSTNAME IP PING SNMPWALK 0-ok 1-fail for i in `cat n...