Recent Tweets

    Elsewhere

     

    February 2010
    S M T W T F S
    « Jan   Mar »
     123456
    78910111213
    14151617181920
    21222324252627
    28  

    Archives

    Getting untruncated command line options passed to a Solaris process

    If you have ever wanted to get the command line options that were passed to a running Solaris process, you might have noticed that the output of command line arguments from ps is truncated to 80 characters. Looking into /usr/include/sys/procfs.h will reveal the reason why! This is because of the restriction in struct psinfo. Here [...]

    Dumping core file from set-UID, set-GID 'ed processes in Solaris

    I had a previous post on how to turn on core files for set-UID, set-GID processes under Linux. Recently we ran into the same problem on Solaris. To turn on core files for set-id processes, use coreadm.

    $ pfexec coreadm -e global-setid

    Please keep in mind that these core files can have information that non-privileged user isn’t [...]

    Random links for week 7

    Last week, I filed my 2009 Federal and State taxes through TurboTax. I found a promotion from Fidelity that offered 25% discount on all TurboTax products. If you are a TurboTax user, you can take advantage of it. You need not be a Fidelity customer to use this promotion. This is not a recommendation or [...]

    Chainloading OpenSolaris from GRUB 2

    I have a triple boot system with OpenSolaris, Ubuntu 9.10 and Microsoft Windows XP. I upgraded my Ubuntu 9.10 GRUB to GRUB 2 today. GRUB2 automatically added an entry for Microsoft Windows XP. However, it didn’t detect the OpenSolaris that was installed. I had to manually configure OpenSolaris chainloading in GRUB 2. If you are [...]

    Enabling virtual consoles in OpenSolaris

    OpenSolaris was lacking virtual console for a while. This support was made available since build snv_124. However, due to various bugs, it is turned off by default. To enable virtual consoles, do the following.

    $ pfexec svcadm enable vtdaemon
    $ pfexec svcadm enable console-login:vt2
    $ pfexec svcadm enable console-login:vt3
    $ pfexec svcadm enable console-login:vt4
    $ pfexec svcadm enable console-login:vt5
    $ pfexec [...]