Archive

Archive for the ‘Sun Solaris’ Category

Reset System Parameter

sys-unconfig

Categories: Sun Solaris

Mount Tape Device

mt -f /dev/rmt/0

Categories: Sun Solaris

Check Swap Size

Swap -s

Categories: Sun Solaris

Check user Quota

quota -v username

Categories: Sun Solaris

Check reboot Information

last -5 reboot

Categories: Sun Solaris

Remove pakage

pkgrm  package name

Categories: Sun Solaris

Sar Utility

Here the folowing the description of  sar utility :

sar -a  Monitor file access
sar -b    Monitor buffer activity
sar -c    Monitor call activity
sar -d     Monitor disk activity
sar -g    Monitor page out and memory
sar -k    Checking kernel memory allocation
sar -m    Monitor Interproses comunication
sar -p    Monitor page-in activity
sar -q    Monitor queue activity
sar -r    Monitoring unused memory
sar -u    Monitoring CPU utilize
sar -v    Monitoring system table
sar -w    Monitoring swap activity
sar -y    Monitoring terminal activity
sar -A    Monitoring overall system performnce

Categories: Sun Solaris

Backup using Tar Command

Following the example backup using tar command :

BACKUP_DATE=`date | sed -e “s/:/_/g” | sed -e “s/ /_/g”`

tar -cvf /logs/backup_WIRELESS2/backupWIRELESS2_$BACKUP_DATE.tar /apps/firsthop/ /logs/log

compress /logs/backup_WIRELESS2/*.tar

Categories: HP-UX Article, Sun Solaris

SCP Command

scp nama_file  dest_host:/dir_location/

Categories: HP-UX Article, Sun Solaris

Check Routing

- ifconfig -a

- netstat -rn

- traceroute ipAddress

Categories: HP-UX Article, Sun Solaris