Sunday, 9 January 2011
When working with vendor on performance issue, this tool will be required.
Be careful don't run it during business hours, performance degradation will go.
Guds is a script to gather performance stats for Solaris.
Sample usage is
./guds_2.4.5 -qX -H3 -s65040465
-qX is for quite mode
-H3 is for running it for 3 hours
-sNNNNN is the sun case number (info embeded in dirs created by guds to
store the files).
It collects lots of info in /var/tmp/CASEID/guds-DATE-TIME/…
Thursday, 26 August 2010
usermod -K project=projname username
If want to give permission(newtask -p projname) to use but not to make the default one, then
projmod -U username projectname
Wednesday, 25 August 2010
/usr/sbin/fssnap and /usr/lib/fs/ufs/fssnap !
The difference is that the second one shows more detailed information :
$/usr/sbin/fssnap -i /usr
$/usr/lib/fs/ufs/fssnap -i /usr
Snapshot number : 0
Block Device : /dev/fssnap/0
Raw Device : /dev/rfssnap/0
Mount point : /usr
Device state : idle
Backing store path : /export/snapshots/snapshot0
Backing store size : 864 KB
Maximum backing store size : Unlimited
Snapshot create time : Mon Aug 23 22:50:06 2010
Copy-on-write granularity : 32 KB