09-21-2009
Yep but the problem is that i do not have any idea on Dtrace and tried to look for it on google but didn't find much help
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
How do i get the swap space used and cpu usage for a particular application ?
thanks
una (2 Replies)
Discussion started by: una
2 Replies
2. UNIX for Advanced & Expert Users
I've been trying to write a monitor program that gets various values on the processes running and makes reports. One of the values that I wanted to monitor was swap usage, so that we can ensure that our swap space doesn't fill up, but I can't seem to get this number (on a per-process basis) from... (7 Replies)
Discussion started by: bukzor
7 Replies
3. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
4. HP-UX
Hi,
Hoping someone may be able to help with some general guidance. Hope I've posted this in the right forum!
I hava DEC Workstation running OSF/1. It's will run for a period of time then slow down to the point it becomes unusable. Then i have to reboot and the whole thing repeats. I... (1 Reply)
Discussion started by: emeak
1 Replies
5. Shell Programming and Scripting
Hi All,
I am trying to automate some stuff to make my 'to-do-things' easier. I am in need for help regarding this.
I have an output
root 17187 3465 0 23:00:00 ? 0:01 Process1
root 4975 4974 0 May 12 ? 0:00 Process2
root 4042 16713 0 Jan 30 pts/22 0:00... (4 Replies)
Discussion started by: reddybs
4 Replies
6. UNIX for Dummies Questions & Answers
hi!
i wrote this script(ubuntu os):
clear
echo "number of running processes"
ps -ef | wc -lbut i can't get the number of my currently running processes...
is there a way to see HOW MANY processes are running to my system?
---------- Post updated at 11:20 PM ---------- Previous update... (2 Replies)
Discussion started by: strawhatluffy
2 Replies
7. HP-UX
Hello; trying to find processes older than n days, mostly user shells Tried the following code on 11.31 box: in this case older than 5 days
UNIX95= ps -ef -o user,pid,ppid,cpu,etime,stime | grep "-" | awk '{print $2}' | xargs ps -ef|grep -v '?' |\
awk '$5 !~ ""' | awk '($5 ~ "$(date "+%b")")... (6 Replies)
Discussion started by: delphys
6 Replies
8. Solaris
Hi
We have 2 identical T4-1's running Solaris 10 8/11 patched to 07/2012.
Both have 8G of swap allocated on the zfs root pool however a swap -s on one server shows 8G of swap available but on the other shows between 60 and 115G of swap available.
Both servers have the same amount of... (6 Replies)
Discussion started by: gregsih
6 Replies
9. Red Hat
Hi ,
There is one following alert .
Message : cdm:Average (2 samples) swap memory usage is now 91%, which is above the warning threshold (90%)
Here is my findings.
Output of TOP command in Linux server.
top - 14:21:44 up 6 days, 4:48, 1 user, load average: 2.55, 2.06,... (3 Replies)
Discussion started by: Maddy123
3 Replies
10. Red Hat
Hi
the version is RedHat 6.2 (Oracle DB server)
I don't know why swap memory usage keeps increasing...
I used to check swap memory usage Free -m and another way.
total used free shared buffers cached
Mem: 32183 31861 322 ... (3 Replies)
Discussion started by: tom8254
3 Replies
IMPTRACE(1) BSD General Commands Manual IMPTRACE(1)
NAME
imptrace -- report importance donation events in real time
SYNOPSIS
imptrace [-i [-s]] [-p pid] [-d]
DESCRIPTION
The imptrace utility displays a trace of importance donation events. Importance donation is used by adaptive jobs on the system to manage
their priority on the system. See xpc_transaction_begin(3) and launchd.plist(5) for more information about the mechanism and its use.
The options are as follows:
-i Show internal kernel boosts
-s Show stacks for internal boosts.
-p pid Limit events to the process identified by pid.
-d Display raw Dtrace output; do not reformat timestamps and sort output.
The traced events are as follows:
BOOSTED The specified process has received a boost and transitioned out of the background.
UNBOOST The specified process has dropped its last remaining boost and transitioned back into the background.
Recv Boost The specified process has received a boost and accepted ownership of that boost in userspace, usually by dequeuing the boost-
ing message.
Drop Boost The specified process has dropped a boost.
____ Int Boost Internal boost events are only emitted when tracking of kernel internal boosts is activated with the -i option. Their use and
meaning is subject to change and dependent on the implementation details of importance donation.
EXAMPLES
The imptrace script will output one line for each event, for example a typical boosting exchange might look as follows:
0000:00:00.000000000 EVENT PROCESS BOOSTS NOTES
0023:15:13.844332886 BOOSTED 22:configd
0023:15:13.844372519 Recv Boost 22:configd 1 from 275:SystemUIServer
0023:15:13.844497860 UNBOOST 22:configd Boosted for 0 ms
0023:15:13.844509452 Drop Boost 22:configd 0
In this case, SystemUIServer (PID 275) has sent a message to configd (PID 22) which caused it to be boosted. configd then dropped the boost
causing it to be become unboosted and return to background state. Boosted and unboost events may appear before the triggering recv or drop
boost.
NOTES
imptrace is implemented using Dtrace. For information about the probes used, see comments in the imptrace source. When debugging an adap-
tive service, it may be helpful to combine these probes with other Dtrace providers; however, they should be considered unstable.
OS X
May 01, 2013 OS X