Friday, April 3, 2009

Learning a Little bit about Truss on OpenSolaris 11 2008

This is some of $man truss

truss - trace system calls and signals.
The truss utility executes the specified command and pro-
duces a trace of the system calls it performs, the signals
it receives, and the machine faults it incurs. Each line of
the trace output reports either the fault or signal name or
the system call name with its arguments and return value(s).
System call arguments are displayed symbolically when possi-
ble using defines from relevant system headers. For any path
name pointer argument, the pointed-to string is displayed.
Error returns are reported using the error code names
described in Intro(3). If, in the case of an error, the ker-
nel reports a missing privilege, a privilege name as
described in privileges(5) is reported in square brackets ([
]) after the error code name.
To know more about System calls type man truss.

Suppose you want to track whats going my terminal window, if you want to do that then open a Terminal window then type
_______________________________
ensilage@ensilage$echo $$
768
ensilage@ensilage$

_______________________________

Then again open another Terminal window then type truss -p 768
if you do some work in the previous Terminal then it will be trace back here ie in the second terminal.
______________________________________________________
ensilage@ensilage$truss -p 768
read(0, 0x08047130, 1) (sleeping...)
read(0, " l", 1) = 1
write(2, " l", 1) = 1
read(0, " s", 1) = 1
write(2, " s", 1) = 1
read(0, "\r", 1) = 1
write(2, "\n", 1) = 1
lwp_sigmask(SIG_SETMASK, 0x00000002, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
ioctl(0, TCSETSW, 0x0810EA08) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
sigaction(SIGINT, 0x08047110, 0x08047170) = 0
sigaction(SIGTERM, 0x08047110, 0x08047170) = 0
sigaction(SIGQUIT, 0x08047110, 0x08047170) = 0
sigaction(SIGALRM, 0x08047110, 0x08047170) = 0
sigaction(SIGTSTP, 0x08047110, 0x08047170) = 0
sigaction(SIGTTOU, 0x08047110, 0x08047170) = 0
sigaction(SIGTTIN, 0x08047110, 0x08047170) = 0
sigaction(SIGWINCH, 0x08047110, 0x08047170) = 0
sigaction(SIGINT, 0x08047104, 0x08047180) = 0
time() = 1238806919
lwp_sigmask(SIG_SETMASK, 0x00020002, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
lwp_sigmask(SIG_SETMASK, 0x00020002, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
lwp_sigmask(SIG_SETMASK, 0x00020002, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
[Output Truncated]
_______________________________________________________________________________

You can refer the image also.

Sunday, March 29, 2009

Learning Solaris SUN courseware for FREE

Do you want to learn SUN's Solaris course without purchasing it.
Somehow Sun Microsystem is the greatest among others. They provide free courseware in every second.
First one is JOIN SAI.
Second One is chk here
https://learning.sun.com/solc/smartstart
you will need to signup for sun sdn free account to access it.
Third One is take free assessment before you begin to SCSSA (Sun Certified Solaris System Administrator)
https://www.suntrainingcatalogue.com/eduserv/starlight/index.jsp
http://www.sun.com/training/certification/assessment/index.jsp
These are some but you can get many thing from sun.
Check their site
www.sun.com

Tuesday, June 3, 2008

Open Solaris Geeks First choice


I have already used Solaris 10 snv_72 built, Ubuntu 8.04 and I likely to be tested for Fedora 9 sulphur but I am shifting for OpenSolaris 2008.05 live CD because for its user interface ready mate software packages for Development.

OpenSolaris 2008.05 live CD turn green light for the upcoming users who are willing to shift from Windows like OS to UNIX like OS which is OpenSolaris live CD. OpenSolaris 2008.05 live CD is the great replacement for Windows users as well as for the beginner and for students like me for loving Unix with OpenSolaris 2008.05 live CD.

So what about you download the OpenSolaris 2008.05 live CD and enjoy the flavor.

Friday, March 14, 2008

Changing the Nautilus Default white look background to a beautiful Background Pictures

Do you want to make your Solaris Operating System, Nautilus File Browser Like This..

Open a Terminal and type
#gconf-editor

It will Open a Configuration Editor. Then Exapnd / -> apps -> nautilus -> prefrences . In the right pane select background_set to true and double click the background_filename to enter the image folder url. eg; /export/home/Wallpapers/par11d.jpg for me then click ok. After you reopen the Nautilus you will surely see like this ----------------------------------------------------->>

You Can Configure Like the image below......
The Highlighted should be filled with this String as given in the follwing image....

After making all the changes close all Nautilus or reopen a Nautilus you will see the image in the background.

Hope it will work for you....

So download Solaris 10 and enjoy the Beauty.

Please Leave a Comment or send an email to me at ensilage@googlemail.com