09-24-2009
Solaris tips and tricks
What do you think could we open new top topic with tips and tricks and to show to other users some tricks what do we know like dtrace , new virtual server , how to add new users etc.
This is only suggestion
5 More Discussions You Might Find Interesting
1. Solaris
hi all...
I need to know, how I can create a log when the user loggin and logout...day and hour....any person help me.....
thank you (7 Replies)
Discussion started by: chanfle
7 Replies
2. UNIX for Dummies Questions & Answers
I have a file which containd a string "old" and I need to replace all old with "new" if and only if it is a string not part of a string like Gold or fold etc.
I tried with sed like below
echo "old gold old" | sed 's/old/new/g'
It doesn't give the desired output, It give "old Gnew new".... (3 Replies)
Discussion started by: siba.s.nayak
3 Replies
3. UNIX for Advanced & Expert Users
I found a decent guide of VI basic tricks. This guide does expect you to have a decent understanding of VI. It does not go over very much beginner related.
vi Manual (3 Replies)
Discussion started by: cokedude
3 Replies
4. Solaris
Hi,
I need general tips for solaris 11 performance optimization.
For example - disable the unused services, etc.
Thanks,
Bhavin (2 Replies)
Discussion started by: bhavin1
2 Replies
5. UNIX for Beginners Questions & Answers
Vim Tips and Tricks
Save and quit
:w => Save
:q => Exit as long as there have been no changes
:q! => Exit and ignore any changes
:wq => Save and Exit.
:x => Exit, saving changes
ZZ => Exit and save changes if any have been made
:10,20w filename => writes the... (34 Replies)
Discussion started by: ungalnanban
34 Replies
LEARN ABOUT OSX
pridist.d
pridist.d(1m) USER COMMANDS pridist.d(1m)
NAME
pridist.d - process priority distribution. Uses DTrace.
SYNOPSIS
pridist.d
DESCRIPTION
This is a simple DTrace script that samples at 1000 Hz which process is on the CPUs, and what the priority is. A distribution plot is
printed.
With priorities, the higher the priority the better chance the process (actually, thread) has of being scheduled.
This idea came from the script /usr/demo/dtrace/profpri.d, which produces similar output for one particular PID.
Since this uses DTrace, only users with root privileges can run this command.
EXAMPLES
This samples until Ctrl-C is hit.
# pridist.d
FIELDS
CMD process name
PID process ID
value process priority
count number of samples of at least this priority
BASED ON
/usr/demo/dtrace/profpri.d
DOCUMENTATION
DTrace Guide "profile Provider" chapter (docs.sun.com)
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver-
bose descriptions explaining the output.
EXIT
pridist.d will sample until Ctrl-C is hit.
SEE ALSO
dispadmin(1M), dtrace(1M)
version 0.90 Jun 13, 2005 pridist.d(1m)