Updates from September, 2009 Toggle Comment Threads | Keyboard Shortcuts

  • levin 4:23 pm on September 20, 2009 Permalink | Reply
    Tags:   

    howto fix/etc/ioconfig /stand/ioconfig inconsistent 

    Boot into single mode

    mv /etc/ioconfig /etc/ioconfig.bak

    mv /stand/ioconfig /stand/ioconfig.bak

    issue “ioinit -c”

    reboot

     
    • lett 9:21 pm on September 11, 2010 Permalink | Reply

      good stuff…thx

  • levin 4:20 pm on September 20, 2009 Permalink | Reply
    Tags: , unix   

    cannot backup >8gb file using tar 

    fbackup and frecover is the solution when old tar program cannot backup file over 8GB.

    here is the convention

    backup to tape device

    tar -cvf /dev/rmt/0m /path/to/backup1 /path/to/backup2

    fbackup -vf /dev/rmt/0m -i /path/to/backup1 /path/to/backup2

    restore from tape device

    tar -xvf /dev/rmt/0m

    frecover -xvf /dev/rmt/0m -i /path/in/fbackup -i /path/in/fbackup

    the -i specify the path your backed up in your tape, it’ll extract it in your current directory.

    useful link:

    http://docs.hp.com/en/B2355-90950/ch06s05.html

     
  • levin 4:14 pm on September 20, 2009 Permalink | Reply
    Tags:   

    hpux: how to boot into single mode 

    interrupt the boot prompt and then enter “hpux -iS”

     
  • levin 1:27 am on August 27, 2009 Permalink | Reply
    Tags:   

    AIX for the System Administrator

    (More …)

     
  • levin 12:51 am on August 27, 2009 Permalink | Reply
    Tags:   

    Solaris for the System Administrator

    (More …)

     
  • levin 11:13 pm on August 26, 2009 Permalink | Reply
    Tags:   

    How to boot system into emergency mode in solaris 

    IA32 system:
    1) At boot, prompt type
    b –s : To boot system into single mode
    b –a : To boot system step-by-step i.e. interactively.

    SPARC System:
    1) At Ok, prompt type:
    boot –s : To boot system into single mode
    boot –a : To boot system step-by-step i.e. interactively

    See also Solaris > How to boot system into emergency mode

     
  • levin 2:05 pm on August 26, 2009 Permalink | Reply
    Tags:   

    spmi: Common Memory locked by process 

    The SPMI (System Performance Measurement Interface) is the interface used by any program that provides performance statistics (topas, nmon, xmperf, etc).

    Steps to recycle System Performance Measurement Interface (SPMI):
    1. Stop all the processes which use the SPMI shared library (xmservd,
    filtd, xmperf, 3dmon, ptxrlog, harmd, topas, any PSSP process)
    2. Run ipcs -m command and check for any segment “KEY” that begins
    ’0×78′, as listed below:
    T ID KEY
    m 0 0xc76283cc
    m 1 0×78002323

    If there are any such segments, make sure the process which uses those
    shared segments is stopped, then run:
    ipcrm -m

    to clear up those shared memory segments.
    3. Run slibclean
    4. Now restart topas, or Performance Toolbox.

     
  • levin 2:32 pm on August 20, 2009 Permalink | Reply
    Tags: ,   

    where can I find tcpdump for solaris? 

    you can find solaris’ tool “snoop” in /usr/sbin

    NAME
    snoop – capture and inspect network packets

    SYNOPSIS
    snoop [-aqrCDNPSvV] [-t [r | a | d]] [-c maxcount]
    [-d device] [-i filename] [-n filename] [-o filename]
    [-p first [, last]] [-s snaplen] [-x offset [, length]]
    [expression]

    (More …)

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel